[solved] Gmap based on category and subcategory articles

More
6 years 7 months ago #39435 by nordmograph
Yes but this doesn't help.
I asked for NON SEF url :)
PLease edit your post or repost with NON SEF urls
(disabling Joomla SEF in the Joomla config)

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.

Please Log in or Create an account to join the conversation.

More
6 years 7 months ago #39436 by tvoeten

Please Log in or Create an account to join the conversation.

More
6 years 7 months ago - 6 years 7 months ago #39437 by nordmograph
Okay,
The Itemid is defined in the getArticleItemid function in
plugins/geommunity/articles.php line 417.
Edit the query and add this after
AND client_id='0'
AND access='0'

This will make the script to only get public articles. You can also try this attached version.

Let me know how it goes. If it doesn't help, I'd need to access your backend.

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.
Last edit: 6 years 7 months ago by nordmograph.

Please Log in or Create an account to join the conversation.

More
6 years 7 months ago #39440 by tvoeten
The correct article is now opening, but not in correct format with linked modules
Again the wrong and right links:
See also example: www.cleanairnederland.nl/index.php?optio...ory&id=30&Itemid=115
or www.cleanairnederland.nl/ Menu: /Dossiers/Rookvrije horeca

Article: Bistro Bommen Berend
Wrong link in poup: www.cleanairnederland.nl/index.php?optio...icle&id=1276&Itemid=
Right link article: www.cleanairnederland.nl/index.php?optio...&catid=32&Itemid=184

Article: Restaurant De Rede van Dronten
Wrong link in poup: www.cleanairnederland.nl/index.php?optio...ticle&id=941&Itemid=
Right link article: www.cleanairnederland.nl/index.php?optio...&catid=36&Itemid=631

Please Log in or Create an account to join the conversation.

More
6 years 7 months ago #39441 by nordmograph

File Attachment:

File Name: plg_geommu...cles.zip
File Size:16 KB


This new version has a 'Forced Article Itemid' field set its value to 184 or whatever you want.
Not it'll have to be the same Itemid value for all your articles.

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.
Attachments:

Please Log in or Create an account to join the conversation.

More
6 years 7 months ago #39442 by tvoeten
This is unfortunately a step backward, Please try the link in the popup window:
www.cleanairnederland.nl/index.php?optio...ory&id=30&Itemid=115

Article: Bistro Bommen Berend
Wrong link in poup: www.cleanairnederland.nl/index.php?optio...e&id=1276&Itemid=114
Right link article: www.cleanairnederland.nl/index.php?optio...&catid=32&Itemid=184

Article: Restaurant De Rede van Dronten
Wrong link in poup: www.cleanairnederland.nl/index.php?optio...le&id=941&Itemid=114
Right link article: www.cleanairnederland.nl/index.php?optio...&catid=36&Itemid=631

Please Log in or Create an account to join the conversation.

Time to create page: 0.343 seconds
Powered by Kunena Forum
Disclaimer: Nordmograph is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.