WARNING: concrete5 5.6 and earlier are end-of-life. Sales from the marketplace have now ended. Click here to learn more about this transition.

Do you have a requirement for specialised functionality built on Concrete CMS?
I work at an hourly rate or can offer a fixed price against a well defined requirement.

Notifications of private messages and support requests can be unreliable. If I have not responded within 24 hours, please email directly - contact details at c5magic.co.uk.

Magic Data On Block Load (c5.6)

On Block Load parameter interception extends the capability of Magic Data beyond templates to enable the interception and manipulation of any block parameter.

With this extension you can intercept and manipulate parameter data for any block as the data is retrieved from the database.  

Through Magic Data On Block Load you can do things like:

  • Expand tokens within any type of block. e.g. [%PAGE OWNER USERNAME%] will insert the user name of the owner of a page.
  • Change the file-set displayed by a gallery depending on who is viewing a page. e.g. [%UID ATTRIBUTE my_favourite_fileset %], where my_favourite_fileset is a user attribute.
  • Change the file-set displayed by a gallery depending on a page attribute. e.g. [%PAGE ATTRIBUTE gallery_set %], where gallery_set is a page attribute.

Magic Data On Block Load enables you to intercept and modify or completely replace block parameters in regular page areas, global areas and stacks as they are loaded for the block view.

How it Works

Behind the scenes Magic Data On Block Load provides a dashboard interface to develop, test and manage rule sets defining:

  • Which block types will be intercepted.
  • Conditions under which they will be intercepted.
  • How block parameters will be adjusted.
  • Which pages rule sets are applied to.

Within intercepted block parameters, Magic Data tokens and symbols are processed to provide a modified parameter when the block view is rendered.

Please see the associated documentation for detailed guidance and further examples. Once you get the general ideal, there are almost limitless possibilities.

See more addons by JohntheFish.

Purchase

Sales have ended due to EOL

Approved by PRB

Our 30 Day Support Policy

  • Replies to tickets every few days.

Support Hosted

  • On marketplace.concretecms.com

Also Check Out