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


3 Posts   348 Views


24 January 2013 at 11:32pm Community Member, 8 Posts

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?



25 January 2013 at 5:49am Community Member, 189 Posts

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=]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.


27 January 2013 at 8:47pm Community Member, 8 Posts

thank you,
I'll try that out :)