add new heading on sidebar Neo-2

Discussion in 'TemplateCodes' started by musikal, Jun 21, 2010.

  1. musikal Customer

    Hello,

    I'm in the process of setting up my new site under 68C Designer V4.10 and using Neo2-Black templates.

    So far, so good.

    But now wish to add a new heading (if that's the proper term) either in the Accordion or anywhere in the sidebar. I'm calling a heading 'main navigation, main categories", the text with the black background in the sidebar.

    I need to create a new one called Information (maybe more later) and be able to add pages under it. It was very easy in 68C V3.10 to add links to new pages with simple "<a href" statements but no more. Automatic pagination is pain under Main Navigation. It is far easier to create a new page and then put an HREF link to it rather than have pg=5, pg=6, display sequentially.

    In the past, with V3.10, this was very easy in layout.tpl.php but now, looks like everything is linked to a smarty this or that. I am clueless with smarty and don't have the time to learn.

    I still use Dreamweaver to edit pages.

    Please help if possible!

    Thanks,

    Tom
  2. seymourjames All Hands On Deck

    You will need to edit the template files as described in the instructions.txt document - modules/templatezones/templates/* Be careful if you edit the accordion to maintain the same structure and the increase in tc_menu - look carefully and you will see it goes up. you will need to shift them all up if you put an additional one into the accordion.
  3. musikal Customer

    OK, got it

    I re-read the section on modifying modules/templatezones/templates, there was no further explanation on how to do this.

    This is not being sarcastic or a caustic remark in any way. I am very grateful for the wonderful look and behaviour of these templates and am just sorting through it all, bending it to my will.

    However, after altering 'tcmenu' ,<div, <ul and <li tags within the Accordion, I got it to my liking!! Was also able to REM out all the stuff I didn't want simply by <!-- --> at the beginning and end of each tcmenu item (number 1 through 10).

    Please excuse my ignorance on modifications, I am not trained in any code, just am a self-learned monkey that can learn by breaking it.

    Overall, the whole beauty of 68C is that once a change is made, the effect is instantly global with no need to upload all of the affected pages and that is why I stay with 68C!

    And now, with V4.10, I can finally use Apostrophe's again!!!!!!!!!!! Woo-Hoo!!!!!!!!!!

    Thanks David!!!!!!
  4. seymourjames All Hands On Deck

    Glad you got it done. The reality is you tried and you succeeded. A little knowledge of html and smarty will take you a long way - in this case the important tip was to make source you had tc_menu numbers which were discrete and ascending. You also kept the top and bottom tabs in place too. This is how we all learnt.

Share This Page