CGContent Utilities and GCB Selector

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
cpansewicz
Forum Members
Forum Members
Posts: 142
Joined: Fri Jun 17, 2011 12:22 am

CGContent Utilities and GCB Selector

Post by cpansewicz »

I am posting yet another smarty related question.

In CGContent Utilities, I created a GCB Selector field to choose content from some Global Content Blocks that I created.

I added that to my template and assigned a variable to it (see below).

{content_module module='CGContentUtils' block='Contact-Box' name='Contact-Box' label='Contact-Box' assign='contactbox'}
{$contactbox}

What this renders though is the actual name of the Global Contact Box, and not the contents of the Global Content Box. What am I doing wrong?

Thank you.
applejack
Power Poster
Power Poster
Posts: 1014
Joined: Fri Mar 30, 2007 2:28 am
Location: London

Re: CGContent Utilities and GCB Selector

Post by applejack »

If the GCB is passed via block='Contact-Box' try using double quotes block="Contact-Box"
cpansewicz
Forum Members
Forum Members
Posts: 142
Joined: Fri Jun 17, 2011 12:22 am

Re: CGContent Utilities and GCB Selector

Post by cpansewicz »

Duh, I know now what I am supposed to do with this. It returns the name of a GCB, so I can put that into my template.

The double quotes weren't the issue, but thank you for responding.
Post Reply

Return to “Modules/Add-Ons”