Loading...
 

History: Random_header_images_14

Preview of version: 1

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
  • it uses elFinder modern file galery manager (with drag & drop capabilities!) by default
  • 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

Random Header Images
Random Header Images Profile


Pages in profiles.t.o involved:
One page found for title search 'Random_header_images_14'




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: 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 feature_top_bar: y feature_file_galleries: y sitemycode_publish: y feature_layoutshadows: y feature_jquery: y fgal_fix_mime_type: 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


RandomHeaderImages14 | Random Header Images 14 | RandomHeaderImage14 | Random_Header_Image_14 | RandomImages14 | RandomImage14 | RandomHeader14 | Random Header 14






History

Advanced
Information Version
Fri 04 of Aug, 2017 17:17 GMT-0000 Xavi (as xavidp - admin) attempt to avoid yaml error in 16.x (maybe), 17.x and trunk (thanks ricardo melo) 12
View
Fri 14 of Oct, 2016 09:26 GMT-0000 Xavi (as xavidp - admin) Mass search and replace 11
View
Fri 14 of Oct, 2016 09:26 GMT-0000 Xavi (as xavidp - admin) Mass search and replace 10
View
Fri 14 of Oct, 2016 09:26 GMT-0000 Xavi (as xavidp - admin) Mass search and replace 9
View
Fri 14 of Oct, 2016 09:26 GMT-0000 Xavi (as xavidp - admin) Mass search and replace 8
View
Fri 14 of Oct, 2016 09:26 GMT-0000 Xavi (as xavidp - admin) Mass search and replace 7
View
Fri 14 of Oct, 2016 09:26 GMT-0000 Xavi (as xavidp - admin) Mass search and replace 6
View
Fri 14 of Oct, 2016 09:17 GMT-0000 Xavi (as xavidp - admin) Mass search and replace 5
View
Tue 14 of Apr, 2015 08:37 GMT-0000 Xavier de Pedro re-added custom css to fix size of surrounding box 4
View
Tue 14 of Apr, 2015 08:21 GMT-0000 Xavier de Pedro removed width 3
View
Sun 15 of Mar, 2015 01:10 GMT-0000 Xavier de Pedro instructions for Tiki14 2
View
Sun 15 of Mar, 2015 01:04 GMT-0000 Xavier de Pedro ini (removed header css and style definition) 1
View