![]() |
Okay, I Give Up. Using variables/template logic in my CMS Grid breaks grid output.
I'm trying to come up with a way to display certain content on the home page, that doesn't show up elsewhere in the CMS.
I found a tip on utilizing a hack to check if the nodeID is 1, and it works well. The problem is, I can't edit my Grid's HTML and put in a conditional to check it. When I put in a variable or an if statement, the grid stops parsing data. Code:
<div id="doc3" class="yui-tvb-r3"> $column[1] $column[2] $column[3] $column[4] $column[5] I take out the if, and it works again. I put in {vb:raw vbulletin->nodeid} to see if it outputs the id, and it goes back to being broken. Is what I'm trying to do just not possible? |
It probably doesn't like that you are saying "if condition x, then show columns 1 and 2, else show columns 3 & 4". I think you mess stuff up if you only try to show some of them. (And what do you see in the layout editor with something like this?)
Perhaps you'd do better to put the condition around the widget templates themselves? |
All times are GMT. The time now is 03:50 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|