Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#49 2011-02-23 15:21:35

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: [howto] Using the new image tags in Txp 4.3.0

Sounds like you have javascript disabled, or my simple little script is failing in your browser for some reason.


Code is topiary

Offline

#50 2011-02-23 17:04:14

kvnmcwebn
Member
From: Ireland
Registered: 2007-01-27
Posts: 724
Website

Re: [howto] Using the new image tags in Txp 4.3.0

hmm, maybe but I think it’s something im doing. javascript is turned on.


its a bad hen that wont scratch itself.
photogallery

Offline

#51 2011-02-23 23:27:58

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: [howto] Using the new image tags in Txp 4.3.0

Is that to say you are trying this on my demo site, or on your own version? If the latter, have you confirmed that you have the javascript loading properly (by checking in Firebug or the WebKit inspector, or some other such dev tool)?


Code is topiary

Offline

#52 2011-02-24 16:33:19

kvnmcwebn
Member
From: Ireland
Registered: 2007-01-27
Posts: 724
Website

Re: [howto] Using the new image tags in Txp 4.3.0

Hi,
I’m trying it in my own example, your example works fine.
I’m doing something wrong.
The external .js script is loading fine according to firebug. I must be making a really silly mistake.

Last edited by kvnmcwebn (2011-02-24 18:29:47)


its a bad hen that wont scratch itself.
photogallery

Offline

#53 2011-02-24 17:06:08

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

Re: [howto] Using the new image tags in Txp 4.3.0

I think it maybe because you don’t have a capition in sooGalleryCaption. The line throwing the error is

document.getElementById('sooGalleryCaption').childNodes[0].nodeValue = showThis.title;

My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#54 2011-02-24 17:41:24

kvnmcwebn
Member
From: Ireland
Registered: 2007-01-27
Posts: 724
Website

Re: [howto] Using the new image tags in Txp 4.3.0

Wow thanks Matt.
It was choking on the caption.
I never would have found that.


its a bad hen that wont scratch itself.
photogallery

Offline

#55 2011-02-24 18:28:54

kvnmcwebn
Member
From: Ireland
Registered: 2007-01-27
Posts: 724
Website

Re: [howto] Using the new image tags in Txp 4.3.0

Hey Jeff you know what would be sweet. if you added to your sooGallery script so the images fade in. When I get a balance back in my pay pal account maybe you could cook something up eh?


its a bad hen that wont scratch itself.
photogallery

Offline

#56 2011-02-24 22:57:09

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: [howto] Using the new image tags in Txp 4.3.0

For anything fancier I’d just use something already out there. My current fave is the jquery cycle plugin.


Code is topiary

Offline

#57 2011-02-24 23:17:18

kvnmcwebn
Member
From: Ireland
Registered: 2007-01-27
Posts: 724
Website

Re: [howto] Using the new image tags in Txp 4.3.0

I’ll check out cycle. thanks. I’ve been using cycle lite a bit.


its a bad hen that wont scratch itself.
photogallery

Offline

#58 2012-05-23 08:25:22

ricoschette
Member
From: Estonia
Registered: 2005-09-17
Posts: 176

Re: [howto] Using the new image tags in Txp 4.3.0

For some reason <txp:images /> doesn’t work.
Look here: http://www.sadamaturg.ee/galerii

 <txp:images sort="date desc" category="pildigalerii" thumbnail="1" break="li" wraptag="ul" class="ilmaklassita"> ->  Textpattern Warning:   on line 1120

textpattern/publish.php:1120 trigger_error()
textpattern/publish.php:1041 processTags()
textpattern/publish.php:506 parse()
index.php:45 textpattern()

No images are shown… :(

Offline

#59 2012-05-23 08:33:08

ricoschette
Member
From: Estonia
Registered: 2005-09-17
Posts: 176

Re: [howto] Using the new image tags in Txp 4.3.0

nevermind, I did this with custom article form…

Offline

Board footer

Powered by FluxBB