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.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Modifying Mobile Themes


Reply


3 Posts   378 Views

Avatar
DairyPrincess

Community Member, 8 Posts

24 January 2013 at 11:32pm

I installed the mobile module and I'm currently using blackcandymobile as my mobile theme
Is there a way to include codes?
I'd like to limit the number of children to be shown in the mobile version
Should I create new templates for each page?
What is a good way to do this?

thanks,

Avatar
copernican

Community Member, 189 Posts

25 January 2013 at 5:49am

Hi DairyPrinces

I'm not really understanding the question. What do you mean by "a way to include codes"?

you can edit the templates in the blackcandymobile theme any way you want. If you want to use custom functions in your mobile theme just add them to your .php classes in mysite/code.

I'd also recommend looking into [url=http://en.wikipedia.org/wiki/Responsive_web_design]responsive web design[/url] as an alternative to using the mobile module. It can be argued which method is better (responsive vs dedicated mobile) but imo, responsive is the way to go.

Avatar
DairyPrincess

Community Member, 8 Posts

27 January 2013 at 8:47pm

thank you,
I'll try that out :)