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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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   783 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 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.

Avatar
DairyPrincess

Community Member, 8 Posts

27 January 2013 at 8:47pm

thank you,
I'll try that out :)