Christmas has come and gone and I'm back to work, which can only mean two things: the mere sight of turkey makes me nauseous and I'm struggling with Actinic.
I've just started to understand layouts and variables, and though I've got a long way to go yet, I'm really excited about how they can be used. We were doing very similar things in V7 using CUSTOMVARs, but a lot of this was based on manual entry. Our templates were all CUSTOMVAR based too, so V8's inclusion of actual modular layouts and conditional blocks is a welcome addition.
We're trying to switch over to the variable system now but I'm having a couple of issues. What I'm trying to achieve is a variable that exists through three levels of the store that is set in the parent section. So we'd have:
Where the product and the subsection would inherit their values from the parent section. Obviously, this is accomplished really very easily by setting the variable to Use Parent().
However, the value of the parent needs to be set by a variable itself: the parent's section name. I'm not sure if this is possible, but I thought if anybody would know, it would be the forums.
I'm sure it's something really obvious that I've overlooked, but I'm new to all this variable business and so far have just been ticking things until it works. Any advice is much appreciated.
I've just started to understand layouts and variables, and though I've got a long way to go yet, I'm really excited about how they can be used. We were doing very similar things in V7 using CUSTOMVARs, but a lot of this was based on manual entry. Our templates were all CUSTOMVAR based too, so V8's inclusion of actual modular layouts and conditional blocks is a welcome addition.
We're trying to switch over to the variable system now but I'm having a couple of issues. What I'm trying to achieve is a variable that exists through three levels of the store that is set in the parent section. So we'd have:
Code:
Parent > Subsection > Product
However, the value of the parent needs to be set by a variable itself: the parent's section name. I'm not sure if this is possible, but I thought if anybody would know, it would be the forums.
I'm sure it's something really obvious that I've overlooked, but I'm new to all this variable business and so far have just been ticking things until it works. Any advice is much appreciated.
Comment