• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC

Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Feature Idea - TEMPLATE=X parameter for overriding template
PostPosted: Thu Oct 20, 2011 1:04 pm 
Power Poster
Power Poster
User avatar

Joined: Wed Aug 15, 2007 8:51 pm
Posts: 561
Location: Nairobi, Kenya
CMSMS has a very handy parameter SHOWTEMPLATE=true/false. It makes AJAX applications much simpler and faster.

I've been looking for a way to serve a different template to mobile devices - I mean a completely different template.

I understand how to detect mobile and serve a different markup based on {if}{else}{/if} logic.

But being OCD, I like to keep my templates separate for the sake of maintainability.

Does anyone else think it would be a good idea to add a TEMPLATE=[template id or name] parameter to the core?

Would it add too much overhead, slow down the performance?

It seems like everything in CMS Made Simple is customizable and over-rideable, except which template is served with the page.

Why not?

Here are a few threads which show how to detect and serve special css/markup to mobile:



Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC

Who is online

Users browsing this forum: No registered users

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
A2 Hosting