Redirect Link to Album with "<META HTTP-EQUIV="Refresh..."
pkirchner
Joined: 2002-10-08
Posts: 2 |
Posted: Wed, 2007-05-23 03:29 |
The following information is required to get an answer: Hello, I'm using 1.5.6 and am having trouble adding this text: <META HTTP-EQUIV="Refresh" CONTENT="0; URL=http://www.kirchner-family.net/redirectpascal.html"> to the album summary text in order to redirect the user to an album on a different domain. I have tried adding it using the admin web page and also tried manually editing the album.dat file but the meta code won't stick. It was suggested that edit the safe.php to prevent the meta tag from being deleted, but if I remove 'meta' from that file it allowed the tag, but added "</meta>" and it still didn't work. Could someone walk me through how to redirect an album link in the current 1.5.6 version please? Thanks much, Patrick. |
|
Posts: 6818
Hi Patrick!
First: I LOVE DISCOSTU !
Editing Safe.php is indeed the solution.
You need to do this:
1.) remove 'meta' from $deleteTags array
2.) add 'meta' to $noClose array
3.) add 'http-equiv' to $attributeNS array
Greetings,
Jens
--
Last Gallery v1 Developer and v1 translation manager.
Posts: 2
"Did you know that disco record sales were up 400% for the year ending 1976? If these trends continues... AAY!"
Thanks Jens! You nailed it on the head. Three quick and easy steps and now I have my redirect. http://www.kirchner-family.net/gallery/Pascal
Disco Stu thanks you!
Patrick.
Posts: 6818
I was born in 1976 ;-)
Jens
--
Last Gallery v1 Developer and v1 translation manager.