PDA

View Full Version : noob question...changing title link


JEB
07-02-2007, 04:40 PM
Hi all,

Is is possible to change the link in the title (header) to a different URL, rather than the Pixelpost index.php page?

THANKS!

Dennis
07-02-2007, 04:51 PM
yeah, all is possible but for this you have to hack the core code. And this is not recommended because when you update the changes are gone.

Why would you change the title link to something else? It is against common webdesign.

dakwegmo
07-02-2007, 04:54 PM
Yes it's pretty easy. If you're using the simple template, you'll change this line

<h1><a href="index.php" title="Return to current image"><SITE_TITLE></a></h1>


instead of index.php, you'll put whatever page you want it to go to.

If you want specifics about how to do it for your site, please tell us what template you're using, or provide a link to your site.

GeoS
07-02-2007, 04:54 PM
@JEB: Tell us what do you mean by "change the link in the title (header)" - which link in which file??

JEB
07-02-2007, 04:58 PM
sorry..the main title for all pages...where you put your site name, or site title. it's the one dakwegmo mentioned... is that in the index.php code or one of the includes where I need to make that change?

I am installing this for a client, and I recommended against it, but they still want to try it :(

thanks for the replies thus far

JEB
07-02-2007, 04:59 PM
and basically, I get the feeling they are going to want me to make the Pixelpost gallery show up INSIDE their main page, I may try an iFrame or something if that's what they want... will gladly take advice on anything I could do in that regard as well :) thanks for everyone's knowledge!

dakwegmo
07-02-2007, 05:46 PM
The <SITE_TITLE> tag displays whatever you have stored in admin->options->title field.

You can build the link around this, as I showed above, or you can hard code the template to show exactly what you want, ignoring the title tag.

JEB
07-02-2007, 05:50 PM
The <SITE_TITLE> tag displays whatever you have stored in admin->options->title field.

You can build the link around this, as I showed above, or you can hard code the template to show exactly what you want, ignoring the title tag.

OK, thanks! will look into that