1
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 **/



2
z_dane
convert 2.0.16 XOOPS XM back to Normal XOOPS
  • 2007/12/19 11:08

  • z_dane

  • Just popping in

  • Posts: 11

  • Since: 2005/7/28


Anybody know how can we convert XM version to normal XOOPS?
I have tried copy whole database and use with normal XOOPS, but just get white page.

changing my mind to update the latest version



3
z_dane
xoopsgallery 1.3.3 comment problem
  • 2007/2/16 22:59

  • z_dane

  • Just popping in

  • Posts: 11

  • Since: 2005/7/28


the comment display correctly but when i access from the recent comment box, i get this

Quote:
ERROR: requested index [] out of bounds [52]


i get
/modules/xoopsgallery/view_photo.php?xoops_imageid=7486&com_id=965&com_rootid=965&albumName=albuo14& amp;id=100_3374& amp;#comment965

but when i try
/modules/xoopsgallery/view_photo.php?xoops_imageid=7486&com_id=965&com_rootid=965&albumName=albuo14&id=100_3374&#comment965

without " & amp; "
i get the right page. anyone know what is my real prob?

*no space between & and amp



4
z_dane
Re: blank admin page after transfer
  • 2006/12/18 11:14

  • z_dane

  • Just popping in

  • Posts: 11

  • Since: 2005/7/28


i also get blank page after transfer to new server. when i turn php debug on, i get this result.


Fatal error: Call to undefined method XoopsLogger::render() in /home/usr/public_html/include/cp_functions.php on line 166

anybody know what is my problem?



5
z_dane
Re: find out xoops version
  • 2006/4/14 10:33

  • z_dane

  • Just popping in

  • Posts: 11

  • Since: 2005/7/28


thank for the info



6
z_dane
find out xoops version
  • 2006/4/13 23:58

  • z_dane

  • Just popping in

  • Posts: 11

  • Since: 2005/7/28


i think i have deleted changelog file. is there another way to detect my XOOPS version?



7
z_dane
Re: Huge Problem with Xoops 2.2 and NewBB 2.02:
  • 2005/7/28 4:19

  • z_dane

  • Just popping in

  • Posts: 11

  • Since: 2005/7/28


don`t know about newbb, but my cbb work when i try to edit forum..but don`t work try access the blocks button

edited: i`m using cbb 1.13




TopTop



Login

Who's Online

136 user(s) are online (89 user(s) are browsing Support Forums)


Members: 0


Guests: 136


more...

Donat-O-Meter

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

Latest GitHub Commits