Gallery: Uppage button makes duplicate content

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
photo2pictures
Forum Members
Forum Members
Posts: 14
Joined: Thu Sep 09, 2010 11:04 pm

Gallery: Uppage button makes duplicate content

Post 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
Jos
Support Guru
Support Guru
Posts: 4020
Joined: Wed Sep 05, 2007 8:03 pm

Re: Gallery: Uppage button makes duplicate content

Post 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?
photo2pictures
Forum Members
Forum Members
Posts: 14
Joined: Thu Sep 09, 2010 11:04 pm

Re: Gallery: Uppage button makes duplicate content

Post by photo2pictures »

Yes, I have the {metadata} tag in the header, and {content} and {Gallery} tags in the body of the page.
Jos
Support Guru
Support Guru
Posts: 4020
Joined: Wed Sep 05, 2007 8:03 pm

Re: Gallery: Uppage button makes duplicate content

Post by Jos »

Try to put the {Gallery} tag in the content field of a page, in stead of in the page template.
photo2pictures
Forum Members
Forum Members
Posts: 14
Joined: Thu Sep 09, 2010 11:04 pm

Re: Gallery: Uppage button makes duplicate content

Post 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
Jos
Support Guru
Support Guru
Posts: 4020
Joined: Wed Sep 05, 2007 8:03 pm

Re: Gallery: Uppage button makes duplicate content

Post 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
photo2pictures
Forum Members
Forum Members
Posts: 14
Joined: Thu Sep 09, 2010 11:04 pm

Re: Gallery: Uppage button makes duplicate content

Post 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 :)
Post Reply

Return to “Modules/Add-Ons”