Instructions
Permalink
I have another question...
If my theme has a lot of instructions can I insert a txt file into the theme folder? In this way the instructios can be reach?
For example...
I have a instruction.txt file and I put it into my theme directory.
The file should be reach with this URL:
http://www.sitename.com/cms/themes/theme_name/instruction.txt...
If my theme has a lot of instructions can I insert a txt file into the theme folder? In this way the instructios can be reach?
For example...
I have a instruction.txt file and I put it into my theme directory.
The file should be reach with this URL:
http://www.sitename.com/cms/themes/theme_name/instruction.txt...
with 5.5 you can make an install.php which is shown to the user, it can contain a form with options aswell
?!?
I can create a file (php) which is shown during the installation?
Where is the documentation of it?
I can create a file (php) which is shown during the installation?
Where is the documentation of it?
Fxxxx,
I needed this as well and after going through the code a little bit, found a function called hasInstallNotes in concrete/models/package.php which checks for a file called install.php in your package.
I don't know if you can provide instructions if you have a theme by itself, but if you put your theme in a package, you can use that file.
Here's how your package structure should look:
packages
--|your_package|
----controller.php <- This is where you'll install your theme.
----elements
------dashboard
--------install.php <- Put your instructions in this file
----themes
------|your_theme| <- This is your theme folder
Here's how you can install your theme from a package:
http://www.concrete5.org/community/forums/customizing_c5/package-in...
I needed this as well and after going through the code a little bit, found a function called hasInstallNotes in concrete/models/package.php which checks for a file called install.php in your package.
I don't know if you can provide instructions if you have a theme by itself, but if you put your theme in a package, you can use that file.
Here's how your package structure should look:
packages
--|your_package|
----controller.php <- This is where you'll install your theme.
----elements
------dashboard
--------install.php <- Put your instructions in this file
----themes
------|your_theme| <- This is your theme folder
Here's how you can install your theme from a package:
http://www.concrete5.org/community/forums/customizing_c5/package-in...