Announcement

#1 2010-07-26 10:04:02

developer
Member
Honolulu, HI (United States)
2010-06-19
79

[resolved] How to display more/less/custom tags in the content?

Hi,

How can I display more tags in the context of the pictures?

As you can see I have only 12 tags on the left side bar. I'd like to have at least 30
http://www.magento-templates.com/

Is there a way to do that? Also is there a way to display custom set of tags?

On another page I have no tags: http://www.magento-templates.com/free/
Is there a way to collapse that area and use full screen for images?

Thank you to anyone who will give some help =)

Best wishes!


400+ Magento Themes, each Magento template includes PSD file. See our gallery!

Offline

 

#2 2010-07-26 15:24:22

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13786

Re: [resolved] How to display more/less/custom tags in the content?

When you are not currently browsing a specific tag (or combination of tags), the "related tags" block in the menubar shows 12 tags linked to the photos on the current page (and only on the page, not on the following pages). This is why there is no "related tags" block in the menubar if the current page doesn't show any photo (try to make a search with no result to have an example)

There is a bug here, the "12" is hard-coded but it should use a configuration parameter $conf['content_tag_cloud_items_number'].

developer wrote:

As you can see I have only 12 tags on the left side bar. I'd like to have at least 30

due to the bug, the only solution is to modify include/menubar.inc.php, line 146:

Code:

      $tags = add_level_to_tags( get_common_tags($selection, 12) );

developer wrote:

Also is there a way to display custom set of tags?

No, there is currently no option to do this. You can create a "personalised menu" with [extension by grum] Advanced Menu Manager

developer wrote:

On another page I have no tags: http://www.magento-templates.com/free/
Is there a way to collapse that area and use full screen for images?

Hum, I don't know how to do this without investigating (it requires to modify CSS rules, that's not a big deal). I think you'd better add a few tags to your "free templates".

Offline

 

#3 2010-07-27 14:55:12

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13786

Re: [resolved] How to display more/less/custom tags in the content?

[Bugtracker] ticket 1785

developer, did my answer helped you?

Offline

 

#4 2010-07-28 01:00:09

developer
Member
Honolulu, HI (United States)
2010-06-19
79

Re: [resolved] How to display more/less/custom tags in the content?

Sure it did, thank you very much! =)


400+ Magento Themes, each Magento template includes PSD file. See our gallery!

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact