..but I'm loosing the battle.
I'm into my 3rd day with Actinic (so apologies if I'm being thick).
My current problem..
I'm working on a deperatment store, each department is a section.
I would like a different banner to show dependant on which section you are viewing.
I couldn't really find anything so I placed this inside the 'banner div' (I'm using my own site design rather than a template):
Now this sort of works, it displays a different image when you visit a new section. Exactly what I wanted. That's the good news..
..The bad news is:
a: this method gives me 52 coding errors .. (the 'code won't work there' error)
b: I also have about 4 'pages' within the site and of course nothing displays in the banner area when visiting a page rather than a section.
So my question is: how do I get a different banner to display for each section and how do I get a different, generic or random(anything really) banner to display when visiting a page. All without causing any coding errors.
Thanks for any help you can give.
PS - I'm using V9
I'm into my 3rd day with Actinic (so apologies if I'm being thick).
My current problem..
I'm working on a deperatment store, each department is a section.
I would like a different banner to show dependant on which section you are viewing.
I couldn't really find anything so I placed this inside the 'banner div' (I'm using my own site design rather than a template):
Code:
<img alt="<actinic:variable name="SectionName" encoding="strip"/>" src="<actinic:variable Name="SectionImageFileName"/>" border="0" />
..The bad news is:
a: this method gives me 52 coding errors .. (the 'code won't work there' error)
b: I also have about 4 'pages' within the site and of course nothing displays in the banner area when visiting a page rather than a section.
So my question is: how do I get a different banner to display for each section and how do I get a different, generic or random(anything really) banner to display when visiting a page. All without causing any coding errors.
Thanks for any help you can give.
PS - I'm using V9
Comment