Trying to install custom form but PHP Self not working..

I'm trying to modify a theme by installing a custom form to resort the displayed images. I've been successful in resorting but the album.php form sends me back to index.php even when using ... method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>...Has anyone done this? Is there some way to capture the actual url that got me to the album.php code? When I look at my browser I see something like
galleries/index.php?album="some string" rather than galleries/themes/highslide.php. If this is resulting from use of this custom theme, I understand I'm on my own to figure it out.

Comments

  • acrylian Administrator, Developer
    `galleries/index.php?album=` is the none modrewrite link version of `galleries/`. A link like `galleries/themes/highslide.php` is never used withn themes.

    Please look at the documentation for available functions and if you did not already read the theming tutorial.
  • Thanks for prodding me to read the Themeing tutorial. While I've read snippets of it over the past few months, I read top-to-bottom today and many lightbulbs went off. Again thanks
Sign In or Register to comment.