CompanyDirectory URLS
CompanyDirectory URLS
I've activated "unique URLS" for the CompanyDirectory module and get this url : website.com/companyname.html in summary view, but i'm redirected to the front/index page and not the detail page/template specified?
What am i mising?
Cms Version: 1.11.12
CompanyDirectory: 1.22.7
phpversion: 5.3.29
What am i mising?
Cms Version: 1.11.12
CompanyDirectory: 1.22.7
phpversion: 5.3.29
Re: CompanyDirectory URLS
Not sure but PHP 5.3.x is out of support and the module author of CompanyDirectory has defined PHP 5.4 as minimum for his modules ...
http://forum.cmsmadesimple.org/viewtopi ... =7&t=71719
The only way could be to use a module version dated before this posting.
http://forum.cmsmadesimple.org/viewtopi ... =7&t=71719
The only way could be to use a module version dated before this posting.
Re: CompanyDirectory URLS
I've changed to phpversion: 5.4.45 but it doesn't make any difference.
Re: CompanyDirectory URLS
Yes cache deleted!
Calling the module like this on a subpage:
Companies with unique URLS are redirected to the frontpage (and detail content loaded in the frontpage content tag), but companies without unique URLS set, are loaded correctly in the case-detail page.
And even without the detailpage set, the unique URL redirects to the frontpage.
So i'm obviously missing something in the unique URLS setup
Calling the module like this on a subpage:
Code: Select all
{CompanyDirectory category='Cases' detailpage='case-detail'}
And even without the detailpage set, the unique URL redirects to the frontpage.
So i'm obviously missing something in the unique URLS setup
Re: CompanyDirectory URLS
Wild guess: Update Routes (it's on the same page as Clear Cache button)
Re: CompanyDirectory URLS
You need to set the "Default Detail Page" it should be in the Setting for the module.
Re: CompanyDirectory URLS
Sorry no, there is no "Default Detail Page" in settings for CompanyDirectory.
Thank you for the suggestion.
Thank you for the suggestion.
Re: CompanyDirectory URLS
Sorry, I am not familiar with the module.
After I looked it up, it looks like Company URLs is for the Company website (external site) not the detail page for the CompanyDirectory listing, but it will use the detail page if you don't provide one.
After I looked it up, it looks like Company URLs is for the Company website (external site) not the detail page for the CompanyDirectory listing, but it will use the detail page if you don't provide one.
Re: CompanyDirectory URLS
According to the help file
and i my detail template i have
Is there something i've overlooked to get unique urls for the CompanyDirectory Module?
In the head of my page template i haveNote: When using SEO friendly URLS it is important to use canonical URLS.
Code: Select all
{if isset($canonical)}<link rel="canonical" href="{$canonical}" />{elseif isset($content_obj)}<link rel="canonical" href="{$content_obj->GetURL()}" />{/if}
Code: Select all
{$canonical=$entry->detail_url}
Re: CompanyDirectory URLS
Now I am completely confused and disinterested.