Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2009-03-15 12:41:32
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,308
lightbox gallery and if different section name
i have multie-languages homepage.
i created gallery with lightbox effect and saved that article under “galerii” section.
to avoid articles double creation i thought it would be clever to output that same gallery article under other languagepages gallerys as well. and did like this:
<txp:if_section name="eng-galerii">
<txp:article_custom section="galerii" form="gallery" />
</txp:if_section>
<txp:if_section name="fin-galerii">
<txp:article_custom section="galerii" form="gallery" />
</txp:if_section>
and so on…
but then somehow the lightbox effect stopped working like it should be, take a look at yourself
it displays the big image at the bottom of a page now. that’s it, and i can do nothing about it, or?
Offline
Re: lightbox gallery and if different section name
Gallex wrote:
it displays the big image at the bottom of a page now.
There’s nothing wrong with your approach as far as I can tell. It certainly should work. If it helps, the last time I saw the image appear at the bottom of the page like that was because the lightbox CSS file was not loaded/found. Is yours included on the page?
Last edited by Bloke (2009-03-15 13:03:35)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
#3 2009-03-15 14:38:28
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,308
Re: lightbox gallery and if different section name
Bloke wrote:
Gallex wrote:
There’s nothing wrong with your approach as far as I can tell. It certainly should work. If it helps, the last time I saw the image appear at the bottom of the page like that was because the lightbox CSS file was not loaded/found. Is yours included on the page?
of course it isn’t :) thank’s bloke
Offline