Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Title Tag


larryjam

Recommended Posts

I have this set in my index.php file

 

<title><?php echo (strlen($title_tag) > 1) ? $title_tag . ' - ' . TITLE : $title_home_default . ' - ' . TITLE; ?></title>

 

Is it possible to reverse the order in which this displays the title on the pages. How would I do this?

Link to comment
Share on other sites

I have this set in my index.php file

 

<title><?php echo (strlen($title_tag) > 1) ? $title_tag . ' - ' . TITLE : $title_home_default . ' - ' . TITLE; ?></title>

 

Is it possible to reverse the order in which this displays the title on the pages. How would I do this?

 

I don't really understand your question...

 

If you mean rearrange the title you have quoted, thats easy.

 

Like..

<title><?php echo (strlen($title_tag) > 1) ? TITLE . ' - ' . $title_tag  : TITLE . ' - ' . $title_home_default; ?></title>

Link to comment
Share on other sites

I don't really understand your question...

 

If you mean rearrange the title you have quoted, thats easy.

 

Like..

<title><?php echo (strlen($title_tag) > 1) ? TITLE . ' - ' . $title_tag  : TITLE . ' - ' . $title_home_default; ?></title>

 

Thank You

 

Just what I was looking for. Thanks for taking the time to help.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...