Subject: Re: xcGallery by Mark Boyden on 2010/6/1 21:50:20
Sorry, I didn't provide a downloadable fix, I only provided the info in these messages.
DOUG: Editing a template in my directory using NoteTab Light.. then uploading back to the system.
DOUG: OH! .. Making sure I have this correct .. if I do an change to a template, I have to update?
So I would go and make a new module for the current one? and do an update? ..
Correct. There are two methods, realistically. OK, maybe three.
1. The really old way: update the file in templates (as you have done); update the module
2. Create a custom set of templates in the templates area. You do this by cloning the default set. Then, you can go into the system preferences and choose the template set you want to use (sort of like how themes are done). You can then edit these individually in the templates area.
3. Use the AltSys module from GIJoe which allows for much better management of blocks and templates IMHO. In the templates area it allows you to manage sets of templates and copy and replace and such real easily as well as compare the various versions and such. As you get into modifying templates in modules you'll really want to have this module. I'll note the blocks management in 2.5.0 of XOOPS is very promising, but it won't necessarily do everything this module does. I have an article on that module in here as well - purely administrative, but necessary.
Notes: However, with the changes I proposed that you have already made, updating the module with take care of the moment for you because it gets written to the default set whenever you update which is what the system uses. However, if you make ANY changes to templates, to make sure you don't lose them, clone the default set and then set the preferences to use the new set because if you update the module in the future, you will lose those updates.
Clear as mud?
|