Loading...
 

History: Random_header_images

Preview of version: 6

This profile adds a module in the top zone that displays a random image from a File Gallery. You can change some default values before you apply this profile in your site, but we suggest you to keep the values provided by default to see a working example as expected of this profile:
  • default configuration uses images at 800x150px, resized at 980px wide by the header module to fit in the 990px default configuration for the fixed site width
  • a different random image is shown at each page load
  • you can tweak the module and file gallery defaults as needed for your needs also through the admin wizard or admin panels, after the profile has been applied

Pages in profiles.t.o involved:
6 pages found for title search 'Random_header_images'




Introduction


Features (Quick List)

  • Random header image from files included in a file gallery

Features & Settings (YAML)

YAML
instructions: Instructions for the Random Header Images preferences: style: $profilerequest:style$gradiant.css$ feature_sitelogo: $profilerequest:feature_sitelogo$n$ feature_fixed_width: $profilerequest:feature_fixed_width$y$ layout_fixed_width: $profilerequest:layout_fixed_width$990px$ fgal_elfinder_feature: $profilerequest:fgal_elfinder_feature$y$ fgal_default_view: $profilerequest:fgal_default_view$finder$ feature_iepngfix: y # prevents major ugliness in IE6 header_custom_css: wikicontent:Random_header_images_Custom_CSS feature_top_bar: y feature_file_galleries: y sitemycode_publish: y feature_layoutshadows: y feature_jquery: y


User Interface (YAML)


Modules


YAML
objects: - type: module ref: module_header_pics data: name: Header Pictures position: top order: 2 groups: [ Anonymous, Registered ] mode: create_or_update params: notitle: y nobox: y custom: "{CENTER()}{img randomGalleryId="$profileobject:header_pictures_gallery_id$" stylebox="border" width="980"}{CENTER}" parse: y


Object Creation (YAML)


Wiki Pages

YAML
objects: - type: wiki_page ref: random_header_images_instructions_include data: name: Instructions for the Random Header Images description: Profile Instructions lang: en mode: create_or_update content: wikicontent:Random_header_images_Instructions



YAML
objects: - type: file_gallery ref: header_pictures_gallery_id data: name: Header Pictures description: Images for the header at 800 x 150 px that will be resized to 980px in the header module owner: admin archives: 0 flags: [ public, visible, lockable ] column: [ icon, name, created, creator, files ] init_files: - http://tiki.org/display505 - http://tiki.org/display507 - http://tiki.org/display508 - http://tiki.org/display509 - http://tiki.org/display510 - http://tiki.org/display511


Header images are derived from the ones taken by Jean-Marc Libs (jyhem) in Barcelona during the TikiFestBarcelona2 in 2010.

Groups & Permissions (YAML)


Name Description
Anonymous Anonymous users can read blog posts and add comments
Registered Standard registered users
Editors Can upload new images to file galleries



YAML
permissions: Anonymous: allow: - download_files - list_file_galleries - view_file_gallery description: Already exists Editors: description: Can approve & delete allow: - view_fgal_explorer - view_fgal_path - upload_files - upload_picture - admin_file_galleries - clean_cache include: Registered


RandomHeaderImages | Random Header Images | RandomHeaderImage | Random_Header_Image | RandomImages | RandomImage | RandomHeader | Random Header







History

Advanced
Information Version
Fri 14 of Oct, 2016 09:26 GMT-0000 Xavi (as xavidp - admin) Mass search and replace 17
View
Fri 14 of Oct, 2016 09:26 GMT-0000 Xavi (as xavidp - admin) Mass search and replace 16
View
Fri 14 of Oct, 2016 09:26 GMT-0000 Xavi (as xavidp - admin) Mass search and replace 15
View
Fri 14 of Oct, 2016 09:26 GMT-0000 Xavi (as xavidp - admin) Mass search and replace 14
View
Fri 14 of Oct, 2016 09:26 GMT-0000 Xavi (as xavidp - admin) Mass search and replace 13
View
Fri 14 of Oct, 2016 09:26 GMT-0000 Xavi (as xavidp - admin) Mass search and replace 12
View
Fri 14 of Oct, 2016 09:17 GMT-0000 Xavi (as xavidp - admin) Mass search and replace 11
View
Thu 27 of Mar, 2014 10:35 GMT-0000 Xavier de Pedro returning to the hardcoded size for the module img width in the header (max-width 100% and height auto didn't work as expected 12x nor in 13x). Thanks chibaguy anyway for the hint 10
View
Thu 27 of Mar, 2014 10:32 GMT-0000 Xavier de Pedro fgal_fix_mime_type added to attempt to fix the issue detected by Gary (Windows I guess). Also changing default params for the img plugin call in the header custom module 9
View
Wed 12 of Mar, 2014 10:34 GMT-0000 Xavier de Pedro image added 8
View
Wed 12 of Mar, 2014 10:20 GMT-0000 Xavier de Pedro added info about elFinder 7
View
Wed 12 of Mar, 2014 10:18 GMT-0000 Xavier de Pedro added prefs for elfinder 6
View
Wed 12 of Mar, 2014 10:09 GMT-0000 Xavier de Pedro updated info 5
View
Wed 12 of Mar, 2014 10:06 GMT-0000 Xavier de Pedro updated info 4
View
Wed 12 of Mar, 2014 09:59 GMT-0000 Xavier de Pedro made some settings configurtable at profile application time (requested to tiki admin) 3
View
Wed 12 of Mar, 2014 09:50 GMT-0000 Xavier de Pedro removed references to custom code 2
View
Wed 12 of Mar, 2014 09:43 GMT-0000 Xavier de Pedro first version 1
View