Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

(Resolved) How to remove SITE TITLE from Custom pages?

Asked Modified Viewed 3,520 times
B
buyonaut
B
  • Junior Member, joined since
  • Contributed 33 posts on the community forums.
  • Started 8 threads in the forums
  • Started this discussions
asked
Junior Member

I was wondering how to remove default site title from Custom pages?

custom page now looks like this; Site title - Page title

How to display only page title in all custom pages, withhout site title?

I guess there is something to be done in viewpage.php and output_handling_include.php but not sure what and how to modify it.

Thank for any ideas
Edited by buyonaut on 06-09-2009 20:11,
0 replies

4 posts

W
wafflechunk
W
www.wafflechunks.com/../../images/badges/wafflebadge.png
  • Member, joined since
  • Contributed 60 posts on the community forums.
  • Started 7 threads in the forums
answered
Member

One thing I tried was creating a copy of themes/templates/header.php calling it header2.php.

Then I opened viewpage.php and at the top of the code I changed header.php to header2.php

I tried several different ways to modifying the line that sets the site name as the title, but nothing I tried work.


This might be a better question for the guys at the php-fusion mods site.
0 replies
P
PolarFox
P
  • Veteran Member, joined since
  • Contributed 1,633 posts on the community forums.
  • Started 29 threads in the forums
answered
Veteran Member

In viewpage.php replace

add_to_title($locale['global_200'].$cp_data['page_title']);
[b]to[/b]
set_title($cp_data['page_title']);


And test :)
0 replies
W
wafflechunk
W
www.wafflechunks.com/../../images/badges/wafflebadge.png
  • Member, joined since
  • Contributed 60 posts on the community forums.
  • Started 7 threads in the forums
answered
Member

i knew it had to be easier than what I was making it out to be :)
0 replies
B
buyonaut
B
  • Junior Member, joined since
  • Contributed 33 posts on the community forums.
  • Started 8 threads in the forums
  • Started this discussions
answered
Junior Member

Thanks guys, works perfect!
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 4 posts
  • Votes 0 votes
  • Topic users 3 members

3 participants

B
B
  • Junior Member, joined since
  • Contributed 33 posts on the community forums.
  • Started 8 threads in the forums
  • Started this discussions
W
W
www.wafflechunks.com/../../images/badges/wafflebadge.png
  • Member, joined since
  • Contributed 60 posts on the community forums.
  • Started 7 threads in the forums
P
P
  • Veteran Member, joined since
  • Contributed 1,633 posts on the community forums.
  • Started 29 threads in the forums

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet