Announcement

Collapse
No announcement yet.

Top Level Sections on Brochure pages

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Top Level Sections on Brochure pages

    Hi,

    I want to display a menu of the categories on all my pages. I've tried using NETQUOTEVAR:TOPLEVELSECTIONSTOP on Act_brochurePrimary.html but it doesn't work. Is there a way round this or am I just doing it wrong?

    Sam

    #2
    Hi Sam

    This variable will work fine in 7.0.2 (due shortly). In the mean time, you have use a section list included with JavaScript.

    Please this code in your page headers just under where it says <SCRIPT LANGUAGE="JavaScript" SRC="actinicextras.js" TYPE="text/javascript"></SCRIPT>:
    Code:
    <!--@act NETQUOTEVAR:TOPLEVELSECTIONS_RAW -->
    
    <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
    <!--
    function SectionList(ar)
    	{
    	var strIDs = '<table border=0 width=100%>'
      	for (var i=1;i<=ar.length;i++)
      		{
    		if (ar[i].sURL !=null)
    			{
    			strIDs += '<tr><td><a href="' + ar[i].sURL + '"><span class="actxxsmall">' + ar[i].sName + '</span></a></td></tr>'
    			}
      		}
    	strIDs+='</table>'
      	return strIDs
      	}
    //-->
    </SCRIPT>
    and then this code in the main body of the page where you want the list to appear:
    Code:
    <script language=Javascript1.1>document.write(SectionList(sections))</script>

    Comment


      #3
      This variable will work fine in 7.0.2 (due shortly).
      Thats great news Chris. What else will be in there?
      Owner of a broken heart

      Comment


        #4
        The biggest new feature is the addition of 'Enhanced FTP' for v7 which we think will resolve a lot of the ongoing upload problems people are experiencing. There are a few other bug fixes like the problem with Actinic not allowing hyphens in section names, and forcing hyphens in attribute names.

        Comment

        Working...
        X