Display of peer categories does not limit to com_content

More
10 years 10 months ago #43967 by Cumulonimbus
Hello,

i have a fresh clean Install of Joomla 2.5.14 LTS (no example Installation) with clean install of Flexicontent. If i click to a Categorie, this shows the article list with blog template by default.

The List of Peer-Categories looks bad, like:



Uncategorised0 Uncategorised0 Uncategorised0 Uncategorised0 Uncategorised

I dont have a Categorie Uncategorised. How can i fix this (Database) ???

Regards,
Stefan

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

More
10 years 10 months ago #43968 by Cumulonimbus
Two hours later, i found out this.

Some Extensions write his Title/Path information about his categories in Databasetable _categories, like calendars, membership or other extensions. Has this Tables Text-Information who Flexicontent will read? Think not.

Flexicontent do scan _categories and list all as Peer-Categories. Is there a Bug?

Flexcontent should only read out _categories WHERE extension = com_content. Right?

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

More
10 years 10 months ago #43973 by ggppdk
Hello

-- peer categories is a new feature for upcoming v2.1.3,

so i see that there is a bug in regards to the retrieval of peer categories, will fix this for next beta

to apply a fix now edit
components/com_flexicontent/models/category.php
and inside function __buildChildsQuery() {...}
find code:
Code:
. $joinaccess . $creator_join . ' WHERE c.published = 1'
and after the above code add:
Code:
.(FLEXI_J16GE ? ' AND c.extension='.$this->_db->Quote(FLEXI_CAT_EXTENSION) : '')


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