PDA

View Full Version : Changing the Header between Sections


logoshed
07-Oct-2010, 01:14 PM
I am wanting to use the existing V6 catalogue installed on my main website to sell a few items on a new domain. The buyer realises they are being transferred to a different website, which they will have to checkout on, but I wish to have the header part (company logo) reflect the website they have just come from (to make them feel more comfortable).

I plan to have a parent section on my main catalogue containing the items I want to sell on the new domain. I know it is easy to have a different section template for that section, but the section template itself does not contain the header values (that is in the Primary template).

Do I have to have a different primary template? How can I make only that section use it? I do not want the checkout page headers to change...

Any help would be appreciated :)

peblaco
07-Oct-2010, 01:58 PM
I wish to have the header part (company logo) reflect the website they have just come from (to make them feel more comfortable).
Since V6 doesn't have the "block if" variables of V8 and upwards I think your only option would be either a) create a different primary template or b) use a Javascript to collect the domain they have clicked from (location url) and show a relevant image.

logoshed
07-Oct-2010, 02:03 PM
Thank you for your reply :)

If I create a different Primary template, how can I ensure that the appropriate section uses it?

Regards - Rob

peblaco
07-Oct-2010, 02:10 PM
If I create a different Primary template, how can I ensure that the appropriate section uses it?

Make sure the new template is in the Site1 folder then click on the section in the Actinic content tree and on the "Layout" tab > "Overall Layout" click "Select" > "Browse" > find the new layout click on it then "Open" (or double click) and "Apply". The new filename should be in the overall layout setting.

logoshed
07-Oct-2010, 02:59 PM
I've just realised that the website in question is actually using V4! And this only allows me to change Product Template and Section template from the Layout tab. Is there still a way to do this?

I do not mind having to pay if it takes you time doing this, as it is a very useful fix!
I'm thinking maybe use a different section template and float a layer over the top to with css to cover the original logo with the new one?! A bit Del Boy..?!

peblaco
07-Oct-2010, 03:09 PM
I've just realised that the website in question is actually using V4! And this only allows me to change Product Template and Section template from the Layout tab. Is there still a way to do this?

I do not mind having to pay if it takes you time doing this, as it is a very useful fix!
I'm thinking maybe use a different section template and float a layer over the top to with css to cover the original logo with the new one?! A bit Del Boy..?!
V4? wow that's old, is it using a PSP?. If you're thinking of paying to fix something old then you should upgrade, as ultimately the money you end up spending on kludges for an unsupported software is going to be far outweighed by a new version that does what you want and more.

Aside from that, yes you could go the Del boy route and perhaps use a product with the purchasing hidden and in it's layout position a layer at the top, or you could use the Javascript method to discern which domain it's come from. I can't think of much else, you're quite limited in V4.

logoshed
07-Oct-2010, 03:56 PM
Thank you for your help Louise.

I am not familiar with the Javascript solution so I may just do the layer thing...

I have V9 and V10 also so it is not that I am a technophobe... It is just that V4 is so simple, fast and easy to make alterations to that working with it is a pleasure :) :)