PDA

View Full Version : Access a sections CUSTOMVAR from that sections parent?


gavrielm
28-Mar-2003, 10:17 AM
I am in the middle of redesigning our website.

I would like to be able to read/access a CUSTOMVAR belonging to a particular section from a parent section.

After testing this it seems like this is not logistically possible due to the architecture of actinic.

Can anyone confirm my hunch?

Has anyone found a way around the problem?

Thanks in advance, by the way what a great forum, just discovered it yesterday and I think it's fantastic.

Cheers

I-CC
28-Mar-2003, 03:51 PM
If I am not mistaken this has been resolved in the latest patch announced today.

i.e. place information within custom properties of a section and all sections/pages beneath it should be able to make use of the information within the templates now......

Or atleast that is how I understood the notes on the patches contents!

gavrielm
28-Mar-2003, 04:56 PM
How about the other way around, i.e. can you read/access a sub-section's CUSTOMVAR from it's own parent section?

cdicken
31-Mar-2003, 09:07 AM
How about the other way around, i.e. can you read/access a sub-section's CUSTOMVAR from it's own parent section?

This does not make any sense to me, but I can tell you how it does work now.

Any custom property defined at the section level will be available to the HTML page that that section becomes, and will also be available to the link that goes into that section.

gavrielm
31-Mar-2003, 09:52 AM
I think I am confusing people by having a rather disjointed grasp of coding/technical terminology.

Apologies for this, believe me I paid the price for this when I picked up my results for my degree!

Say you have the Section hierarchy below and a CUSTOMVAR (X):

HOME
|
|------Section 1 (1.html) (X=sheep)
| |
| |-----------Section 1A (1A.html) (X=pigs)
| |
| |-----------Section 1B (1B.html) (X=cows)
|
|
|-------Section 2

On 1.html when the subsections for 1 are listed, I would like to reference the value of X for each of those subsections e.g.

<1.html>

<sectionline>
Subsection 1A - I Love CUSTOMVAR:X
Subsection 1B - I Love CUSTOMVAR:X
</sectionline>

</1.html>

In my ideal world this would print out as

Subsection 1A - I Love pigs
Subsection 1B - I Love cows

But in reality this prints out as

Subsection 1A - I Love sheep
Subsection 1A - I Love sheep

Is there any way to get around this.

I hope this makes it clearer

cdicken
31-Mar-2003, 04:18 PM
In my ideal world this would print out as

Subsection 1A - I Love pigs
Subsection 1B - I Love cows

But in reality this prints out as

Subsection 1A - I Love sheep
Subsection 1A - I Love sheep

Is there any way to get around this.

I hope this makes it clearer

If you actually meant....

Subsection 1A - I Love sheep
Subsection 1B - I Love sheep

Then I can help you. Yes - 610 will allow you to do the first scenario.

gavrielm
01-Apr-2003, 08:34 AM
Yes, I did mean:

Subsection 1A - I Love sheep
Subsection 1B - I Love sheep

That is great, What is 610?

chrisbrown
01-Apr-2003, 10:13 AM
Actinic Catalog/Business/Developer Version 6.1.0