Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
Having troubles with short URLs and Menalto gallery
  • Posted: 02.05.2004, 03:52
     
    Keeton
    rank:
    Softmore Softmore
    registered:
     October 2003
    Status:
    offline
    last visit:
    19.12.07
    Posts:
    58
    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

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula