Looooooong searchnew.php file list .. little comfort mod ;) Looooooong searchnew.php file list .. little comfort mod ;)
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Looooooong searchnew.php file list .. little comfort mod ;)

Started by Hein Traag, November 26, 2004, 09:28:19 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Hein Traag

I got tired of using the back button on FF to go one page back when i was done adding a lot of pics to the gallery.

So, i added a little line on the searchnew.php. At the bottom to be precise.

Find
'<li>If your browser timeouts, hit the reload button'.

And add
'<li>At the bottom of a looooooong list ? Click <a href="index.php">here</a> to return to the frontpage'.

Edit the text to whatever you want ofcourse.

Not really a mod but maybe somebody has as use for it.

Cheers!
Hein

Hein Traag

Just out of curiousity a little question on my own comfort mod ;)

Can it be possible to add a line like above but then linkling back to the album you just injected pictures into ???

kegobeer

Yes it is.  If you check out the devel version, that code has been put into searchnew.php.  Search thru the file for edit_pics.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Hein Traag

k maybe a daft question but how do i get the devel version.. looking at the download page atm but no devel version there :)

Would you mind passing me a copy so i can look around in the code ?

Casper

Read this thread in the 1.4 testing/bugs board, http://forum.coppermine-gallery.net/index.php?topic=7947.0.

Be sure to read it thoroughly, and understand that it is completely unsupported.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Hein Traag

Thanks for the thread casper. Will read it and see if i can use the info kegobeer gave.

Thanks both.