Forum

Questions and discussions

Tags - max amount of keywords ?

Script's setup and configuration

Tags - max amount of keywords ?

Postby pepperstreet » Thu Dec 20, 2012 2:11 am

Hello again,
is there any configuration for tags (tag-cloud) display? I just found the respective code [keyword] for output. How do I limit or control the amount? How to sort the output (random, asc, desc, etc.) ?
pepperstreet
 
Posts: 117
Joined: Fri Dec 14, 2012 10:49 pm

Re: Tags - max amount of keywords ?

Postby admin » Fri Dec 21, 2012 7:03 am

The file controls the tag coulds:
/inc/box_tag_clouds.php
admin
Site Admin
 
Posts: 1458
Joined: Sun Mar 07, 2010 5:55 pm

Re: Tags - max amount of keywords ?

Postby pepperstreet » Fri Dec 21, 2012 9:06 pm

Thanks for the headsup. That means editing core files.

Feature request:
Please, add a max parameter in site settings like it is for "related items".
Also sorting order would be very useful.
Different parameters for global tag-cloud, and tags on item detail page.
Maybe .tpl template files for tags.

(Should i open a feature request in the respective forum thread?)
pepperstreet
 
Posts: 117
Joined: Fri Dec 14, 2012 10:49 pm

Tag-cloud: Set max amount of lines / keywords in tagcloud

Postby mj72 » Sun Jan 25, 2015 3:51 pm

$limit_tags=6;

A high number = many lines.
mj72
 
Posts: 53
Joined: Sat Jan 10, 2015 10:55 am

Tip: Sort tag-cloud alphabetically

Postby mj72 » Fri Mar 06, 2015 7:22 pm

Anton helped me.

ftp, file:
inc/box_tag_clouds.php

delete the two lines:

sort($tg);
reset ($tg);
mj72
 
Posts: 53
Joined: Sat Jan 10, 2015 10:55 am


Return to Configuration

Who is online

Users browsing this forum: No registered users and 5 guests

  Photo Store Script

Professional php photo stock script and WordPress plug-in for photographers and video producers.

  Support
  CMSaccount Inc.