Hi Randy,
thanks for the reply!
Simply I
want use joomla tags everywere :) :
- to
create a tag-page for a group of users by clicking on the tag link
- to
set pre-defined tags for the article/category and render tags as normally
Joomla does
1) => For the first idea:
I created a
user registration form.
I have
created 10 usergroups in joomla with IDs=1...10.
Also I
have 10 Joomla tags with IDs=80..90.
User can
select upto 10 groups (all) - this is not too much, so it's comfortable to
create only one checkbox field with multiple choice.
I need one
page per usergroup -main target. A Link to a"group page" is going to be
located under the user's name (like all forums=>username+role), thus anyone can
click this link(tag) and land on the "user's group page" to see other
users in the group.
What I
do?
I have
created a
field_checkbox with [10
options = 10 J! group IDs]...and 10 extra
fields_text.
Each option of the
field_checkbox is
equal to a group ID. I'm applying conditional states for extra 10
fields_text in order to fill them with
values like [THIS FIELD IS FILLED=80 WHEN
field_checkbox
IS EQUAL=1]. Generally, I match groupID with tagID in this way.... where tag
IDs are from 80 till 90.
When user
has finished with selection, I use a
field_sdconcat
to combine all retrieved values from
fields_text
and store them in
standard->user->tags
Next step
- I'm going to display the tag-links in my Joomla template using their IDs,
stored in DB for each user (I don't know how, but I will find a way...I guess, I
need to add SQL query and some php code in my template...). I'm not sure if
this solution let me create "user group" page.
Might be
that result will be = 0, because Joomla displays on a tag page only articles
related to the tag, but not users!!! as far as users >< articles.
I stacked
here and need some help. I can't find a tool to display a user group page with
links to user page/profile using Seblod.
2) => For the
second idea:
I created
a sort of advertisement submission form.
I have
created a kind of two-level cascade (based also on conditional states) from
field_checkbox because I have more than
100 options (I split them in 4 fields x 25options, so totally 5 fields incl.
"parent" field with 4 options/conditions). The
field_checkbox
have option1=999...option100=899, where 899..999 are IDs of joomla tags. User
can choose all of them if he/she wants so like in previous case - I need a
final
field_SDconcat where I can
store values from all of 4 fields. Storage is:
standard->article->tags. In this case, I guess, I have
succeeded because User creates article with assigned tags I need (not a user
custom/own tags!).
What is
difficult?
I think,
we need a special kind of cascade checkbox / multiselect field, with
pre-defined conditional states "from the box". You can imagine what
i've done: i split one field to get 5 fields more "user friendly"
& compact page for mobile devices....and after that i need a concat field
to combine again in one - really stupid solution. Is there any other solution
for multi-selection choice from over 100 options?
So, I see
2 extra issues/features which are not covered by Seblod:
- 1.listing usergroup with users (or i
don't see solution), where usernames are links to their profile pages
- 2.work with huge checkbox
multi-selection fields, without "cascading"/dividing them