Skip to content

albertcansado/MleCMS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MleCMS

My own copy. NOT OFFICIAL, but stable

CMSMS Version > 1.11 not 2.x

Dependencies

  • CGExtensions

New Features

  • Add hreflang template (meta)
  • Allow multiline translation with <br>
  • Allow params inside string

Examples

String with params:

// Smarty tag
{translate text='hi :name' name='Albert'}

// Output
Hi Albert

Hreflang:

// template
<head>
	{MleCMS action="langs" template="hreflang"}
</head>

// Output
<head>
	<link rel="alternate" hreflang="fr_FR" href="http://example.com/fr/" />
	<link rel="alternate" hreflang="es_ES" href="http://example.com/es/" />
</head>

About

Module for CMS Made Simple (cmsms)

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published