I am trying to follow this procedure to make mobile versions of my sites:
http://www.i-do-this.com/blog/14/Make-y ... bile-ready
Site #1: I began with an site that has an outdated version of CMSMS, 1.9.4.2. Everything worked great.
I was able to create a new content block ("mobile") and when editing pages, the two content blocks were there to edit. When viewing on mobile, the content from the new content block displayed and when viewing on CPU, the regular content displayed. Awesome. But I don't know why in admin, under Global Content Blocks, the only content block listed there is the footer. (???)
Site #2: I repeated the procedure on a site with 1.11.1. When I create a content block, it is listed in Admin with the footer content block. But when I edit pages, there is only once content block, my new one is not there. Of course when I add content to the new block that is listed in Admin - Global Content Blocks, that content shows up on the test page (via mobile). The regular content is displayed via CPU - great. But I will obviously want different content for each page. By the way the styles do load on the CPU from the regular stylesheet. With my handheld the styles from the "mobile" stylesheet are indeed different, very happy with that.
I must not understand Global Content Blocks well enough - I don't understand why in the older version the new block isn't listed but shows up when editing the pages and in the newer version it's listed along with the footer content block yet doesn't show up when editing the pages. Only ONE content block is there, the default one!!
By the way I have to use this code (name the exact content block):
</head>{if $mobiletemp}
</__body>
<div id="mobilepagewrapper">
{sitename}
<div id="mobilemenudiv">
{menu template='mobilemenutemplate'}
</div>
<div id="content">
{global_content name='Content-MobileTestPage'}
</div>
</div>
{else}
</__body>
<div id="pagewrapper">
ETC...
[solved] CMSMS Mobile Ready - Missing Content Blocks
- blackhorse
- Forum Members

- Posts: 17
- Joined: Sun Jun 26, 2011 10:03 pm
[solved] CMSMS Mobile Ready - Missing Content Blocks
Last edited by blackhorse on Wed Oct 10, 2012 3:04 am, edited 1 time in total.
Re: CMSMS Mobile Ready - Missing Content Blocks
I don't see anywhere on that page where it uses global content blocks...
Global content blocks are only be editable under content > global content blocks never when editing a page...
I think you used a {content block='mobile' label='For Mobile Content only'} on the first site which will show up on every page when you edit it and not in the second site...
Look under extensions > tags for content and it's Help page for all parameters it uses...
Global content blocks are only be editable under content > global content blocks never when editing a page...
I think you used a {content block='mobile' label='For Mobile Content only'} on the first site which will show up on every page when you edit it and not in the second site...
Look under extensions > tags for content and it's Help page for all parameters it uses...
- blackhorse
- Forum Members

- Posts: 17
- Joined: Sun Jun 26, 2011 10:03 pm
Re: CMSMS Mobile Ready - Missing Content Blocks
Thanks, you are right! I didn't know there were two - content and global content! Now I see that in the wiki, completely missed it.
Thanks again
Thanks again

