Module Same Author

More
12 years 5 months ago #32462 by ggppdk
Replied by ggppdk on topic Module Same Author
I will test and verify the SQL query, i guess the item state of your item's is "published" and not "published : in progress"

also you do not enable include on category SCOPE


-- 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 5 months ago #32463 by igcorreia
Replied by igcorreia on topic Module Same Author
Thank you so much. I won't give up. Still trying.

This are my tests:

2 users = 1 admin + 1 register
1 item for the view = current author
1 module with the Author scope

----

When I change and edit one version of each that is when the problems start.

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

More
12 years 5 months ago #32464 by ggppdk
Replied by ggppdk on topic Module Same Author
Forget module for a moment ... are these items displayed properly in category view ?


-- 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 5 months ago - 12 years 5 months ago #32465 by igcorreia
Replied by igcorreia on topic Module Same Author
Now I am going to show the CREATE BY field in the content botom module

[attachment=0:2nqeohf5]<!-- ia0 -->back2.PNG<!-- ia0 -->[/attachment:2nqeohf5]

THEY ARE INVERTING the Author, when I show in Ignacio it shows from the OTHER author.
Attachments:
Last edit: 12 years 5 months ago by igcorreia.

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

More
12 years 5 months ago #32466 by ggppdk
Replied by ggppdk on topic Module Same Author
Replace in helper.php (be careful to make replacement at author scope and not in types scope)
Code:
if ($behaviour_types == 1) { $where .= ' AND i.created_by = ' . (int)$curitem->created_by; } else { $where .= ' AND i.created_by <> ' . (int)$curitem->created_by; }

with:

Code:
if ($behaviour_auth == 1) { $where .= ' AND i.created_by = ' . (int)$curitem->created_by; } else { $where .= ' AND i.created_by <> ' . (int)$curitem->created_by; }

by mistake the code used $behaviour_types instead of the correct for authors SCOPE: $behaviour_auth


-- 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 5 months ago #32467 by igcorreia
Replied by igcorreia on topic Module Same Author
Worked.

Dam I was struggling with this since Friday. Thanks 1 more time.

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.474 seconds
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
Save