Adding Meta to your Modules
One common issue with using the theme for your module is the way Meta Tags are generated. Having your own module, its hard to set your Title, Keywords and Description.
In ContentBox 3.1, coming out very soon, you are able to do this inside your Module Handler Events
1
function index(event,rc,prc){
2
cbhelper.setMetaTitle( 'Gavins cool module' );
3
cbhelper.setMetaKeywords( 'Gavins cool keywords' );
4
cbhelper.setMetaDescription( 'Gavins cool description' );
5
cbhelper.prepareUIRequest( "pages" );
6
event.setView( "home/index" );
7
}
Copied!
Copy link
Edit on GitHub