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.

Extended Content

With this block you will be able to add simple variables/functions (like last time edit, page visits and even more) inside a normal Content Block without dealing with PHP. If it gets some interest, I will surely add new functions, even package related (e.g. for e-commerce package a function that shows the number of items in the cart, etc.)

See the screencast for a better explanation of its possibilities.

If you have any good suggestion for a few function let me now and I will likely grant you a free license.

Below you can see a full list of currently implemented variables/functions:

 

GENERAL
Functions
eval_php_code | Insert php code
Variables
current_date | Get current date/time
Social
facebook_like_custom_page_button | Get facebook button to like custom page
facebook_like_this_page_button | Get facebook button to like current page
ABOUT PAGES
Current Page
link_to_parent_page | Generates link to parent page
page_creation_date | Page creation date
page_custom_attribute | Page custom text attribute
page_description | Page description
page_handle | Handle of the page
page_modification_date | Page modification date
page_name | Name of the page
page_public_date | Page public date
parent_page_handle | Handle of the parent page
parent_page_name | Name of the parent page
Custom Page
page_creation_date | Page creation date
page_custom_attribute | Page custom text attribute
page_description | Page description
page_handle | Handle of the page
page_modification_date | Page modification date
page_name | Name of the page
page_public_date | Page public date
parent_page_handle | Handle of the parent page
parent_page_name | Name of the parent page
ABOUT SITE
General Info
site_name | Name of the site
Statistics
last_page_edit_date | Last site modification date
total_page_views | Total page views
ABOUT USERS
C5 Groups
all_groups | List of all groups
C5 User
all_user_groups | List of all user groups
user_avatar | Avatar of the user (If available)
user_custom_attribute | User custom text attribute
user_email | Email of the user
user_first_name | First Name of the user (first_name attribute handle)
user_id | User ID
user_last_login | Last user login date
user_last_name | Last Name of the user (last_name attribute handle)
user_name | Username of the user
Other Info
user_ip | IP of the user

 

 

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