How to override template for author's item list

More
11 years 4 months ago #45129 by brandonking
What about adding a parameter e.g. textbox or multiple select, to choose TYPEs in Edit Author..

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

More
11 years 4 months ago #45134 by ggppdk
Hello

about which type of items the user can create, that already exists, in each content type there is an ACL privilege "Create Items" that you can assign(give) to your user groups, by default all content types are allowed to be created by ALL user-groups


-- 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 4 months 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
11 years 4 months 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...

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

More
11 years 4 months 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
11 years 4 months ago #45150 by brandonking
I added it below and it is working...
Thanks

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

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