Displaying Cataloger Items on home page

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
climberusa
Forum Members
Forum Members
Posts: 126
Joined: Sun Feb 26, 2006 7:10 pm

Displaying Cataloger Items on home page

Post by climberusa »

I've used the cataloger module quite a few times but have just found the need to do somehting I've never done before. I'm trying to display a list of items from my 'catalog' on the home page in the form of a drop down list. The problem, I think is that the home page is not the parent of the catalog items. Is there a way to access items outside of the hierarchy?

Here is my template:

Code: Select all

<select name="bod" id="bod">
{section name=numloop loop=$items}
<option value="{$name}">{$name}</option>
{/section}
</select>
right now I'm just getting an empty select box.

I appreciate any help.

Thanks!
stopsatgreen
Power Poster
Power Poster
Posts: 322
Joined: Sat Feb 04, 2006 1:24 am

Re: Displaying Cataloger Items on home page

Post by stopsatgreen »

Sorry for the very late reply, I've only just seen this. I think the code you need is:

Code: Select all

<select name="bod" id="bod">
{section name=numloop loop=$items}
<option value="{$items[numloop].title}">{$items[numloop].title}</option>
{/section}
</select>
Post Reply

Return to “CMSMS Core”