Automatically filtering articles - Joomla! Forum - community, help and support
i need have website automatically filter articles according custom attributes associated user profile. users need able explicitly specify attributes override defaults.
it's easy enough write plugin pull attributes user's profile , associate them article. it's automatically displaying of correct articles has me bit stumped.
for example, let's user attribute red associated them. new article make needs have red attribute. can store article, it's id, , make entry in table id , red attribute.
now when red user looks @ website, should see articles red. blue user see blue articles, etc. (note i'm user colors here clarification).
i can't use security features attributes added dynamically, , red user can choose see blue articles if want to.
i'm trying not modify articles module (or other core modules) if can avoid it. hoping able create new components/modules/plugins can more support joomla updates existing templates.
any ideas appreciated.
it's easy enough write plugin pull attributes user's profile , associate them article. it's automatically displaying of correct articles has me bit stumped.
for example, let's user attribute red associated them. new article make needs have red attribute. can store article, it's id, , make entry in table id , red attribute.
now when red user looks @ website, should see articles red. blue user see blue articles, etc. (note i'm user colors here clarification).
i can't use security features attributes added dynamically, , red user can choose see blue articles if want to.
i'm trying not modify articles module (or other core modules) if can avoid it. hoping able create new components/modules/plugins can more support joomla updates existing templates.
any ideas appreciated.
Comments
Post a Comment