Please note that Form2Content is no longer being developed. All files from the latest version can be found on Github.

Form2Content Forum

Questions and answers for Form2Content, a Joomla CCK.
  1. Francesc
  2. F2C Search filtered article lists
  3. Saturday, 06 February 2016
  4.  Subscribe via email
Hi P,

This are some presale questions... read already all the documentation and many posts.
I don t know if I understand how it works. Tell me if this can work for this?

I have a text field where people can put the country of the "project". But they can not select it from from dropdown list... Mainly cause people can add new countries on the fly ...

This Only filters with lists created in backend? Or can filter single text lines? ... and be posible to be filtered after.

In the front end only works with dropdowns? or I can create my own links inside a custom menu with some logic?

Is the checkbox feature some people asked implemented already?

Thanks
Accepted Answer
Accepted Answer Pending Moderation
Hi,

The search problem was caused because your search action created a cross-domain call which is forbidden for security purposes.

Your website was configured at http://www.domain.com
In your configuration.php the $live_site parameter was pointing to http://domain.com (note the missing www)

By changing the $live_site parameter to http://www.domain.com it now works.

best,
Julien
Responses (12)
Accepted Answer Pending Moderation
Hi Francesc,

It is currently not possible to have a single line text field behave like a tag list (i.e. use known strings and add unknown) and than filter in F2C based on that list.
You can add/display the Joomla tag field in the F2C form. Maybe there is a filter module or menu item that can than be linked to specific values?

Regards,
Patrick
Please read the F2C documentation before asking questions! Thank you if you've done so ;)
Accepted Answer Pending Moderation
Hi,
I Installed the component and the module.
Will try to work with single and multiple lists but I am having some issues.

I created one serachform showing two single lists.
I activate a module searchform only for superusers to make the test.
I have the module inside a joomla blog view from main category and subcategories.

1.- When I click selecting on of the dropdowns list I am getting an error : Error performing Form2Content Search.

2.- When I click WITHOUT selecting on of the dropdowns list, I get all the projects lists but not respecting my blog layout.
I have an override of the blog in my template wich is showing everything in bootstrap 3 and I copied all the settings from blog view to the f2csearch component settings and is not render properly.
I just get a single column when I expect 6 of them. Where is my style?

3.- Can I perfom a search from the address bar after creating the lists properly using links?
I want to have a menu instead dropdwn. Like it was a category menu from joomla.
Can I hide the dropdown and make a menu work like this? Just with custom links ... not automatic of course.

4.- It s is possible to trigger the search just after selecting one field from the list.
With no need to push the search button? everytime...

Thank you P.
Accepted Answer Pending Moderation
1) Can't reproduce from this info. Add versions minimum and makes you are running latest versions.

2) Get it working before starting to override layouts and use the proper Joomla override technique! You can than adapt your classes/layout as you wish. BUT DO THIS LAST!!

3) Please read about filtered article lists.
http://documentation.form2content.com/f2c-extensions/f2c-search/106-filtered-article-lists

4) Yes, setting in the Search module

Regards,
Patrick
Please read the F2C documentation before asking questions! Thank you if you've done so ;)
Accepted Answer Pending Moderation
Hi P,

1. I am Using Everything latest... J.3.4.8 F2C PRO 6.13 F2CSearch 6.5.

When I perform the search I get this error in console:
XMLHttpRequest cannot load http://xxx.com/index.php?option=com_form2contentsearch&task=sear…leid=115&searchformid=1&results=+185+&f2cs_115_1_1=&f2cs_115_3_1=Educacion. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://www.xxx.com' is therefore not allowed access.

Can be something related to mootols? Cause I am using a script to avoid conflicts with bootsrap 3 jquery.

2.- I didn t override Nothing from f2cSearch.
I told my override is from the blog-layout of joomla itself.
And still is not showing as expected...

3.- Tried before ... But nothing works so far.

4.- ok. nice!

Help Please...

Thank you!
Accepted Answer Pending Moderation
1) I will ask Julien our programmer

2) I don't understand your reference. We use the Joomla native blog layout (ie classes/html). If your template uses different layout you need to create an override for F2C Search conform Joomla template overide mechanism.

3) Doesn't tell me anything..... might not be the solution? Or doesn't work because of point 1.

4) Cool.
Please read the F2C documentation before asking questions! Thank you if you've done so ;)
Accepted Answer Pending Moderation
1) ok

2) Joomla uses bootsrap 2 classes. I just changed the classes for the grid to bootsrap3. Everything else is identical.
But my classes don t show. I read that the f2c will render the default style of my blog layout. This doesn t happen.

3) Because of point 1... hope...

Thx
Accepted Answer Pending Moderation
2) The default style is a COPY, not using the actual com_content layout. We wish but this isn't possible in Joomla (yet). So you need to make an override, sorry :(
Please read the F2C documentation before asking questions! Thank you if you've done so ;)
Accepted Answer Pending Moderation
2) Yes yes ...of course understand that :) This is not a problem. Was asking to be sure this is possible...
You know exactly where and wich file can begin to look?
Can you tell me the correct path of the override?

THX
Accepted Answer Pending Moderation
Hi Francec,

Regarding the error:

XMLHttpRequest cannot load http://xxx.com/index.php?option=com_form2contentsearch&task=sear…leid=115&searchformid=1&results=+185+&f2cs_115_1_1=&f2cs_115_3_1=Educacion. No 'Access-Control-Allow-Origin' header is present on the requested resource.

Can you send me an Akeeba back-up so I can analyze what the problem is?

You can send it to julien at opensourcedesign dot nl

best,
Julien
Accepted Answer Pending Moderation
Sended...

Thx
Accepted Answer Pending Moderation
Maybe Can be something related to mootols? Cause I am using a script to avoid conflicts with bootsrap 3 jquery.

Check the end of my template index file...
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.