Page 1 of 1
Gallery: Uppage button makes duplicate content
Posted: Sat Jan 14, 2012 7:35 pm
by photo2pictures
Hello there, thanks for an interesting project.
I installed the Gallery module and all seems fine. I made a few sub galleries, clicked on one of them and then clicked on the uppage-button to get back, which worked fine, but the Gallery content duplicates?
Try by your self
here and see if it happens for you too?
Please help
Re: Gallery: Uppage button makes duplicate content
Posted: Sat Jan 14, 2012 8:34 pm
by Jos
Never seen this behaviour before
Things you can check/answer please:
- Do you have a {metadata} tag in the head section of your page template?
- Do you have a plain {content} tag in your page template?
- Did you put the {Gallery} tag in the content field of a page?
Re: Gallery: Uppage button makes duplicate content
Posted: Sat Jan 14, 2012 8:47 pm
by photo2pictures
Yes, I have the {metadata} tag in the header, and {content} and {Gallery} tags in the body of the page.
Re: Gallery: Uppage button makes duplicate content
Posted: Sat Jan 14, 2012 11:28 pm
by Jos
Try to put the {Gallery} tag in the content field of a page, in stead of in the page template.
Re: Gallery: Uppage button makes duplicate content
Posted: Sat Jan 14, 2012 11:53 pm
by photo2pictures
I did that now but it creates another problem. When you click on the thumbnails and then go back, the H1 heading and text is gone?
See
here
Re: Gallery: Uppage button makes duplicate content
Posted: Sun Jan 15, 2012 12:31 am
by Jos
The module output replaces the {content} tag. I guess you have put the {title} tag in the content field too then?
It is more common to put the {title} in the page template
Re: Gallery: Uppage button makes duplicate content
Posted: Sun Jan 15, 2012 9:43 am
by photo2pictures
Well, I have put the h1 tag in the template followed by the {content} tag. The {Gallery} tag is in the content via the page editor, and it seem to work now...
See
here
I don“t know if this is the right way to do it, but at least it works so far.
Thanks for your help
