Home Learn More Purchase Knowledge Base Support Contact

Community Forums

Forum » KBPublisher General discussion

Template problems

(4 posts)

  1. mike
    Member

    Can someone tell me where I can find the menu items? I would like to add another to the top menu block. So, instead of the usual 4 items:

    Knowledgebase, Downloads, Glossary, Ask a Question

    I would like to add a fifth one:

    Videos

    Unfortunately, I can not seem to locate where the menu items are defined nor the number of menu items. Please help!!

    The closest I've gotten so far is with the client\skin\view_left\default\block_menu_top.html file, but when I tried to hard code it, I would either get an error or it would repeat whatever is in in between <tpl:row> </tpl:row> 4 times. So, I'm sure that tpl:row is defined somewhere. But where? And where is it pulling the menu items from?

    Posted 1 year ago #
  2. Mike

    You're looking in the right place with the client\skin\view_left\default\block_menu_top.html file.

    Those headings are hard-coded though, so it's not an easy 'just insert alongside' type thing.

    A half-way solution might be to try with a new table cell outside the <tmpl:row> but still inside the table. But you will have problems with the classes, because when an option is selected the class changes from menuItem to menuItemSelected.

    Regards

    Posted 1 year ago #
  3. It can look like this:

    <div class="menuBlock">

    <table cellpadding="0" cellspacing="0">
    <tr>
    <tmpl:row>
    <td><div class="{class}">{item_menu}</div></td>
    </tmpl:row>

    <td><div class="menuItem">Your Menu</div></td>

    </tr>
    </table>

    </div>

    Posted 1 year ago #
  4. mike
    Member

    Thanks Karen and onesign! That worked perfectly!

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.

© 2008 Double Jade LLC | customer.service@kbpublisher.com