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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

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

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

Modifying Mobile Themes

Go to End

3 Posts   718 Views


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?



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 responsive web design 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.


Community Member, 8 Posts

27 January 2013 at 8:47pm

thank you,
I'll try that out :)