2017 © Pedro Peláez
 

library web-template-smarty-cms

Smarty template integration for the CMS of the Ride framework

image

ride/web-template-smarty-cms

Smarty template integration for the CMS of the Ride framework

  • Friday, January 13, 2017
  • by ride-user
  • Repository
  • 10 Watchers
  • 0 Stars
  • 474 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 5 % Grown

The README.md

Ride: Template (Smarty)

This module adds Smarty functions and modifiers for the CMS of a Ride application., (*1)

Functions

[Smarty docs], (*2)

content

Returns the URL of a content object or the full Content instance when requested in a variable., (*3)

Parameter Type Description
type string Name of the content type
data mixed Actual data or entry, can be an id when using the ORM
locale string Code of the locale, if omitted, the current locale is used (optional)
site string Id of the site, if omitted, the current site is used (optional)
var String Variable name to assign the content instance to (optional)
{content type="News" data=$newsEntry var="newsContent"}

Modifiers

[Smarty docs], (*4)

text

Parses relative URL's into absolute ones and replaces all known variables between [[ and ]] into their value., (*5)

Parameter Type Description
String Text to parse
{"Copyright © 1999-[[year]]"|text}

Check the readme of the available variables., (*6)

Installation

You can use Composer to install this module., (*7)

composer require ride/web-template-smarty-cms

The Versions

13/01 2017

dev-master

9999999-dev

Smarty template integration for the CMS of the Ride framework

  Sources   Download

MIT

The Requires

 

by Joris Vandeweerd

13/01 2017

dev-develop

dev-develop

Smarty template integration for the CMS of the Ride framework

  Sources   Download

MIT

The Requires

 

by Joris Vandeweerd

13/01 2017

1.0.0

1.0.0.0

Smarty template integration for the CMS of the Ride framework

  Sources   Download

MIT

The Requires

 

by Joris Vandeweerd