You are not logged in.
Hello guys,
My name’s Lucas, hope you guys can help me with something…
How can I do something like this goo.gl/ZcgPm with Textpattern? (the Twitter Username and GA/Typekit fields). I wish I could set up this custom options on the admin panel so the clients can update the info by themselves.
Thanks in advance ;-)
Lucas
Last edited by lucass (2012-07-07 21:39:35)
Offline
Offline
Welcome to the forum, Lucas!
I’m afraid we need a little more info on what you want to achieve, in order to provide you with an optimum solution. Are you simply making a decision on a CMS choice, or do you have TXP installed and want to solve something special?
Would this client-updatable info be article/product related (—> simply use TXP’s very own custom fields, a core feature, no plugin required), or author related (—> try plugin smd_bio), or shall it have no predefined, fixed relation to anything other than what the author actually gives it by placing it somewhere (—> adi_variables, mck_snippet or even TXP’s output_form)? … There are so many more use cases, needs and characteristics I’ve not thought of.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Hi uli, thanks for the warm welcome!
Yes, I already have TXP installed.
I just want to know if it’s possible to create a “custom theme options” for clients. Like the ones we used to see on WordPress (e.g. goo.gl/ZcgPm) .
Is this possible with adi_variables?
Offline
Yes, you can do that with adi_variables:
twitter_username and a field for typekit_id in the Content > Variables tab.<txp:output_form form="adi_variables" /> at the top of your page template.<txp:variable name="variable_name" /> where you want the variable inserted, e.g.<script type="text/javascript" src="http://use.typekit.com/<txp:variable name="typekit_id" />.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
or:
<p>Follow me on <a href="http://twitter.com/<txp:variable name="twitter_username" />">twitter</a>.</p>
Last edited by jakob (2012-07-10 16:05:25)
TXP Builders – finely-crafted code, design and txp
Offline
Hey Jacob, thank you very much for your explanation. This is exactly what I was looking for ;)
Thanks everyone!
Offline
Guys,one more thing just out of curiosity…
Is it possible to use Markdown instead of Textile?
Offline
Currently no, though there have been murmurs that it might surface in the future some time.
TXP Builders – finely-crafted code, design and txp
Offline
FYI, the murmurs were here
Offline