Some problems, especially with "Locked Filters"

More
10 years 11 months ago #44641 by a-k
Hello,
at first try, FlexiContent looks very promising and easy learning path :)

I've created new item type, added some fields, created new template with some default layout overrides, assigned the template to item type. Single item renders correctly when attached to menu.
But now i need some help and infos.

1. When adding to menu position - if I got ie. "date_of_event" field and I want to show events which are after current date - how can I did this? I assume "locked filters" can be th option, but can I use and php like ">date(Y-m-d)" here? And how can I compare these values when the field is ie. date?

2. May I access images from gallery directly to build my own gallery (not to use default slideshow)?

3. Can I access previous versions of item in my template?

4. When adding options to .xml file, how can I add option other than selection list (like the default "Choose HTML version") and how to get them in my template later? How can I use them to filter/show items listed from menu position?

5. How can I set minimum search length to other than 4?

6. Can user earch for parts of words?

7. Can I serve suggestions for user in search results? (ie. searching word is "ebook" and above search results I want to show "buy Kindle now!"

8. How can I create new search results template?

9. How can I set numbers od columns in FlexiContent menu position when set to categories like with normal category listing?

10. How can I show "related" (by tag,category) items in template and how can I sort them before show (or how can I add "ordering/filtering" fields?

11. When creating category template I want to show all items on map (I got Lat/Log fields) using leaflet.js library. How can I add js to head/body near footer - is it possible only in Joomla template, or is there a way to set it in FC and inject automatically into current template?

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

More
10 years 11 months ago #44646 by ggppdk

1. When adding to menu position - if I got ie. "date_of_event" field and I want to show events which are after current date - how can I did this? I assume "locked filters" can be th option, but can I use and php like ">date(Y-m-d)" here? And how can I compare these values when the field is ie. date?

- you can order by the date field,
- the locked filters do not "current date" or "current month" etc
- after other users suggesting it too we may add in a future version

-- you can try using the universal content module that has a date SCOPE that can do this please read carefully the popup description of the date field SCOPE (+-days +-months, etc)

2. May I access images from gallery directly to build my own gallery (not to use default slideshow)?

- there are several gallery/slideshows supported, set parameter:
Gallery Layout

3. Can I access previous versions of item in my template?

- if really need it you can change the item URLS of your custom template, and just append URL one variable:
&version=nnn

4. When adding options to .xml file, how can I add option other than selection list (like the default "Choose HTML version") and how to get them in my template later? How can I use them to filter/show items listed from menu position?

- please, find and read template tutorials here:
www.flexicontent.org/site-conten ... cture.html

5. How can I set minimum search length to other than 4?

- please see this FAQ article:
Changing the minimum word length allowed for searching

6. Can user search for parts of words?

- no, and the text search auto-complete will only show complete words
thus (requ) will not match "require"

7. Can I serve suggestions for user in search results? (ie. searching word is "ebook" and above search results I want to show "buy Kindle now!"

- you mean make the text-search autocomplete show an item-listing instead of a word listing ?
no, this is not implemented yet

8. How can I create new search results template?

- Create a Joomla template override
See our FAQ:
How to Override View

9. How can I set numbers odd columns in FLEXIcontent menu position when set to categories like with normal category listing?

- what is the FLEXIcontent menu position ? i do not know what this is

10. How can I show "related" (by tag,category) items in template and how can I sort them before show (or how can I add "ordering/filtering" fields?

- you can use the filtering SCOPE of Universal Content module,
you can show item related by TAGs / relation field / Same category
about filters in category view please configure your category to show filters

11. When creating category template I want to show all items on map (I got Lat/Log fields) using leaflet.js library. How can I add js to head/body near footer - is it possible only in Joomla template, or is there a way to set it in FC and inject automatically into current template?

[/quote][/quote] - please do it inside your custom FLEXIcontent template
category_items.php (category view)
item.php (item view)

In content type configuration you can add CSS/JS per content type but this is for item form


please search our FAQ before posting questions

Regards


-- 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.670 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