1
noo-b
How to use Tag Cloud 1.60 ?
  • 2007/11/11 18:49

  • noo-b

  • Just can't stay away

  • Posts: 456

  • Since: 2007/10/23


How do i use XOOPS Tag 1.60


1. how do i start using it after install ? I'm confuse ..is there any quick docs

2. there is 2 files in plugins module - article.php and newbb.php ..how do I activate these files ?

3. Is there any place where I Can download other plugins ?
I Love Xoops

2
noo-b
Re: How to use Tag Cloud 1.60 ?
  • 2007/11/13 11:19

  • noo-b

  • Just can't stay away

  • Posts: 456

  • Since: 2007/10/23


bump
I Love Xoops

3
skenow
Re: How to use Tag Cloud 1.60 ?
  • 2007/11/13 15:09

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


Tags doesn't work on its own - it is simply a way to enable other modules to have a unified tag system. If you have a module that is already built to support Tags, you should be ready to go. On the submit form for creating your post there will be a tag form. Enter tags and submit the post.

Enable the tag cloud block and the module does the rest.

Smartsection 2.13 is tag-aware and there is a hack to make News tag-aware, and there is a version of Wiwimod that is tag-aware.

4
z_dane
Re: How to use Tag Cloud 1.60 ?
  • 2008/1/14 14:19

  • z_dane

  • Just popping in

  • Posts: 11

  • Since: 2005/7/28


Anybody can help /explain more detail how to use this module?
I already read the sample include in this module but still cant understand the first 2 steps. I want to use with news and cbb module and all this plug in were already include in tag module.


Quote:

/*
To enable tag for a module ("mymodule"), following steps are need:
1 add tag input box to your item edit form (required)
2 add tag storage to your item submission page (required)
3 define functions to build info of tagged items (required)
4 add tag display API to your item display page and include tag template in your item template (optional)
5 add module tag view page and tag list page (optional)
6 add module tag blocks (optional)
*/

/* Step 1: add tag input box */
// File: edit.item.php
$itemid = $item_obj->isNew() ? 0 : $item_obj->getVar("itemid");
include_once XOOPS_ROOT_PATH."/modules/tag/include/formtag.php";
$form_item->addElement(new XoopsFormTag("item_tag", 60, 255, $itemid, $catid = 0));

/* Step 2: add tag storage after item storage */
// File: submit.item.php
$tag_handler = xoops_getmodulehandler('tag', 'tag');
$tag_handler->updateByItem($_POST["item_tag"], $itemid, $xoopsModule->getVar("dirname"), $catid =0);

/* Step 3: define functions to build info of tagged items */
// File: /modules/tag/plugin/mymodule.php OR /modules/mymodule/include/plugin.tag.php
/** Get item fields: title, content, time, link, uid, uname, tags **/

5
tcnet
Re: How to use Tag Cloud 1.60 ?
  • 2008/1/15 2:28

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


The TAG module instructions provide the code a module builder needs to TAG enable their module.

If the modules you use are Tag enabled (Article, CBB, WebShow) all you need to do is install the TAGS module. The other modules will then display tag input areas on their submit forms, show the tag bar in their templates and provide a Module Tag Cloud in blocks admin.

Once you have entered some terms, TAG module's pages and Sitewide Cloud blocks will display combined TAGS from all enabled modules. You can turn the TAG module off in the main menu and just display Module TAG Clouds if desired.

Login

Who's Online

200 user(s) are online (128 user(s) are browsing Support Forums)


Members: 0


Guests: 200


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits