Page 1 of 1

CMS Made Simple & Cataloger

Posted: Sun Sep 09, 2012 4:15 am
by ventano
Cataloger Module now dropped so Solved.
Hi,

I am running cms version 1.10.3 with cataloger 0.11and lightbox 1.0.1 installed.

I have 15 items per catagory page. Currently, each time you click on an item it navigates to a new page with a larger image. I would like it that instead, it opens up a lightbox window instead.
I would like to know where would I insert the rel=lightbox or {lightbox} command (I am not sure which I would use) ??? in the Category-CSS-based page to have the images open in lightbox as opposed to a new page. CSS for catagory page is listed below,

Code: Select all

<h1>{$title}</h1>
{section name=numimg loop=$image_url_array}<img src="{$image_url_array[numimg]}" alt="{$title}" title="{$title}" />{/section}
{$notes}
<div class="category_items">
   {if $hasnav == 1}
<div class="catnav">{$prev}{$navstr}{$next}</div>
	{/if}
    {section name=numloop loop=$items}
        <div class="category_item"><a href="{$items[numloop].link}"><img src="{$items[numloop].image}" title="{$items[numloop].title}" alt="{$items[numloop].title}"/></a><br /><a href="{$items[numloop].link}">{$items[numloop].title}</a></div>
    {/section}
    {if $hasnav == 1}
{* 
The number that is without a link (a href) have a <span class="nolink" ) have a look in source code-html
*}
<div class="catnav">{$prev}{$navstr}{$next}</div>
	{/if}
</div>
I have managed to get this to work using the {lightbox} command on the items page page ;D , but just can't work out how you woulod do this on the Catagory page ??? , thanks in advance,

Ven Tano