How to name a menu templates with the .tpl extension ?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
Didjeko
New Member
New Member
Posts: 4
Joined: Wed Sep 12, 2012 10:16 pm

How to name a menu templates with the .tpl extension ?

Post by Didjeko »

Hi
I use cmsms V1.11
I have a very little problem when creating a menu template : cmsms does not allow me to end the name with ".tpl".
My template works well when I call it for my menu wthout the extension of course, but I would like it to be a ".tpl" just in order to be clearer and identical to the others (yes, I'm a programmer ;D ). How can I achieve that ?
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1973
Joined: Mon Jan 29, 2007 4:47 pm

Re: How to name a menu templates with the .tpl extension ?

Post by Jo Morg »

Didjeko wrote:cmsms does not allow me to end the name with ".tpl".
That's because the templates you create will be saved on the cmsms DB as a record instead of being saved as a file. The menu templates that end with the tpl extension are files and can be imported into the DB.
HTH
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Locked

Return to “CMSMS Core”