Pictureurl V1 is out

philou  25-May-2005 20:46 5775 Reads  10
This very simple module allow to display a different picture to each page of your XOOPS website.
It adds 2 new smarty variables, including possibly a display style for the picture.

This module does not have any menu or block.
Start by uploading your pictures with admin interface, or directly by ftp in uploads/pictureurl directory of your website.

The form 'create a picture' allows to associate a picture to a page (url) of your site.

you can use 2 new smarty vars, one classic div and one with css attributes

Download the module Pictureurl

Thanks to Christian for the doc page

Installation At the module installation, a picture storage directory will be created automatically (uploads/pictureurl). To use the smarty variable, you must modify the file header.php, at your website root. Yous must paste the following code just before the line // Weird, but need extra tags for 2.0.x themes , for example. // module pictureurl Philou include_once XOOPS_ROOT_PATH.'/modules/pictureurl/include/function.php'; $xoopsTpl->assign('xoops_pictureurl', xoops_getpictureurl()); $xoopsTpl->assign('xoops_pictureurlcss', xoops_getpictureurlcss()); // end pictureurl Philou Smarty variables integration in your theme or template Edit the file theme.html for example and insert <{$xoops_pictureurl}> or <{$xoops_pictureurlcss}> at the place where your picture must be displayed. Don't forget to answer yes in admin system, preferences, general parameters, Theme, files update by themes/ directory in order to validate your modification.
Rating 0/5
Rating: 0/5 (0 votes)
Votes are disable!
Print article


Who's Online

58 user(s) are online (5 user(s) are browsing Publisher)

Members: 0

Guests: 58



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

Latest GitHub Commits