How to override template for author's item list

More
12 years 2 weeks ago #45143 by brandonking
Hmmm, I am not talking about creating ACL privilege.

For example,
I have created "Author Info" category and each author create their profile page.

Lets say there is "Book" category and when people click one book from list, book information will be displayed as well as author profile(Universal Module).
This could be done because of same id of item created_by.

Now, my problem is:
when people try to view author's book list.
the author profile item is included in list of book because of same id.

Do you have any workaround for this issue?

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

More
12 years 2 weeks ago #45148 by ggppdk
Hello

yes, this is a bug that we overlooked
the author description item,
should not be included in the listing

Please test this:

-- Find inside function: _buildItemWhere(...)
of file
components/com_flexicontent/models/category.php
Code:
if ($this->_authorid) $where .= ' AND i.created_by = ' . $this->_db->Quote($this->_authorid);
and after the above test adding:
Code:
if ($this->_authorid && (int)$this->_params->get('authordescr_itemid')) $where .= ' AND i.id != ' . (int)$this->_params->get('authordescr_itemid')

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 review. Thanks!

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

More
12 years 2 weeks ago #45149 by brandonking
you mean replace or add below?
[edit by ggppdk, yes "add after it"]

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

More
12 years 2 weeks ago #45150 by brandonking
I added it below and it is working...
Thanks

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

More
12 years 2 weeks ago #45152 by ggppdk
Hello

thanks for feedback,

please note that author "basic" AND "category" parameters will be available to group management too but not finished to be included in v2.1.3

(i know that these most of the parameters should be set per user group and not per author !)


-- 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 review. Thanks!

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

More
12 years 2 weeks ago #45153 by brandonking

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

Moderators: vistamediajoomlacornerggppdk
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