geo targeting articles

More
11 years 5 months ago #30621 by rottenberg
hello

I have found a very usefull component 'Content Map' www.opensourcesolutions.es/index.php?opt...mla&Itemid=8&lang=en .

To understand how to use it go in this page to instructions and click on the first slice (plugin usage).

this component adds a field in metadata with the latitude / longitude of the article.

I want to use it for a diary of museums.

is this product compatible with Flexicontent

thanks for help

best regards
Michel

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

More
11 years 5 months ago #30623 by ggppdk
Replied by ggppdk on topic geo targeting articles
Hello, i tested this because it uses 2 content events that i wanted to verify

1. ITEM FORM:
(you are lucky it seems it works, this is not the usual case since form of FC is different than Joomlas):
You need to change a line in the content plugin of it (contentmap.php) to allow it to run inside the flexicontent item form:
Code:
function onContentPrepareForm($form, $data) { if (!($form instanceof JForm)) return false; if ($form->getName() != "com_content.article") return true;
to
Code:
function onContentPrepareForm($form, $data) { if (!($form instanceof JForm)) return false; if ($form->getName() != "com_content.article" && $form->getName() != "com_flexicontent.item") return true;


2. FRONTEND ITEM VIEW:
There is a bug-fix (or you may call it improvement) that is needed, you will need r1540+ for it to work


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
11 years 5 months ago #30625 by rottenberg
Replied by rottenberg on topic geo targeting articles
thank you very much

when do you think th r1540 will be available ?

best regards
Michel

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

More
11 years 5 months ago #30631 by ggppdk
Replied by ggppdk on topic geo targeting articles
Still testing it


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
11 years 5 months ago - 11 years 5 months ago #30743 by rottenberg
Replied by rottenberg on topic geo targeting articles
Hello
I have just installed the RC9a r1547.
I have updated the plugin contentmpap.php as you show in answer.

1st test : I get nothing (white page in place of the Google map).
I thought about a plugin problem (not executed).
I have authorized for the description field the using of content plugin in detail article and in categroy view.

I got an error :

Warning: Invalid argument supplied for foreach() in /home/public_html/maps/components/com_flexicontent/views/item/view.html.php on line 310


followed by a table of addresses.



thank you for help
best regards

Michel
Last edit: 11 years 5 months ago by rottenberg.

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

More
11 years 5 months ago #30744 by ggppdk
Replied by ggppdk on topic geo targeting articles
Fixed this issue and one more, and also improved-fixed the filtering module to use SEF urls via AJAX and support specific OR current category

Please download FLEXIcontent RC9a r1459 for J1.5 / J2.5
from here


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.313 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline