Joomla!: 3.7.5
Phoca Download: 3.1.2
PHP: 7.0.22
Phoca Download Search Plugin: 3.1.0
I installed the latest search plugin with the latest phoca download component and when I search for any of my files, instead of returning the menu URL in the search, it is pulling the component link instead. Is there any solution to stopping this behavior from happening?
instead of the below result
myurl/public-policy/resolutions/category/4-2017-ratified-policy-resolutions.html
I am getting the below
myurl/component/phocadownload/category/4-2017-ratified-policy-resolutions.html
Phoca Download Search Plugin not returning desired url
-
- Phoca Member
- Posts: 13
- Joined: 04 May 2017, 21:20
-
- Phoca Hero
- Posts: 2819
- Joined: 28 Nov 2010, 17:20
Re: Phoca Download Search Plugin not returning desired url
Hi,
for your information: https://www.phoca.cz/documents/16-jooml ... -in-joomla
Kind regards, Christine
for your information: https://www.phoca.cz/documents/16-jooml ... -in-joomla
Kind regards, Christine
-
- Phoca Member
- Posts: 13
- Joined: 04 May 2017, 21:20
Re: Phoca Download Search Plugin not returning desired url
Hi,
There is already a menu item created for the downloads and categories and the result is that only in search results, it uses the component link instead of the SEF link.
Please see link to the download files
http://new.nbcsl.org/public-policy/resolutions.html
Search any present download file ie RESOLUTION BED-17-10
SEF link to file is
http://new.nbcsl.org/public-policy/reso ... 17-10.html
Search result URL is
http://new.nbcsl.org/component/phocadow ... 17-10.html
Clicking this link returns the error below
There is already a menu item created for the downloads and categories and the result is that only in search results, it uses the component link instead of the SEF link.
Please see link to the download files
http://new.nbcsl.org/public-policy/resolutions.html
Search any present download file ie RESOLUTION BED-17-10
SEF link to file is
http://new.nbcsl.org/public-policy/reso ... 17-10.html
Search result URL is
http://new.nbcsl.org/component/phocadow ... 17-10.html
Clicking this link returns the error below
Code: Select all
0 - Call to a member function get() on null
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca Download Search Plugin not returning desired url
Hi, which version of Phoca Download and which version of Phoca Download serch plugin do you use? Is there a link to some page of your site where the search module is displayed?
What happens when you disable the suffix .html in SEF options?
Jan
What happens when you disable the suffix .html in SEF options?
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 13
- Joined: 04 May 2017, 21:20
Re: Phoca Download Search Plugin not returning desired url
My install specifications are as follows
Joomla!: 3.7.5
Phoca Download: 3.1.2
PHP: 7.0.22
Phoca Download Search Plugin: 3.1.0
The search is available on all pages of the site but you can specifically go to the page below and there is a search field there also
http://new.nbcsl.org/public-policy/resolutions.html
I have disabled each SEF option one at a time and the result is the same and even if I disable SEF alltogether, clicking the search result still gives me an error from the search results
Joomla!: 3.7.5
Phoca Download: 3.1.2
PHP: 7.0.22
Phoca Download Search Plugin: 3.1.0
The search is available on all pages of the site but you can specifically go to the page below and there is a search field there also
http://new.nbcsl.org/public-policy/resolutions.html
I have disabled each SEF option one at a time and the result is the same and even if I disable SEF alltogether, clicking the search result still gives me an error from the search results
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca Download Search Plugin not returning desired url
Hi, does the link to Phoca Download exist? I still see SEF links on the site (with .html suffix)
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 13
- Joined: 04 May 2017, 21:20
Re: Phoca Download Search Plugin not returning desired url
Hi, I enabled SEF links because I was getting the same results when I disabled SEF links. Whether the option is on or off, I am getting the same result when I click the search result link.
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca Download Search Plugin not returning desired url
And did you create a menu link to Phoca Download (e.g. to Phoca Download categories view)?
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 13
- Joined: 04 May 2017, 21:20
Re: Phoca Download Search Plugin not returning desired url
Yes the category page is http://new.nbcsl.org/public-policy/resolutions.html also see menu item below
https://i.imgur.com/TRq04gv.png
https://i.imgur.com/TRq04gv.png
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca Download Search Plugin not returning desired url
Do you use some specific SEF solution? Can I see the URLs without SEF enabled? Maybe there is some system plugin or specific extension or specific SEF which changes the links Really hard to say
The search plugin just get the SEF link by the component - by the menu link
Maybe you can test what happens when you create a menu link to categories view of Phoca Download - if the link will be accepted by the search plugin
Jan
The search plugin just get the SEF link by the component - by the menu link
Maybe you can test what happens when you create a menu link to categories view of Phoca Download - if the link will be accepted by the search plugin
Jan
If you find Phoca extensions useful, please support the project