Page 1 of 1

Collapso and single product per page

Posted: Thu Apr 21, 2011 11:23 am
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

Re: Collapso and single product per page

Posted: Thu Apr 21, 2011 1:02 pm
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).

Re: Collapso and single product per page

Posted: Thu Apr 21, 2011 1:29 pm
by jondennis
Thanks Norman, using the IsNotPreviewMode variable works fine.

Jon

Re: Collapso and single product per page

Posted: Thu Apr 21, 2011 3:28 pm
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.