Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-1065

Don't specify "index_file" parameter during category/category item link building, when mod-rewrite is enabled

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.2.0-B3
    • Fix Version/s: 5.2.0-RC1
    • Component/s: Front End
    • Labels:
      None

      Description

      In-Portal have shortcut links near each item in catalog in Admin Console. These links allow to quickly view item detail page on Front-End.

      Since links are built from Admin Console into Front-End theme, then we add "index_file" => "index.php" parameter to convert /admin/index.php url part just into /index.php.
      However this parameter is absolutely ignored when mod-rewrite is enabled resulting it's being present as-is in final url (e.g. ....&index_file=index.php).

      Usually it's not a big problem, since once you've enabled mod-rewrite on website you most likely won't disable it, but since you can't really change behavior behind PageBrowseLink tags (used to build these shortcut links), then these tags should be self-aware and always build nice url themselves.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: