 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
February 16th, 2006, 07:44 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Feb 2006 Location: Drexel Hill, PA
Posts: 82
| Photo Keywords + Title into meta head tags
Here's what I and many others would like: Title tag - instead of "Photo Gallery - Photo Title" as the title of the webpage, would like "Photo Title - Photo Gallery" to better aid in SEO. Meta keywords - photo keywords ! Meta description - photo description !
Now, I don't expect anyone to write this out for me. I'm pretty good with analysing and figurings things out to get to work, but I have no idea where to start with this. Which photo post template do i begin to decipher? What php code represents "photo description", "photo keywords" and "photo title" ?
any more info that anyone can provide would be a great assistanace not just to me but to others i am sure.
thanks
bugman
|
| |
February 16th, 2006, 07:51 PM
|
#2 (permalink)
| | Member Verified Customer
Join Date: Feb 2006 Location: Drexel Hill, PA
Posts: 82
| Hey, ChuckS
i found this on another post
ChuckS: "Powered by Reviewpost is going to show in your header as thats part of the header print in our files. You can edit pp-inc.php and remove 3 times Powered by Reviewpost from that file but you can not remove the copyright in the footer."
That's what I'd like to do - instead of removing "Powered by", i'd simply like to put in that file the $phototitle (or whatever it is) in front of the "Powered by" or replace it with the overall title of my gallery.
any thoughts ?
|
| |
February 16th, 2006, 08:01 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Feb 2006 Location: Drexel Hill, PA
Posts: 82
| more digging in the forums
I found this:
--------------------------------------------------------------------
ChuckS: "Well you'll probally need to make your headtags file a php file and do something like this
<?
if ( THIS_SCRIPT == "showphoto" ) {
echo <<<PPPRINT
<meta name="keywords" content="$title,$keywords" />
<meta name="description" content="$description" />
PPPRINT;
}
?>
-------------------------------------------------------------
then more by ChuckS: "Open showphoto and and grab the variables and replace my examples (above) with the proper ones. My posts are guidelines to follow not the hack. Remember this is a how do I forum not write me a hack forum."
-----------------------------------------------------------
|
| |
February 17th, 2006, 02:51 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,649
|
Your script already passed the title to the page title Code: Content visible to verified customers only.
Familiarize yourself with the printheader function and how it works and any modification questions you have you can ask in the mod forums.
|
| |
February 17th, 2006, 05:06 PM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Jul 2005
Posts: 163
|
I will get around posting how I made my site SEO friendly one of these days, at the moment I have to many queries and other clutter that I need to get rid of. Most of the editing I did was to do with $theader in pp-inc.php http://www.itraveluk.co.uk/photos/sh...ry/cat/540.php
Still needs a bit of work.
Last edited by Garrynz; February 17th, 2006 at 05:10 PM.
|
| |
February 17th, 2006, 06:26 PM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Feb 2006 Location: Drexel Hill, PA
Posts: 82
|
ChuckS, how do i familiarize myself with the printheader function?
|
| |
February 18th, 2006, 08:05 AM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,649
|
Well the printheader function has a $titlereplace function which passes the title of a page variable and you can make it in showphoto the photo title which we already do Code: Content visible to verified customers only.
Thats why I said familiarize yourself with the code and what it does so you know what you can and can not do.
|
| |
February 18th, 2006, 08:23 AM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Feb 2006 Location: Drexel Hill, PA
Posts: 82
|
Thanks. can you point me in the direction of what files i should be tooling with? pp_inc ?
since there are meta keywords and meta descriptions defaults already without needing a headtags, can't i simply edit this php file ?
|
| |
February 18th, 2006, 08:39 AM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,649
|
pp-inc.php is where the function is but depending on what your doing all depends on what you need to modify.
|
| |
March 5th, 2006, 01:37 PM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Feb 2006 Location: Drexel Hill, PA
Posts: 82
|
*bump*
still banging my head trying to figure this out. anybody ?
|
| |
March 5th, 2006, 03:54 PM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,649
|
The easiest way to do this is to use an external headtags.php file and place a conditional like maybe this? Code: Content visible to verified customers only.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 08:06 AM. | |