WordPress.org

Ready to get started?Download WordPress

Forums

Hacking eSPG for WordPress - can you help? (5 posts)

  1. 3stripe
    Member
    Posted 8 years ago #

    Hello folks,

    Finally got eSPG playing nicely with WP. But the eSPG forum is pretty dead, can anyone advise on a couple of mods I'm tying to make?

    1. URLS
    Is there any way to remove the 'file' prefix? eg. http://www.deirdre-edwards.co.uk/paintings/file/scottishlandscape/doocot.jpg would become http://www.deirdre-edwards.co.uk/paintings/scottishlandscape/doocot.jpg

    or...

    even better still, remove the 'file' prefix, and have the image Title, instead of the image's filename:
    http://www.deirdre-edwards.co.uk/paintings/scottishlandscape/Doocot

    2. FADES
    How would I go about adding the javascript fade to all thumbnails, as well large images? (I'm not good with code!)

    3. BREADCRUMBS
    I've been messing about with sp_helper_functions.php to try and remove the filename at the end of the breadcrumbs, but can't work out how to do this :-(

    4. GALLERY FOLDERS IN SIDEBAR?
    Ok final one - would love to have my eSPG folders listed dynamically listed in the sidebar. Hmmmm...

    Any thoughts at all much appreciated!

    Cheers

    James

  2. 3stripe
    Member
    Posted 8 years ago #

    I think I have a solution for 1... =)

    But the rest are still really really stumping me, esp. #3

  3. maerk
    Member
    Posted 8 years ago #

    Yeah, I use SPG and I managed to get rid of the file prefix (and folder too!).

    It's tricky, you need to change quite a few bits of the original PHP files and then the .htaccess too.

    Already helped one person out with this, I should write a tutorial!

    Best to contact me by email: beingmrkenny@gmail.com.

  4. 3stripe
    Member
    Posted 8 years ago #

    It was me! You sent the files to my gmail, not hard a chance to go through it all yet, hope it works though.

    Wish the SPG forum was a bit more active...

  5. 3stripe
    Member
    Posted 8 years ago #

    I need to delete this post... can i do it myself or does admin have to?

    Thanks in advance.

Topic Closed

This topic has been closed to new replies.

About this Topic