You are not logged in.
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 ;-)
Last edited by lucass (2012-07-07 21:39:35)
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.
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?
Yes, you can do that with adi_variables:
twitter_usernameand a field for
typekit_idin 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.
<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
Hey Jacob, thank you very much for your explanation. This is exactly what I was looking for ;)
Guys,one more thing just out of curiosity…
Is it possible to use Markdown instead of Textile?