I'm supposed to be updating tours to 1.22.2++ but I'm stuck on this really simple mix of brackets, get(s) and its to late in the week, can anyone help with the correct combination please.
In a separate file I have hundreds of these "labels"
Then in the tour itself I have a plugin
Code
<include url="%FIRSTXML%/captions.xml" />
<plugin name="press_the_button"
onclick = "popup("HTML", "introduction-TITLE", "introduction-DATA", width etc...
scope="private:POPUP" args="type, headings, contents, width, ...
/>
and an action
The challenge is to use the data in the separate file in this 'private' routine:
Code
<action name="popup" scope="private:POPUP" args="type, headings, contents, width ...
set(texTITLE, get(data[get(headings)].content));
If you now get(texTITLE) it shoudl contan the string...
The Introduction Heading line is this seperate label.
BUT its null...
I tried breaking the last line into 2 pieces, but its hardly that complicated?
Either it something really obvious I cant see, or its to do with PRIVATE and PUBLIC which I can t get my head round.
Thanks
James