Joomfish + Flexicontent : and ...

More
13 years 1 month ago #19672 by ggppdk
Ok, there is a global flexicontent parameter that allow the category views to display only items of the current language.

To disable this filtering for a specific category, a new parameter can be added for the category (edit form), that will override the global option.

The common category options are in the xml file:
administrator/components/com_flexicontent/models/ category.xml

- 1. Edit this file to add a new parameter with 3 option 'Use Global', 'Yes', 'No'
- 2. Alter the item model:
components/com_flexicontent/models/items.php
to use this new parameter, instead of the global one, the name of the global one is : 'filtercat' so locate the code and alter it to use the category specific parameter (or maybe you can use same name for parameter and then the merging of parameters will do the rest?)

You can add this to the SVN, and i will add the capability to the source code, since it makes sense for some categories.

Currently multiple languages per item is not supported, but i am making some enhancements for FULL language translations, maybe i would consider some solution in the future.

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.

More
13 years 4 weeks ago #19947 by yopyop001
Hi,

Thanks a lot,
Adding
Code:
<param name="filtercat" type="radio" default="0" label="FLEXI_DISPLAY_ITEMS_CURRENT_LANGUAGE" description="FLEXI_DISPLAY_ITEMS_CURRENT_LANGUAGE_DESC"> <option value="">Use Global</option> <option value="0">FLEXI_No</option> <option value="1">FLEXI_Yes</option> </param>
in administrator/components/com_flexicontent/models/ category.xml

does the job without modifying anything else.

Regards

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

More
13 years 4 weeks ago #19949 by ggppdk
So by naming the new CATEGORY parameter as 'filtercat', the merging of global and category parameters will work as i expected it (the global parameter will be overridden)

Thus the second step that i mentioned of adding some small modification to the model is not needed.

Thanks for replying this. I had not tested and forgotten to add this to as a feature enhancement.

This needs minor modification and is useful.

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.

More
12 years 11 months ago #21077 by ggppdk
I am finishing a new feature in which everything is translated by joomfish, except the items (the items are in translation groups, thus ASSOCIATING together the translations)

-- I have integrated support in the backend items manager for the translation groups,
-- In frontend the flexicontent item id is changed to the id of the translation item for the current language via a system plugin.
-- Creating translation of items is done by a new button in the items manager tab, where you choose to massively create translation of items which will either
(a) import joomfish data
(b) auto translate the new items via google
(c) just copy original text

-- It is mostly done, but then we must consider the drawbacks !!!:

-- The items are different, this how we can have FULL item translation all fields !!!

This means that hits/comments/votes etc are not shared

SO WHAT IS REALLY missing is:

1. adding an ability to get/update some fields from THE MASTER item instead of the ASSOCIATED translated item.
2. marking some fields as untranslated so that they will be always retrieved by the master item.

Will try to include this in v1.5.7, not sure yet ...


-- 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
12 years 9 months ago #22403 by horsey

ggppdk wrote: I am finishing a new feature in which everything is translated by joomfish, except the items (the items are in translation groups, thus ASSOCIATING together the translations)

-- I have integrated support in the backend items manager for the translation groups,
-- In frontend the flexicontent item id is changed to the id of the translation item for the current language via a system plugin.
-- Creating translation of items is done by a new button in the items manager tab, where you choose to massively create translation of items which will either
(a) import joomfish data
(b) auto translate the new items via google
(c) just copy original text

-- It is mostly done, but then we must consider the drawbacks !!!:

-- The items are different, this how we can have FULL item translation all fields !!!

This means that hits/comments/votes etc are not shared

SO WHAT IS REALLY missing is:

1. adding an ability to get/update some fields from THE MASTER item instead of the ASSOCIATED translated item.
2. marking some fields as untranslated so that they will be always retrieved by the master item.

Will try to include this in v1.5.7, not sure yet ...



Well this sounds great!
When will you release it?

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

More
12 years 9 months ago #22404 by micker
Please it a free componant ... We try to finishe 1.5.6 and 2.0
No time for future sorry ....

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.693 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