[template] template with optional URL parameter and no questions mark in url does not work #237

Open
opened 2026-10-04 23:48:34 +02:00 by adam · 0 comments
Owner

Reported by kyp_ on 6 Sep 2013 22:17

Version: 2.5.1

theme:elegant and the default-theme's "default tpl's"

custom1-picture.tpl without optional URL parameter
custom2-picture.tpl with a category name optional URL parameter

$conf['question_mark_in_urls'] = true;
  to
$conf['question_mark_in_urls'] = false;

the custom1-picture.tpl without optional URL parameter is showing everywhere (on /tags /categories etc).

Piwigo 2.5.1

Steps to reproduce: additionally if I test the URL with ....website.com/picture.php/43....
the URL Parameter picture template won't show
and with ....website.com/picture.php?/43.... it works (without changing the $conf for this test)

Piwigo Bugtracker #2956

**Reported by kyp_ on 6 Sep 2013 22:17** **Version:** 2.5.1 theme:elegant and the default-theme&#039;s &quot;default tpl&#039;s&quot; custom1-picture.tpl without optional URL parameter custom2-picture.tpl with a category name optional URL parameter ``` $conf[&#039;question_mark_in_urls&#039;] = true; to $conf[&#039;question_mark_in_urls&#039;] = false; ``` the custom1-picture.tpl without optional URL parameter is showing everywhere (on /tags /categories etc). Piwigo 2.5.1 **Steps to reproduce:** additionally if I test the URL with ....website.com/picture.php/43.... the URL Parameter picture template won&#039;t show and with ....website.com/picture.php?/43.... it works (without changing the $conf for this test) [Piwigo Bugtracker #2956](http://piwigo.org/bugs/view.php?id=2956) <!-- github-sync-id:97226660 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#237