PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Installation & Upgrades (http://www.photopost.com/forum/photopost-pro-installation-upgrades/)
-   -   Web Browser Title Display (http://www.photopost.com/forum/photopost-pro-installation-upgrades/110624-web-browser-title-display.html)

hometownhiphop November 25th, 2004 11:32 PM

Web Browser Title Display
 
How can I change the text inside of the <title> tags of my PP pages that the web browsers display? I don't want the title bar to show "Powered by Photopost" each time a page is diplayed in a browser.

Chuck S November 26th, 2004 06:15 PM

You may change that by editing the printheader function pp-inc.php line 315

<title>{$Globals['galleryname']} - {$titlereplace} - Powered by PhotoPost</title>

to

<title>{$Globals['galleryname']} - {$titlereplace}</title>

mvulcan December 3rd, 2004 11:56 AM

In ReviewPost how can I change the title of each page
to also include the "Manufacturer"
instead of just the product model?

Currently shows

" [website name] - [product model] - Powered by ReviewPost "

I would like it to say:

" [website name] - [manufacturer] - [product model] "

Thanks,
Mike

Chuck S December 3rd, 2004 01:43 PM

I do not show that we use the variable titlereplace in showproduct.php

mvulcan December 3rd, 2004 04:48 PM

Quote:

I do not show that we use the variable titlereplace in showproduct.php
I believe it's in pp-inc

in any case, yes the title does get replaced with the product name
check the url:
http://www.wranglergear.com/reviews/....php/product/4

was hoping I could also put in the manufacturer

Chuck S December 3rd, 2004 05:09 PM

I know where titlereplace is in the printheader function

Try changing this line in showproduct.php

printheader( $cat, " $title" );

to this

printheader( $cat, " $manu $title" );

mvulcan December 6th, 2004 01:04 PM

Sorry,
I changed that, and it didn't make a difference...
I also change the above, but I still get

"Powered by ReviewPost Classifieds" also in my titles??

Any ideas?

my site can be seen here:

http://wranglergear.com/reviews

Thanks

Chuck S December 6th, 2004 06:20 PM

Your question did not ask how to get rid of the powered by in the header.

Your question was how to add the manufacturer and the answer is correct.

mvulcan December 6th, 2004 07:38 PM

Quote:

Your question did not ask how to get rid of the powered by in the header.
umm... I want to accomplish both.

Neither the 'powered by' nor the 'manufacturer' have been added to the title.
I tried both things you recommend in this thread.

Chuck S December 6th, 2004 07:54 PM

Both simple edits to files in this thread work and are correct.

You may continue your discussion on how to hack your files over at the hack site

http://www.photopostdev.com

Photopost support assists customers with the normal operation of the code and errors they recieve.

mvulcan December 6th, 2004 08:37 PM

Quote:

Originally Posted by omegatron
Both simple edits to files in this thread work and are correct.

You may continue your discussion on how to hack your files over at the hack site

http://www.photopostdev.com

Photopost support assists customers with the normal operation of the code and errors they recieve.

Here's an idea, since you're so helpful...
don't consider it a hack, consider it a feature request.

The feature request being:
1. I want to be able to remove the 'powered by...' without having to "hack" files
2. I want to be able to add the Manufacturer to the title - so page titles would be more descriptive, again without having to "hack" files.

Thank you very much.

Chuck S December 6th, 2004 09:00 PM

You may post any feature suggestions in the suggestions forum for Reviewpost

mvulcan December 6th, 2004 11:43 PM

my apologies,

both of the above 'hacks' do work.

I'm can't figure out why it didn't work the first time I tried, the only thing I can imagine I did wrong, is maybe I forgot to upload the modified files.

Thanks you very much,
sorry for being a bit snippy before.

Mike


All times are GMT -5. The time now is 06:17 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97