opis(13).txt

(1 KB) Pobierz
THIS ADD-ON WERE TESTED WITH OPEN-REALTY v.2.4.1


This add-on displays the thumbs in TWO vertical columns with the main image in the middle.

Decompress the file javaimgcols.zip inside your "addons" folder and it will
create a folder named "javaimgcols" with the necessary files inside.

Attached you have as example, a new listing detail template file:
listing_detail_javaimgcols.html
Install this file at your template folder and set it as your listing detail
template at Site Config.
Of course, you can edit it for your need.

The tag used with this add-on is: {addon_javaimgcols_link}

This add-on is using its own stylesheet: javaimgcols.css - so edit it according
your needs.

Look the source code of addon.inc.php file and find this function:
Code:

function javaimgcols_run_template_user_fields($tag = '') {
    switch ($tag) {
        case 'addon_javaimgcols_link':
            $max_thumbs = 3; // MAX THUMBS IN EACH COLUMN
            $show_captions = 'yes'; // yes OR no -- SHOW OR NOT THE THUMBS CAPTION
            $data = javaimgcols_display_addon_link($max_thumbs,$show_captions);
            break;
        default:
            $data = '';
            break;
        }
    return $data;
    }

Where you read:
$max_thumbs = 3; // MAX THUMBS IN EACH COLUMN
$show_captions = 'yes'; // yes OR no -- SHOW OR NOT THE THUMBS CAPTION
You can modify those values to your needs.

If you are going to use the attached listing detail template attached, besides
setting this template at Site Config, there is nothing more at admin area to
configure.

Finally, this add-on does not modify your DB so if you want to remove it, just
delete the respective folder created at your "addons" folder.

Have fun!
Eduardo
Zgłoś jeśli naruszono regulamin