Theme SEO Functionality
New SEO CBHelper Functions for your Theme
<title>#cb.getContentTitle()#</title>
<meta name="description" content="#cb.getContentDescription()#" />
<meta name="keywords" content="#cb.getContentKeywords()#" />Adding Meta to your Modules
function index(event,rc,prc){
cbhelper.setMetaTitle( 'My cool module' );
cbhelper.setMetaKeywords( 'ContentBox, Ortus, Themes, Modules' );
cbhelper.setMetaDescription( 'My new module now has Meta Data to be used my the Theme.' );
cbhelper.prepareUIRequest( "pages" );
event.setView( "home/index" );
}Last updated
Was this helpful?
