Auto Display Page Title
To add an Auto Generated Page Title to a page, add this line of code and style:
<h1>
<cfif qry_pageinfo.fldToolBarTitle is not "">
<cfset displayTitle = qry_pageinfo.fldToolBarTitle>
<cfelse>
<cfset displayTitle = qry_pageinfo.fldTitle>
</cfif>
<cfoutput>#displayTitle#</cfoutput>
</h1>
If the above does not work:
<h1>
<cfset request.page_title = qry_pageinfo.fldToolBarTitle>
<cfif len(Trim(qry_pageinfo.fldTitle))>
<cfset request.page_title = Trim(qry_pageinfo.fldTitle)>
</cfif>
</h1>
subpages
- Auto Display Page Title
- Blog
- CSS Animations
- Drop Down Menu
- Email Subscription
- Google Fonts
- Google Maps API
- Header Videos
- Instagram Feed
- Layout Override
- On-Page Nav Scrolling
- Onecast / Latest Sermon
- Page Content
- Page Content Edit Buttons
- Parallax Scrolling
- Per Page SEO
- Permalink Conversion
- Popup Box
- Rotator / Event Box
- Sidebar Pop-out
- Site Search
- Slider
- Social Media Icons
- Split Navigation
- Staff Module
- Subpage Module
- TinyMCE Content Editor
- Twitter Feed
- Deprecated Add Ons