I've been trying to add a set of FAQs that can only be viewed by certain user types. The way I've tried accomplishing this is to add a new FAQ sub-category, and set access rights for the new category. Unfortunately only the root "FAQ" category ever appears to users, regardless of what user access rights I assign to the new category.
What I'm trying to do is:
FAQ < all users can access all articles
Restricted FAQs (child of FAQ category) < only users of type X can access these articles)
Is this expected to work in 3.6?
I've tried the following with no success:
-Adding articles to the new category;
-Changing access rights;
-Adding a sub-category to the new category;
-Setting the new category's parent to itself (this caused the new category and all articles I'd added to the new category to disappear, which really stinks).
Regards,
-Evan
Evan (Guest)
22 Mar 2009 3:39 AM
OK, I've retrieved the orphaned articles by changing the SQL va_articles_categories->parent_category_id of the sub-category from the sub-category (31) back to the FAQ category (4).
The SQL va_articles_categories->category_path is set to 0,4, which seems right.
The SQL va_articles_categories->total_articles appears correct.
The one problem I do see (as of now, before I dig into the php) is that the FAQ category (category_id 4) va_articles_categories->total_subcategories is "-1". Manually resetting this to 1 appears to have no effect.
Any pointers would be appreciated.
-Evan
Evan (Guest)
30 Mar 2009 5:23 PM
Problem resolved by ViArt support folks (thanks!)
The issue was user error due to the FAQ category block's behavior not being documented.