View Single Post
  #4  
Old 10-28-2008, 12:28 AM
  Yurij's Avatar 
Yurij Yurij is offline
Banned
 

X-Adept
  
Join Date: Jan 2008
Posts: 486
 

Default Re: Add module to catagory view

Quote:
Originally Posted by ibit-matt
Thanks for the reply I have added the module to the catagory page See screenhot attached.

The code in the module is the following

Code:
{* $Id: categories.tpl,v 1.1.2.34 2008/05/26 07:35:16 max Exp $ *} {capture name=menu} <h1>Test</h1> {/capture} { include file="menu.tpl" dingbats="dingbats_categorie.gif" menu_title=$lng.lbl_categories menu_content=$smarty.capture.menu cellpadding=$fc_cellpadding}

I want the custom module to have the title What else do I need? Also remove the folder icon

The code above is taken from my custom catagoris block on the homepage what do I need to change to get what I need please?


Also how do I make this module show up on certain catagories not all of them?


You better use next construction with "dialog.tpl".

PHP Code:
{capture name=dialog}

  <
h1>Test</h1>


{/
capture}
{include 
file="dialog.tpl" title="This is title..." content=$smarty.capture.dialog extra='width="100%"'
Reply With Quote