31
angelomorto
Re: Filter Blocks by Category




32
angelomorto
BlocksGroupsFilter v.1a




33
angelomorto
Re: Filter Blocks by Category (progress)




34
angelomorto
Re: Filter Blocks by Category

I began the hard work!
I arrived at this step...
(view post onhttp://www.xoopsitalia.org/forum/p/69328/re-filtrare-i-blocchi-per-categoria.html )
Now I have two problems ...

The first problem is to make dynamically the following code...
in modules/system/admin/blocksadmin/main.php
// Hack by HakaIT (block category filter) START  
$sel_cat = new XoopsFormSelect_AM_SYSTEM_BLOCKS_CATEGORY'selcat'$selcat );  
$sel_cat->setExtra"onchange='submit()'" );  
$sel_cat->addOption( -1_AM_SYSTEM_BLOCKS_TYPES );  
$sel_cat->addOption0'Cat1' );  
$sel_cat->addOption1'Cat2' );  
$filterform->addElement$sel_cat ); 
// Hack by HakaIT (block category filter) END


In reality, the options must be dynamic, so you have to query the new table xoops_block_category.

The second problem is to create the Category Manager page.

Tips????



35
angelomorto
Filter Blocks by Category

Hello everybody!
I have many sites where I have to manage many blocks, it would be helpful if i filter blocks by category.
can you do?



36
angelomorto
Re: Bug error in Smartsection 2.14 on Xoops 2.5.4

Quote:

Pakaj wrote:
convert file into UTF-8.


How to convert the file into UTF-8???



37
angelomorto
Bug error in Smartsection 2.14 on Xoops 2.5.4

Hi all!
I installed Smartsection 2.14 in Xoops 2.5.4 but during installation i get this error:

Quote:

A problem has occurred on our server!

Page is currently unavailable

We are working on a fix
Please come back soon ...
Error : Smarty error: [in db:smartsection_items_spot.html line 1]: syntax error: unidentified token '#039;block'' (Smarty_Compiler.class.php, line 1410)


What's the problem?
In Xoops 2.5.3 i don't have this error!
What has changed?



38
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[] = "<a href="" . XOOPS_URL . "/modules/" . $GLOBALS["xoopsModule"]->getVar("dirname") . "/view.tag.php" . URL_DELIMITER . urlencode($tag) . "" title="" . htmlspecialchars($tag) . "">" htmlspecialchars($tag) . "</a>";


with

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



Note: Sorry for grammatical errors! :P



39
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



40
angelomorto
Re: SEO Redirect 301 on Smartsection

I try this solution, but don't work well...
The result is...
http://www.miosito.it/articles//

Quote:

Peekay wrote:
You could try this:

Options +FollowSymlinks
RewriteEngine on

RewriteCond 
%{REQUEST_URI}  ^/modules/smartsection/item.php$
RewriteCond %{QUERY_STRING} ^id=([0-9]*)$
RewriteRule ^(.*)$ http://www.miosito.it/articles/%2/? [R=301,L]




TopTop
« 1 2 3 (4) 5 »



Login

Who's Online

238 user(s) are online (137 user(s) are browsing Support Forums)


Members: 0


Guests: 238


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