Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
Evan (Guest)
Evan (Guest)
Hello,
 
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)
Evan (Guest)
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)
Evan (Guest)
Problem resolved by ViArt support folks (thanks!)
 
The issue was user error due to the FAQ category block's behavior not being documented.