LEAP™ is a content editor’s dream (CMS), a designer’s best option, and the perfect framework for site development.
LEAP™ is simpleLEAPLEAP™ is secureLEAPLEAP™ is SEO-centric

Changing a Page Title from within a Plugin

There are times you will want to manipulate the page title of your HTML, such as a directory listing detail page. For SEO purposes it's great to specify more accurately what the page is about so engines like Google can display to the user more attractive results.

LEAP™ provides the following two variables:

$page_requestedTitlePrepend
This variable allows a module to insert content to the start of the page's existing title.

$page_requestedTitleAppend
This variable allows a module to insert content to the end of the page's existing title.

Usage

$page_requestedTitlePrepend->append(#thisuser->firstname+' '+#thisuser->lastname+' - ')

$page_requestedTitleAppend->append(': '+#companyname)

© Copyright LEAP™ 2017 | Privacy Policy | Design by Treefrog Inc.