dulux-oz
November 1st, 2014, 10:57
Hi Guys,
One for the Devs, but feel free to chip in:
OK, so I'm using a <button_stringcycler> from the CoreRPG and everything is fine - except that the <defaultlabel> (and hence the <button_stringcycler>.defaultvalue) is giving me the sh!ts as I'm trying to code around it.
What I'd like to be able to do is use the <button_stringcycler> and have it ignore the <defaultlabel> and only use the <labels> and <values>, but at the moment if I leave <defaultlabel> out I get a blank (ie "") option as I cycle through the values of the <button_stringcycler>.
Is there a way of using the <button_stringcycler> in the manner I'd like (ie have I missed a tag option that will allow me to do this) or is there another template around that I haven't found yet which will do what I want?
My only other option is to re-code a version of the <button_stringcycler> and have the <button_stringcycler>.cycleindex return to 1, not 0 as it does now.
Any help would be appreciated.
(And yes, I know that we can use the <defaultlabelres> instead of the <defaultlabel> (etc) - that's not the issue.)
Cheers
One for the Devs, but feel free to chip in:
OK, so I'm using a <button_stringcycler> from the CoreRPG and everything is fine - except that the <defaultlabel> (and hence the <button_stringcycler>.defaultvalue) is giving me the sh!ts as I'm trying to code around it.
What I'd like to be able to do is use the <button_stringcycler> and have it ignore the <defaultlabel> and only use the <labels> and <values>, but at the moment if I leave <defaultlabel> out I get a blank (ie "") option as I cycle through the values of the <button_stringcycler>.
Is there a way of using the <button_stringcycler> in the manner I'd like (ie have I missed a tag option that will allow me to do this) or is there another template around that I haven't found yet which will do what I want?
My only other option is to re-code a version of the <button_stringcycler> and have the <button_stringcycler>.cycleindex return to 1, not 0 as it does now.
Any help would be appreciated.
(And yes, I know that we can use the <defaultlabelres> instead of the <defaultlabel> (etc) - that's not the issue.)
Cheers