Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: hak_article_image
Great I’ll take a look at that tonight. Just so I can make sure I’m fixing it right what behavior were you seeing?
Shoving is the answer – pusher robot
Offline
#26 2006-01-02 18:19:50
- panik
- Member
- From: Bonn, Germany
- Registered: 2005-08-13
- Posts: 13
Re: hak_article_image
hi, thanks for the great plugin.
i hacked the plugin to be able to show the article in a different section when clicked on a thumbnail. so i can have a different page template for an image gallery without article body and in a different design.
how could i add a section-attribute? i don’t know php, so i can’t hack the plugin further.
Offline
Re: hak_article_image
I’ve been meaning to do this, because I have a setup like that too. Did you say you had hacked it already or that you wanted to? I wasn’t super clear from your message.
I could add a section attribute pretty easily. Give me a day or so.
Shoving is the answer – pusher robot
Offline
#28 2006-01-02 21:42:09
- panik
- Member
- From: Bonn, Germany
- Registered: 2005-08-13
- Posts: 13
Re: hak_article_image
thanks for the quick answer, i worked it out myself. i can send you my hack. as mentioned, i’m not into php, so you can look over it.
Offline
Re: hak_article_image
Great plugin. Just the trick for fixing zem’s version, not working with subdirs.
Does anyone know of a way to perform a conditional that looks at whether or not an article image is present?
I’d like to do an if_article_image, display it, else display a category image.
Any thoughts pointers?
UPDATE Nice plugin txp:tcm_if_article_image will do the trick
Last edited by mrdale (2006-01-13 20:43:28)
Offline
Re: hak_article_image
I just posted version 0.3.3 which fixes the limit bug that eyesolation pointed out back in November.
I can’t believe I let it go so long.
Shoving is the answer – pusher robot
Offline
Re: hak_article_image
A very useful plugin indeed! Is there a way by which I can hide the thumbnail when the full image is shown? (If there isnt can you please create some conditionals for similar functionality?)
“Take a point, stretch it into a line, curl it into a circle, twist it into a sphere, and punch through the sphere.”
— Albert Einstein
Offline
Re: hak_article_image
I’m not quite understanding what you want.
Shoving is the answer – pusher robot
Offline
Re: hak_article_image
I’m using <code><txp:hak_article_thumb displaylink=“1” /></code>. On clicking the thumbnail generated by this tag I get the full sized image + the thumbnail. How do I hide the thumbnail so that only the full sized image is shown?
“Take a point, stretch it into a line, curl it into a circle, twist it into a sphere, and punch through the sphere.”
— Albert Einstein
Offline
Re: hak_article_image
ok I think I get it. Do you use this with many thumbnails on the page? Would you want only the thumbnail for the image being displayed full size to be hidden or all the thumbnails?
Shoving is the answer – pusher robot
Offline
Re: hak_article_image
Right now I’m using only one thumbnail. But I’m planning to use multiple thumbnails in future. So can I request for an option to hide all thumbnails?
“Take a point, stretch it into a line, curl it into a circle, twist it into a sphere, and punch through the sphere.”
— Albert Einstein
Offline
#36 2006-04-20 17:40:42
- mattgilbert
- Member
- Registered: 2006-03-23
- Posts: 70
Re: hak_article_image
Hi, Thanks for the plugin.
I’m getting this error message:
<code>tag_error <txp:hak_article_image offset=“1”/> -> Warning: join(): Bad arguments. on line 1417</code>
when I use an offset of 1 and there is only one article image. Obviously this wouldn’t work, since there aren’t any images to show, but it would be nice if it would just not show anything instead of returning an error message. Alternatively, is there a conditional to test whether or not there is more than one article image?
Offline