Latest News + How to add new template layout?
- Posted by Dima (6) Offline
Hello all!
Please help! I created a new file and copy to tmpl folder. But in the list of template layout I can see just 1 template layout "default". How I can add my own template layout and seeing him in the list of template layout?
Thanks, Dima
9 years 1 week ago #1
by Dima
Please help! I created a new file and copy to tmpl folder. But in the list of template layout I can see just 1 template layout "default". How I can add my own template layout and seeing him in the list of template layout?
Thanks, Dima
Please Log in or Create an account to join the conversation.
- Posted by TemplatePlazza (5310) Offline
Hi DIma, simply duplicate the fileinto
9 years 6 days ago #2
by TemplatePlazza
modules/mod_latestnewsplusdate/tmpl/default.php
modules/mod_latestnewsplusdate/tmpl/mylayout.php
Please Log in or Create an account to join the conversation.
- Posted by Dima (6) Offline
I did this, but in the list of Alternative Layouti see just 1 Layout - "default"
Joomla! 3.5.1
9 years 6 days ago #3
by Dima
Joomla! 3.5.1
Please Log in or Create an account to join the conversation.
- Posted by Dima (6) Offline
- Posted by TemplatePlazza (5310) Offline
Do not use underscore for your template name. Use dash instead, for example, you can change the file name from date_news.php to date-news.php
9 years 5 days ago #5
by TemplatePlazza
Please Log in or Create an account to join the conversation.
- Posted by Dima (6) Offline