1
angelomorto
Xoops Tag with News layout

Hack made ​​on the modules:
Smartsection 2.14
Tags Xoops 2.3 (phppp)


Tested on:
Xoops 2.4.x
Xoops 2.5.x

Changes:
The following hack allows a visualization of the articles in Xoops Tags with news style layout, with summary, image and items count.

The smartsection's plugin tag has been modified to identify if url rewrite is actived and changing the title link with SEO mode.

Example on
http://www.apuliainnovation.it/modules/tag/view.tag.php?Events

Note: make a backup of original files, and delete the xoops cache after uploaded files.


Download:
http://www.xoopsitalia.org/forum/p/69281/xoops-tag-con-layout-stile-news.html

2
angelomorto
Xoops Tag causes indexing problems to Google

When Google scans the Xoops page, found 2 pages with same content, because the tags in articles are linked to file view.tag.php located in the module directory of articles (ex. Smartsction), while in the module XoopsTag the tags are linked to file view.tag.php of XoopsTag module.

Solution:
(module XoopsTag) edit tag/include/tagbar.php
change on line 74
$tags_data[] = "/modules/" . $GLOBALS["xoopsModule"]->getVar("dirname") . "/view.tag.php" . URL_DELIMITER . urlencode($tag) . "" title="" . htmlspecialchars($tag) . "">" htmlspecialchars($tag) . "";


with

$tags_data[] = "/modules/tag/view.tag.php" . URL_DELIMITER . urlencode($tag) . "" title="" . htmlspecialchars($tag) . "">" htmlspecialchars($tag) . "";



Note: Sorry for grammatical errors! :P

Login

Who's Online

395 user(s) are online (334 user(s) are browsing Support Forums)


Members: 0


Guests: 395


more...

Donat-O-Meter

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

Latest GitHub Commits