Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#49 2009-11-20 10:33:42

whaleen
Member
From: Portland
Registered: 2006-05-11
Posts: 373
Website

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

#50 2009-11-20 12:49:29

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

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?


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#51 2009-11-21 01:04:11

whaleen
Member
From: Portland
Registered: 2006-05-11
Posts: 373
Website

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

Board footer

Powered by FluxBB