Jump to:

10928 Posts in 2612 Topics by 1809 members

All other Modules

SilverStripe Forums » All other Modules » Styling pages using the mobile module

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 340 Views
  • Tigerlilly
    Avatar
    Community Member
    16 Posts

    Styling pages using the mobile module Link to this post

    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

  • Willr
    Avatar
    Forum Moderator
    5482 Posts

    Re: Styling pages using the mobile module Link to this post

    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.

  • Tigerlilly
    Avatar
    Community Member
    16 Posts

    Re: Styling pages using the mobile module Link to this post

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

    Cheers
    Denise

    340 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.