What is the best way to setup a development environment for the purpose of testing plugins with default (luna) templates?
For example:
I want to keep "luna" templates as a virgin setup and have my own templates set called "terra".
In this case, do I just duplicate the "luna" folder and rename it to "terra"?
Also would need to change references in css to point to "terra" template folder rather than luna.
Or better yet might be to put a complete set of luna templates into the default/local template set, thus overriding ALL of the 2.x templates with customized 3.x luna set.
Are there exactly the same files in a 2.x set and a 3.x set? This might be necessary for this method to work.
Please advise on the best way to set this up. I want to be able to just "switch" from virgin luna to my default set, back and forth during testing. I have no use at all for the 2.x templates. Can "luna" be made the "default"?
It makes a difference on installer too, like where to put the language.txt file?
# my $selected_dir = "$CFG->{admin_root_path}/templates/$CFG->{default_template_set}";
my $selected_dir = "$CFG->{admin_root_path}/templates/luna";
Thank you,
Chris
RGB World, Inc. - Software & Web Development.
rgbworld.com
For example:
I want to keep "luna" templates as a virgin setup and have my own templates set called "terra".
In this case, do I just duplicate the "luna" folder and rename it to "terra"?
Also would need to change references in css to point to "terra" template folder rather than luna.
Or better yet might be to put a complete set of luna templates into the default/local template set, thus overriding ALL of the 2.x templates with customized 3.x luna set.
Are there exactly the same files in a 2.x set and a 3.x set? This might be necessary for this method to work.
Please advise on the best way to set this up. I want to be able to just "switch" from virgin luna to my default set, back and forth during testing. I have no use at all for the 2.x templates. Can "luna" be made the "default"?
It makes a difference on installer too, like where to put the language.txt file?
# my $selected_dir = "$CFG->{admin_root_path}/templates/$CFG->{default_template_set}";
my $selected_dir = "$CFG->{admin_root_path}/templates/luna";
Thank you,
Chris
RGB World, Inc. - Software & Web Development.
rgbworld.com