Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Styling pages using the mobile module


Reply


3 Posts   404 Views

Avatar
Tigerlilly

Community Member, 16 Posts

29 October 2012 at 3:06pm

Hi there

I have installed the mobile module and it is working really well, I am just confused as to how I would create individual templates for the pages when they are shown on the mobile? It seems it just reads the page template and not the extended pages. For example the home page on the full site is using the homepage.ss template but if I add homepage.ss to my mobile theme it doesn't work.

Please can somebody help me as I have quite a few different page templates to accommodate.

Thanks in advance
Denise

Avatar
Willr

Forum Moderator, 5513 Posts

2 November 2012 at 11:37am

The mobile module if I'm not mistaken allows you to use a different theme directory for mobile. So you would have themes/yourtheme for desktop and themes/mobilethemename for mobile. Make sure the configuration is set up in the settings tab for mobile to use the mobilethemename.

After adding any new templates much sure you've ?flush=1.

Avatar
Tigerlilly

Community Member, 16 Posts

2 November 2012 at 1:32pm

Gosh I did try that but was obviously cacheing!! thanks so much for your response it seems to be working now.

Cheers
Denise