1
phillipd
Reserved words for templates???
  • 2005/1/19 23:32

  • phillipd

  • Quite a regular

  • Posts: 219

  • Since: 2004/4/20


I created an admin template called main.html and was having a terrible time getting it to work properly. I then renamed it in xoops_version, my code, etc to darmain.html and everything started working properly. After everything was debugged and 100% working, I went back to the main.html name for that template and it all went to hell again. Are there any reserved names for templates?

Thanks

Doug P

2
Dave_L
Re: Reserved words for templates???
  • 2005/1/20 0:29

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


There could be a name-conflict with another template. Template filenames should be prefixed with the module name.

Examples:

system_userform.html
news_item.html
newbb_viewforum.html

Login

Who's Online

254 user(s) are online (155 user(s) are browsing Support Forums)


Members: 0


Guests: 254


more...

Donat-O-Meter

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

Latest GitHub Commits