Skip to content

Adds HCM for loading content from other pages and articles.

License

Notifications You must be signed in to change notification settings

friends-of-sunlight-cms/hcm-content-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HCM content

Adds HCM for loading content from other pages and articles.

  • SunLight CMS 8

For content wrapping it is possible to set a custom template in the plugin configuration, using placeholders (%id%, %slug%, %perex%, %picture% (for article), %content%).

[hcm]page_content,id[/hcm]

[hcm]page_content,12[/hcm] //example
[hcm]page_content,12-13-14[/hcm] //example
  • id - page id or multiple ids separated by hyphens
[hcm]article_content,id[/hcm]

[hcm]article_content,67[/hcm] //example
  • id - article id
Copy the folder 'plugins' and its contents to the root directory

or

Installation via administration: 'Administration > Plugins > Upload new plugins'