|
|
#1 |
|
68 Classifieds Staff
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,703
Rep Power: 109 ![]() |
v4 Plugin - Category Tag Cloud
This smarty plugin will create a tag cloud of your categories. Requirements Minimum version 4.0.0 Instructions Save the code below as function.categories_cloud.php and place it in the includes/classes/smarty/plugins/ folder. After you have saved the file you can use this code in the template file: Code:
{categories_cloud}
Code:
#tagcloud { margin: 0 0 20px; }
#tagcloud a { margin: 0 5px 0 0; color: #25771F; }
#tagcloud a:hover { background: #E7FEE5; color: #007898; }
Below is a list of parameters you can use when calling this plugin. Please note these are optional. min(integer) The minimum size for the category with the least listings.max(integer) The maximum size for the category with the most listings.pixel(string) What size you want. Default is "em". Could be % or px.Download PHP Code:
__________________
Eric Barnes 68 Classifieds Developer Please do not send me a private message asking for support. Instead use these open forums or our ticket system. Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | 68 @ Twitter | My Modules Last edited by Eric Barnes; 04-01-2008 at 03:17 PM. |
|
|
|
|
|
#2 |
|
The Master
Join Date: Mar 2006
Location: British in Argentina
Posts: 1,400
Rep Power: 44 ![]() ![]() |
Call me an idiot but what is a tag cloud?
__________________
**Bulk Upload System** has been upgraded. Works on all v4 versions with new functionality. Free upgrade for existing customers. |
|
|
|
|
|
#3 |
|
68 Classifieds Staff
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,703
Rep Power: 109 ![]() |
Here is an example of one: http://ajaxrain.com/tagcloud.php
I have seen them on lots of blogs and such. So I thought it would be something someone might want.
__________________
Eric Barnes 68 Classifieds Developer Please do not send me a private message asking for support. Instead use these open forums or our ticket system. Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | 68 @ Twitter | My Modules |
|
|
|
|
|
#4 |
|
The Master
Join Date: Mar 2006
Location: British in Argentina
Posts: 1,400
Rep Power: 44 ![]() ![]() |
Thanks Eric, yet another geek name to add to my vocabulary
__________________
**Bulk Upload System** has been upgraded. Works on all v4 versions with new functionality. Free upgrade for existing customers. |
|
|
|
|
|
#5 |
|
Senior Member
Join Date: Nov 2006
Posts: 186
Rep Power: 13 ![]() |
this tag cloud is listing all 420 of my cats
__________________
Costa del Sol Spain v3.1.10 Dev V4.09 Dev sweeeet �Powerful you have become, the dark side I sense in you.� |
|
|
|
|
|
#6 |
|
68 Classifieds Staff
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,703
Rep Power: 109 ![]() |
You can just add a limit to the query:
Code:
FROM ".PREFIX."categories WHERE display<>'N' ORDER BY cORDER DESC, name ASC LIMIT 20";
__________________
Eric Barnes 68 Classifieds Developer Please do not send me a private message asking for support. Instead use these open forums or our ticket system. Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | 68 @ Twitter | My Modules |
|
|
|
|
|
#7 |
|
Member
Join Date: Apr 2006
Posts: 84
Rep Power: 14 ![]() |
I use version 3.1.5 how can I make it compatible?
Thanks |
|
|
|
|
|
#8 |
|
Junior Member
Join Date: Sep 2008
Posts: 1
Rep Power: 0 ![]() |
Hello everyone,
i'm having some problems installing this script. I followed all the steps, however all the tags look the same size: Enlistalo - Anuncios Clasificados en tu Localidad I was also wondering if it's possible to customize this script and display cities instead of categories? Manuel |
|
|
|
|
|
#9 |
|
Member
Join Date: Aug 2008
Posts: 62
Rep Power: 4 ![]() |
Eric,
How can I modify this script so that it only displays the Sub Categories for the Category I am viewing? I would want to do something similar to the following, where the user clicks on a top level category and then I display the Cloud of subcategories: School of Everything | Learn drawing Thanks in advance...
__________________
Many Thanks, Nagrap2 Developer Version 4.1 |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
LinkBacks (?)
LinkBack to this Thread: http://www.68classifieds.com/forums/v4-modules-modifications/4581-plugin-category-tag-cloud.html
|
||||
| Posted By | For | Type | Date | |
| 68 Mods Category Tag Cloud | This thread | Refback | 09-02-2008 11:25 PM | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Adding 'category' to 'new listings' display | Chaslie | v3.1 Modules & Modifications | 5 | 01-31-2008 03:31 PM |
| Hide a category on public pages? | HotAir | v3.1 Questions & Support | 6 | 12-05-2007 10:17 AM |
| Branding each Category | BABBSELA | v3.1 Modules & Modifications | 0 | 02-10-2007 01:17 PM |
| Show the visitors which category has new ads | pat01 | v3.1 Modules & Modifications | 7 | 07-28-2006 01:25 AM |
| Category problem | dawyatt | v3.1 Questions & Support | 2 | 05-24-2006 03:58 PM |