Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Semi-persistent general storage plugin
Is it possible that smd_vars is interfering with txp:if_variable, smd_if, and other iffy things? I’ll disable and try some new if var stuff.
txtstrap (Textpattern + Twitter Bootstrap + etc…)
Offline
Re: Semi-persistent general storage plugin
Josh, this sounds all chinesse to me, but I’ve spotted this in your code:
<txp:smd_var_put name="<txp:ign_user_info type="name" />_pubdate" value="<txp:variable name="pubdate" />" />
You have to use single quotes for that code to work:
<txp:smd_var_put name='<txp:ign_user_info type="name" />_pubdate' value='<txp:variable name="pubdate" />' />
Or am I missing something?
Offline
Re: Semi-persistent general storage plugin
Josh, this sounds all chinesse to me, but I’ve spotted this in your code:
Thanks Julián. I did spot those too. Apologies for the sloppy code above. I’ll replace it up once I get my version working which is a bit different now. It all sounds Chinese to me at this point too. I think I was pretty far out in unknown territory. Hopefully someone who speaks Chinese can tell me if I was on the right path. :)
Another thing is that I’m finding I’m unable to use txp:if_variable
at all. Something is wrong outside of what I’ve been talking about here and I don’t think it’s related but that is what is holding me up.
I’m also looking for an answer about wether or not one can use txp:variable
as the name attribute of txp:if_variable
like so:
<txp:if_variable name='<txp:variable name="match-this' />' value="match-this">
matched
</txp:if_variable>
Last edited by whaleen (2009-11-21 01:04:33)
txtstrap (Textpattern + Twitter Bootstrap + etc…)
Offline