Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Articles not displaying, sections blank, slideshow not working, etc...
kstewart wrote:
However, the slideshow works this way: <img src=”<txp:txp:www.kimstewart/textpattern-4.3.0/images/{id#1}.jpg” on my site http://www.kimstewart.co.uk/textpattern-4.3.0/
It ought not :)
the <img> tag is straight html. What it wants with the src attribute is a url. This can be a full url (http://your_web_site.com/image/image_name.jpg) or relative (image/image_name.jpg).
Txp relates to the <img> tag in one of two ways (basically – I won’t rule out some really creative adaptions people have come up with ;-D )
You can use a Txp tag like <txp:article_image> which will create the <img> tag with the url set, or in certain cases you might have reason to do it as <img src=”<txp:tag>” where the tag is something appropriate to the application.
<txp:txp: is . . . . . nothing. not a tag. not part of the url. It has no function.
Last edited by maverick (2011-03-17 14:15:43)
Offline
Re: Articles not displaying, sections blank, slideshow not working, etc...
Maverick – cheers, was trying to get my head round all these tags… I’ve done some basic dreamweaver sites so know a bit of CSS and html but didn’t quite know how to apply it in textpattern. You’ve made it all a bit clearer, thanks!
www.kimstewart.co.uk
Offline
Re: Articles not displaying, sections blank, slideshow not working, etc...
Glad it helped.
Also – just a reminder in case it comes up – you can reuse a class as many times as you wish in a single html document, but ids should only appear once per document. :)
edit: Dreamweaver was my initial tool of choice as well – more years ago than I care to admin. ;) Then I decided to get a better grasp of html and css and hand coded for a while. I found I could create much nicer code than Dreamweaver (@ least that version of Dreamweaver), and do it about as fast and sometimes faster. There are some excellent tutorials available for free online should you ever want to go deeper. Just ask, and I’m sure you’ll get some great recommendations from the community here.
Last edited by maverick (2011-03-17 14:24:21)
Offline
Re: Articles not displaying, sections blank, slideshow not working, etc...
Good to know, thanks! :)
www.kimstewart.co.uk
Offline
#50 2011-03-17 14:39:22
- uli
- Moderator

- From: Cologne
- Registered: 2006-08-15
- Posts: 4,319
Re: Articles not displaying, sections blank, slideshow not working, etc...
Just a heads up:
Firebug is completely freaking out about your http://www.fonmedia.co.uk/, it doesn’t work anymore there. Haven’t had this before.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Re: Articles not displaying, sections blank, slideshow not working, etc...
oh dear… maybe I’ll start again after all! Thanks for letting me know.
www.kimstewart.co.uk
Offline
#52 2011-03-17 20:07:19
- GugUser
- Member

- From: Quito (Ecuador)
- Registered: 2007-12-16
- Posts: 1,477
Re: Articles not displaying, sections blank, slideshow not working, etc...
I am repeating myself (#33), and it is not meant as a criticism: Learn the basics! That will be good for your work.
Offline