sahayarex / simpletheme

A simple theme for drupalgap with panel slide effects
0 stars 4 forks source link

Default Regions and Blocks #1

Open signalpoint opened 10 years ago

signalpoint commented 10 years ago

It would be nice if the README had an example code block to show a good default regions and blocks config.

ice423cube commented 10 years ago

It at least should state that you have to duplicate the drupalgap.settings.blocks.easystreet3 theme block and rename it to drupalgap.settings.blocks.simpletheme so you don't get white screen of death. The error you get when you don't have this is "WARNING: drupalgap_render_region() - there are no blocks for the "simpletheme" theme in the settings.js file! "

halmsx commented 9 years ago

thanks for sharing this. but not working fer me

ice423cube commented 9 years ago

I would try changing page.tpl.html line 1 from <div id="{:drupalgap_page_id:}" data-role="page" class="{:drupalgap_page_class:}"> to <div {:drupalgap_page_attributes:}>.

I found this info here Create a Custom Theme http://www.drupalgap.org/node/121 #3 as long as you are using the Latest dev snapshot use this (as of 2014-09-25).

signalpoint commented 9 years ago

@halmsx @sahayarex The page.tpl.html file needs to be updated on this theme:

https://github.com/sahayarex/simpletheme/pull/2/files

See the link above for the new syntax, and please accept the pull request @sahayarex , thank you.