View Full Version : Target on category links.
Kenneth K
06-09-2005, 06:24 PM
I'm testing pp 1.4.1 at the moment before I upgrade my blog from 1.3.
This might have been mentioned before I don't know, anyway I have the category showing in a popup comments windows and when you click the catogory link the browse page opens inside the popup. I'd like it to open on the main page. How do I correct the target on the categories links?
Also I've noted that line-breaks are still not keept when commenting. I remember a fix for that but can't seem to find it now. Anyone happend to have a link?
Kenneth
Joe[y]
06-09-2005, 06:55 PM
in index.php change the line:
$image_category_all .= "<a href='$PHP_SELF?x=browse&amp;category=$cat_id'>" .$cfgrow['catgluestart'] .
to
$image_category_all .= "<a href='$PHP_SELF?x=browse&amp;category=$cat_id' target='new'>" .$cfgrow['catgluestart'] .
Kenneth K
06-09-2005, 06:59 PM
Flawless! Thank you. :D
Kenneth
Joe[y]
06-09-2005, 07:01 PM
good to know. your blog is looking really good! i'm impressed.
EDIT: added you to my photoblogs.org faves... really like soem of your work!
Kenneth K
06-09-2005, 07:06 PM
Thanks :)
I also just found your fix for the linebreaks issue. All I need now is updating my database...
Kenneth K
06-09-2005, 07:19 PM
Joe[y] - I'm glad you like my pictures. Do you happend to know phpmyadmin well (2.6.0-pl3). I'm trying to backup my DB but I'm not sure I'm doing it correctly. All the guides I find are made for older versions of phpmyadmin.
Kenneth
Joe[y]
06-09-2005, 07:41 PM
if you save as SQL with no compression and use all the default 'export' settings i think that should work fine. i have never had to transfer my database though - but i'm fairly sure that should work ok. you're just gonna have to be brave ;)
Kenneth K
06-09-2005, 08:08 PM
That's the problem I'm not brave at all when it comes to this... :roll:
Joe[y]
06-09-2005, 08:38 PM
That's the problem I'm not brave at all when it comes to this... :roll:
that's something you're just gonna have to change then...
is there no way to hold on to your current database during the transfer?
fauxtog
06-10-2005, 03:58 AM
Hey Kenneth. I just did exactly what Joe[y] suggested (before I read this) and all went well. I just moved to a new host and the db export worked perfect.
Not a guarantee of course. :-)
Saved as file with no compression.
Kenneth K
06-10-2005, 09:35 AM
I upgraded pixelpost last with no problems at all. I didn't move host but I just wanted some confirmation on that the sql file I exported was OK and perfectly usable <b>if</b> I screwed something up durring upgrade. I didn't do that and all is well. :)
Kenenth
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.