Announcement

Collapse
No announcement yet.

It would probably be best that the code is placed on the front page of the store...

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

    It would probably be best that the code is placed on the front page of the store...

    How do I put a counter on my site, so I know how many people are going into Actinic? Where do I place the code?

    It would probably be best that the code is placed on the front page of the store. To ensure the counter does not increment with each page opened you need to restrict it to the front page but no other page.

    Do the following:

    1. Change the preview to show the front page of the store. This is the 'Online Catalogue' icon in the content tree.

    2. Select the 'Main Product Area Layout' in the 'Design' tab. This will be called something like 'Standard Section Page' or 'Section Page With Section Name At The Top'. The easiest way to do this is to click on anything in the main part of a section page and then keep pressing the 'Navigate to Parent Layout' button - - until the correct layout is selected.

    3. Insert your content that you only want to appear on the front page.

    4. Once you have got it looking correct, highlight all the content and press the 'Insert Block' button on the toolbar.

    5. The condition to enter is:

    <actinic:variable name="SectionLevel" /> == 0

    6. Click 'OK' and then click 'Apply' to save the changes to your layout.

    Your content will now only appear on the store front page.
Working...
X