User Tools

Site Tools


rand_items_widget

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
rand_items_widget [2017/01/14 17:23]
admin [Random Photos]
rand_items_widget [2017/01/14 17:24] (current)
admin [Random Photos]
Line 51: Line 51:
 To make a widget display random photos add this code inside the index.html file: To make a widget display random photos add this code inside the index.html file:
  
-<​!--widget="​photos(array('​mode'​=>'​new','​area'​=>'​front','​total'​=>​6))"​-->​+<​code>​<​!--widget="​photos(array('​mode'​=>'​new','​area'​=>'​front','​total'​=>​6))"​--></​code>
  
  
 To make a widget display random photos on the member'​s home page or other pages use this code inside the appropriate html file from the skins_site/​def/​ folder: To make a widget display random photos on the member'​s home page or other pages use this code inside the appropriate html file from the skins_site/​def/​ folder:
  
-<​!--widget="​photos(array('​mode'​=>'​rand'​))"​-->​+<​code>​<​!--widget="​photos(array('​mode'​=>'​rand'​))"​--></​code>
  
rand_items_widget.txt ยท Last modified: 2017/01/14 17:24 by admin