Hi Jan,
When using JRoute::_() the first argument is a URL without the Itemid. The JRoute::_() function should find the Itemid by itself. In the code of Phoca Download the given URL had the Itemid included, which is unneeded and even unwanted. So I stripped the Itemid part from the URL. After that, JRoute::_() just adds the same Itemid again, but at least that's the correct process.
On the page of multiple items, when there are no items to be shown, I added a small "No items" text.
PATCH: Link to section/category
-
- Phoca Newbie
- Posts: 6
- Joined: 12 Jan 2009, 13:27
Re: PATCH: Link to section/category
Jisse Reitsma
Jira ICT founder
SimpleLists developer
busy person
Jira ICT founder
SimpleLists developer
busy person
- Jan
- Phoca Hero
- Posts: 48739
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: PATCH: Link to section/category
Hi, this is the compromise because of thousands possible settings of different servers and different SEO (SEF) utils...which is unneeded and even unwanted

Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 19
- Joined: 22 Feb 2009, 00:10
- Location: Hungary
- Contact:
Re: PATCH: Link to section/category
hi Jan,
is there any reason that in the line 16 of router.php is
function PhocaDownloadBuildRoute(&$query) instead of
function PhocaDownloadBuildRoute($query) ?
without that one character the section view works great.
would the solution of this problem be so simple?
is there any reason that in the line 16 of router.php is
function PhocaDownloadBuildRoute(&$query) instead of
function PhocaDownloadBuildRoute($query) ?
without that one character the section view works great.
would the solution of this problem be so simple?

- Jan
- Phoca Hero
- Posts: 48739
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: PATCH: Link to section/category
& this means, that the fuction can change the variable and it returns this variable... if it will be deleted then this function will not return this changed variable and this will be still the same (maybe it works for yur, but mayby it will not work for others)
Jan
Jan
If you find Phoca extensions useful, please support the project