Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
thickbox (article + article image)
Hi,
I hope someone can help me solve this problem.
I’m using article list with article image thumbnails and some textual info on my portfolio page.
Each article thumbnail should be a link to the thickbox with big article image and some content.
I’ve tried to do this but it isn’t working:
1) On my page I have article_custom list:
<txp:if_article_list>
<txp:chh_article_custom listform=“projects” limit=“1000” category=“interactive” section=“interactive” />
<txp:else />
<div id=“myOnPageContent”>
<txp:article form=“project”/>
</div>
</txp:if_article_list>
2) The form “projects” contains the following code:
<a class=“thickbox” href=”<txp:permlink/>#TB_inline?height=480&width=680&inlineId=myOnPageContent”><txp:article_image thumbnail=“1” /></a>
When I click on image thumbnail the thickbox opens with empty content, so I tried several things including putting the article form inside “projects” form (but then I got all of the articles listed).
Is there any better solution to accomplish this?
Thank you for your help!
Last edited by fuls (2007-10-21 15:00:57)
Offline
Re: thickbox (article + article image)
searching this forum might help you in finding a solution. A quick search returned this among other results.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: thickbox (article + article image)
Thanks colak, I’ve already found that post but I can’t figure it out anyway.
Can someone help, please?
Last edited by fuls (2007-10-21 21:59:41)
Offline
Re: thickbox (article + article image)
I take it for granted that your form “projects” is saved as an article form
Is the article opening ok with your code without the thickbox?
ie if you use
<a href="<txp:permlink/>"><txp:article_image thumbnail="1" /></a>
instead of
<a class="thickbox" href="<txp:permlink/>#TB_inline?height=480&width=680&inlineId=myOnPageContent"><txp:article_image thumbnail="1" /></a>
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: thickbox (article + article image)
yes, that is working and form “projects” is an article form.
Offline
Re: thickbox (article + article image)
i am by no means an expert in this (not even close) but is their a url we can look at. Sometimes it is something very obvious.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: thickbox (article + article image)
thanks, but I’ll try to figure out something else….if nobody can help me on this matter.
Offline
Pages: 1