[RESOLVED] removing search field inside translated langua...

More
11 years 8 months ago - 11 years 8 months ago #27846 by blade3
I want to deleted one search field attribut inside the popups
"Original content being translated"

i've something like that :
Selecting ORIGINAL Content item for a translating item of Content Type: "Article" and User: "admin"

but i want to modify this query for removing User: "admin"
and just search content Type: "Article".

It is inside parentclassitem.php on administrator/components/com_flexicontent/models ??

Any Idea ?
Last edit: 11 years 8 months ago by blade3.

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

More
11 years 8 months ago #27854 by ggppdk
hello,
sometimes something may need revising to work better or cover all cases.

So first tell us why you want this.

You want the item translations (associated to each-other) to have different authors (=owners) ???


-- 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 8 months ago #27858 by blade3
Hello :-)

Yes. If another Admin created the french or german item, We would like to join there language items.

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

More
11 years 8 months ago #27860 by ggppdk
ahh yes i was thinking this would come up,

e.g. different people authoring different translations, especially in backend,

in frontend , usually you will have a single user owning all translations, to remove it the limitation is not difficult (we would just remove the a URL variable ...)

Maybe we should add a new Global Parameter:
"Allow associations by different users"
and then we have 2 checkboxes to select to allow in
- frontend
- backend


-- 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 8 months ago #27862 by blade3
:-)

Do you have temporary hacks for this?

maybe just remove inside the model on flexicontent
select * from #__XXXXX where type=%variable% and author=%user%

or Something like that?

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

More
11 years 8 months ago #27864 by ggppdk
edit
administrator/components/com_flexicontent/models/itemelement.php

Find:
Code:
if ($langparent_item && $created_by) { $where[] = ' i.created_by='.$created_by; }
with: (to remove author limitation for backend)
Code:
if ($langparent_item && $created_by) { if ($mainframe->isAdmin()) $where[] = ' i.created_by='.$created_by; }
or with: (to remove author limitation for both
Code:
backend/frontend)[/b] if ($langparent_item && $created_by) { //$where[] = ' i.created_by='.$created_by; }

I will add a new parameter for this, but maybe allow only to super admins ? mmm or to users which can edit both associated items?


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