Welcome, Guest. Please login or register.
Did you miss your activation email?
May 25, 2012, 09:43:19 PM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155528 Posts in 21713 Topics by 7737 Members
Latest Member: chris85
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: hyphen on page title  (Read 1087 times)
applepie

Offline Offline

Posts: 342


« on: November 10, 2009, 10:46:29 PM »

Hi, how do I get rid of the hyphen on page title? I cant see it on the template and it is not on the admin backend?
Logged
crnogorac081
AddOn Development
*
Offline Offline

Posts: 1706



« Reply #1 on: November 10, 2009, 11:00:39 PM »

Hi,

You can manually replace title lines with    <title><?php PAGE_TITLE; ?></title>

cheers
Logged

Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
applepie

Offline Offline

Posts: 342


« Reply #2 on: November 11, 2009, 12:29:20 AM »

Hi,

You can manually replace title lines with    <title><?php PAGE_TITLE; ?></title>

cheers


Sorry that is not what I wanted. I want the page title but somehow it automatically insert a hyphen between the Website title and page title, eg: My Site - this is my site.
Logged
Stefek
WebsiteBaker Org e.V.

Offline Offline

Posts: 4884



« Reply #3 on: November 11, 2009, 01:44:04 AM »

Hello Applepie,

Please use google translator to get the content in english:
http://phpmanufaktur.de/cms/topics/seo-seitentitel.php

It may help you wink

Regards,
Stefek
Logged

"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
applepie

Offline Offline

Posts: 342


« Reply #4 on: November 11, 2009, 12:07:21 PM »

Please use google translator to get the content in english:
http://phpmanufaktur.de/cms/topics/seo-seitentitel.php

Sorry the page cannot be translated. It says there is an error. Can you tell me which file should i look into to find the dash on the header? Its not in the index.php template. It must be coming from somewhere. Thanks in advance.
Logged
aldus

Offline Offline

Posts: 1238


« Reply #5 on: November 11, 2009, 12:16:36 PM »

You can use e.g.

Code:
<?php
    page_title 
(" ");
?>


or
Code:
<?php
    page_title
("""[WEBSITE_TITLE]");
?>


inside your (default-) template instread of PAGE_TITLE ...

For details you can take a look at "framework/frontend.functions.php" on line 307 ff.

Regards
Aldus
« Last Edit: November 11, 2009, 12:19:53 PM by aldus » Logged
Argos
Moderator
**
Offline Offline

Posts: 2160


WWW
« Reply #6 on: November 18, 2009, 05:48:31 PM »

In most templates the HEAD of the template contains this line:

<title><?php echo WEBSITE_TITLE; ?>-<?php echo PAGE_TITLE; ?></title>

The hyphen is right in the middle. You can remove it.
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
Stefek
WebsiteBaker Org e.V.

Offline Offline

Posts: 4884



« Reply #7 on: November 18, 2009, 05:58:12 PM »

Here is something on the help page also:
http://help.websitebaker.org/pages/en/advanced-docu/designer-guide/adding-template-functions.php#anker1

Regards,
Stefek
Logged

"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
frenchi1966

Offline Offline

Posts: 4


« Reply #8 on: September 27, 2010, 04:27:28 PM »

Hi, how do I get rid of the hyphen on page title? I cant see it on the template and it is not on the admin backend?

<title><?php page_title(); ?></title>

this is what i get in my template index page.

and this is the title what is displayed on home:

- Holiday........   

how can i remove this dash in the title? It must be somewhere else? huh

thanks
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6975


WWW
« Reply #9 on: September 27, 2010, 05:49:13 PM »

Aldus answered your question already further up ... wink

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!