From: SourceForge.net <no...@so...> - 2012-08-15 11:20:29
|
Bugs item #3556906, was opened at 2012-08-13 03:46 Message generated for change (Comment added) made by jagibu You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=430840&aid=3556906&group_id=41586 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Core - Core Group: XOOPS 2.5.x Status: Open Resolution: None Priority: 5 Private: No Submitted By: irmtfan (irmtfan) Assigned to: Nobody/Anonymous (nobody) Summary: template set is not updated based on template file Initial Comment: I can see that template set (default and customs) will not updated in the database when you change the template files for a module (in upgrade) and do everything like this: - update the module - clear caches using admin -> system-> maintenance - set template overwrite to yes with alysys i can see templates and update them in the databse. IMO Altsys should be added in the next xoops version as optional module. OR better if you change that system -> templates to work like Altsys (show all templates (files and databases) ) and can be copy the template files into the database. ---------------------------------------------------------------------- Comment By: Jagibu (jagibu) Date: 2012-08-15 04:20 Message: NO - now we dont need db:file.html and online template manager based on import from mysql. Templates are for designers. They change template.html and should see the effect without any template manager operation and system CMS knowledge. In this moment I don't know ( without check) from where SMARTY take file 1. direct from module/templates/file.html 2. themes/Your_theme/ modules/module_name/file.html ( good idea - all site vision in one place ) 3. db:file.ftml ---------------------------------------------------------------------- Comment By: irmtfan (irmtfan) Date: 2012-08-15 02:33 Message: [quote] Templates Manager -> Forced file generation > All modules -> report OK [/quote] The above will just create html template files in themes/YOUR_THME folder which you can create them manually. IMO the current template manager do nothing. we should have something like Altsys but with more GUI options. ---------------------------------------------------------------------- Comment By: Jagibu (jagibu) Date: 2012-08-13 08:41 Message: I have the same problem, Templates Manager -> Forced file generation > All modules -> report OK but NO effect. ( Template overwrite set YES ). Not funny is that template file changes works sometimes without Template Manager and steps - update the module - clear caches using admin -> system-> maintenance Why? no direct SMARTY from var but from db like this ?: <{include file="db:xfguestbook_item.html" msg=$msg[i]}> include path/template_file.html must work and always update ;) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=430840&aid=3556906&group_id=41586 |