Collapso and single product per page

Expanding / Collapsing, search engine friendly, Section menu.
Post Reply
jondennis
Posts: 2
Joined: Thu Apr 21, 2011 11:01 am

Collapso and single product per page

Post by jondennis »

Hi, wonder if you could help. I've converted a client's Actinic v10 site to 'single product per page' which has created about 1700 pages of sections and sub-sections. The site uses Collapso and Actinic is now taking ages to preview a selected page - about 7 seconds from selecting a page in the Content Tree - and creating an offline preview takes much longer than before. Presumably the delay in previewing a page is Actinic rendering the menus, so is there a way to disable Collapso in Actinic's preview pane?

Thanks,

Jon
norman
Site Admin
Posts: 1252
Joined: Sat Feb 07, 2004 9:55 pm

Re: Collapso and single product per page

Post by norman »

Two things to try. Actinic has a variable IsNotPreviewMode which you can put in a Condition around the menu. E.g.

Code: Select all

<actinic:block if="%3cactinic%3avariable%20name%3d%22IsNotPreviewMode%22%20%2f%3e">
	<actinic:variable name="Collapso-5 Dynamic Menu" />
</actinic:block>
Also see Settings / Site Options / Layout / Site / Collapso Max Depth where you can limit the Maximum section depth to create menu for (0 means all).
Norman
jondennis
Posts: 2
Joined: Thu Apr 21, 2011 11:01 am

Re: Collapso and single product per page

Post by jondennis »

Thanks Norman, using the IsNotPreviewMode variable works fine.

Jon
norman
Site Admin
Posts: 1252
Joined: Sat Feb 07, 2004 9:55 pm

Re: Collapso and single product per page

Post by norman »

Super. Also check your live pages size. If you have thousands of Sections in the menu it may be affecting page load time. Restrict Max Depth to overcome this.
Norman
Post Reply