1
deka87
templates edit
  • 2008/5/6 12:34

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


hi,

i have troubles editing modules' block templates.
for example i have a MOST VISITED ADS block on my homepage and I need to change it a little bit, add some words etc. i do edit the html code of the template of the block but it doesnt affect it at all. whats wrong?
Mind anchors

2
stefan88
Re: templates edit
  • 2008/5/6 13:24

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Hi,

If you edit the files, you need to update the module after that (from admin -> modules menu) and maybe clear the template cache (delete all files in templates_c folder except for index.html).

As alternative you can edit templates in database. To do that you need to clone the default template set in admin templates menu. The you need to tell XOOPS to use that new template set as default. And you will have option to edit templates from the XOOPS admin menu in templates section. You still will have to clear the templates cache.

Or you can use template override in XOOPS 2.0.14+. There was an article in the news explaining that...

..

3
deka87
Re: templates edit
  • 2008/5/6 18:28

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


Thanks, man. I've found the topic about templates overriding. hope it's gonna help me to go about templates and all cheers,

jeka
Mind anchors

Login

Who's Online

130 user(s) are online (62 user(s) are browsing Support Forums)


Members: 0


Guests: 130


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits