Modules  :: 
Having troubles with short URLs and Menalto gallery
 Top

  • Okee, I even cannot seem to setup .htaccess correctly.
    I know mod_rewrite is enabled on the server, (all rules I *didn't* wrote work flawless).

    So here is what I created:

    Code

    # Module Gallery - Album spcified No page specified
    RewriteRule ^([^\+]+)\.phtml$ modules.php?set_albumName=$1&op=modload&name=gallery&file=index&include=view_album.php [L]
    # Module Gallery - Page no. specified
    RewriteRule ^([^\+]+)\-page\-([0-9]+)\.phtml$ modules.php?set_albumName=$1&op=modload&name=gallery&file=index&include=view_album.php&page=$2 [L]
    # Module Gallery - Picture normal
    RewriteRule ^([^\+]+)\-([^\+]+)\.phtml$ modules.php?set_albumName=$1&id=$2&op=modload&name=gallery&file=index&include=view_photo.php [L]
    # Module Gallery - Picture large
    RewriteRule ^([^\+]+)\-([^\+]+)\-fullsize\.phtml$ modules.php?full=1&set_albumName=$1&id=$2&op=modload&name=gallery&file=index&include=view_photo.php [L]


    The first one (for the albums) works.
    The second returns me to the main gallery page, the same for the third.
    The fourth I didn't test yet.

    As long as I cannot get these rules right, I will not proceed to edit punctions.php in the theme.

    Please help me out, I am stomped out.

    Grtz,
    Koen
This list is based on the users active over the last 60 minutes.