Light Style© by Fisana

Jump to content

Wolfie's Whine's uses cookies. Read the Privacy Policy for more info. To remove this message, please click the button to the right:    I accept the use of cookies



Quotes (View All Quotes)

  • "Practice makes perfect..... But nobody's perfect...... So why practice?"


    Unknown
    Added: 11 July 2012 - 11:14 pm

Random Gallery Image



Recent Status Updates

  • Photo
      21 Jan
    gabbie

    Well thts all my towels, flannels , sheets and bed clothes tidied up and put bk nice and neat.

View All Updates


- - - - -

Meta Title Tag Modification

ip.content

This guide will show you how to alter the meta tags for your databases in IP.Content to a better format then how they are in their standard format.
Open your conf_global.php file and add this before ?>.
define( 'CCS_PAGE_TITLE_HOME', '' );

define( 'CCS_PAGE_TITLE_CAT', '' );

define( 'CCS_PAGE_TITLE_RECORD', '' );

define( 'CCS_PAGE_TITLE_LIST', '' );
When you have done this, you need to add the variables, this will generate your page title. As you have seen on the page I showed you, you get these options.

// {page_name} = Page name
// {database_name} = Databae name
// {category_name} = Category name (only available for CCS_PAGE_TITLE_CAT and CCS_PAGE_TITLE_RECORD)
// {record_name} = Record name (only available for CCS_PAGE_TITLE_RECORD)
// {website_name} = Website name as configured in ACP
// {board_name} = Board name as configured in ACP

I wanted my page titles to look like this.

Page: Page Name - Board Name
Article: Article Title - Category Name - Board Name
Category: Category Name - Page Name - Board Name

And this is how I did it.
define( 'CCS_PAGE_TITLE_HOME', '{page_name} - {board_name}' );

define( 'CCS_PAGE_TITLE_CAT', '{category_name} - {page_name} - {board_name}' );

define( 'CCS_PAGE_TITLE_RECORD', '{record_name} - {category_name} - {board_name}' );

define( 'CCS_PAGE_TITLE_LIST', '{page_name} - {category_name} - {board_name}' );
This was another useful topic from the IPS website, again thanks to those in the topic for this information.


0 Comments



  • 39,427 Total Posts
  • 30 Total Members
  • killerwolfie Newest Member
  • 31 Most Online

  • 0 Total Albums
  • 0 Total Images
  • 0 Total Comments
  • 0 Total Image Views