How do I load a Site Variable inside a Page or Block (stored in Fuel)?
I have a bunch of Site Variables stored in the Fuel admin and want to know the syntax for referencing it inside the fuelified blocks and pages that they need to appear on. Can someone show me how to do this?
I tried the Php variable dialog in the editor, but that only works for php variables.
Erik
Comments
ie. site variable name is contact_email ... just use $contact_email in your view
Site variable: BIKE_SHARE_SYSTEM_NAME
Example 1:
{$BIKE_SHARE_SYSTEM_NAME}
Generates this error:
A PHP Error was encountered Severity: Notice Message: Undefined index: BIKE_SHARE_SYSTEM_NAME Filename: compiled/cec6c7d87a2e6c3a8f9f4029264e4c0f.d17.php Line Number: 3
Example 2:
{BIKE_SHARE_SYSTEM_NAME}
Generates this error:
Plugin BIKE_SHARE_SYSTEM_NAME can not be found, maybe you forgot to bind it if it's a custom plugin ?