Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 05 Aug 2012, 09:09
hqarrse hqarrse is offline
 
Join Date: Mar 2010
Displaying CMS Widgets in the Mobile Style - Really stuck on how to do this!

I can't find a way to show CMS widgets in the standard VB4 mobile style.

Before I started digging deeper I did this:

- Made a single column grid/layout and added a recent posts widget below the main content
- Set the section for my mobile front page to use the layout
- Copied the template vbcms_widget_recentposts_page in to the mobile theme

Looking at the debug of a normal style page generation I can see that the sequence of templates is:

vbcms_content_article_page
(1)vbcms_grid_12
(1)vbcms_page
(1)vbcms_widget_column <-- not rendered in mobile style
(1)vbcms_widget_recentposts_page

When the mobile style is used, the debug is not shown, but by altering templates, I found that vbcms_widget_column and below is not rendered.

I then searched the file system for references to the mobile style (has an abnormal parentid of -2 which I thought might be the key. Seemingly not) or some sort of conditional to render the widget templates or otherwise but with no success. I just cannot find a conditional for style that affects CMS page rendering.

If anyone can shed any light on why widgets aren't rendering in the mobile style I'd be really grateful!
__________________
using VB 4.2.1 on the Army Rumour Service, CentOS 6. VBSEO 3.6.0
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 19:49.

Layout Options | Width: Wide Color: