Skip to Content Skip to Menu

list within article?

  • Nijssen
  • Nijssen
  • OFFLINE
  • Posts: 25
  • Thanks: 0
  • Karma: 0
9 years 7 months ago #260615 by Nijssen
list within article? was created by Nijssen
i would like to create a list with users and i want to display a filtered part of that list within an article ?

can CB do this ?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48479
  • Thanks: 8282
  • Karma: 1443
9 years 7 months ago #260642 by krileon
Replied by krileon on topic list within article?
Only way to do that is to load a CB userlist into an iframe with &tmpl=component appended to the URL so you don't get the template formatting. I recommend shutting off paging, filtering, and profile linking for your userlist when you do this as using either of them inside the iframe will just navigate the iframe and not the parent window.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

  • Nijssen
  • Nijssen
  • OFFLINE
  • Posts: 25
  • Thanks: 0
  • Karma: 0
9 years 7 months ago #260646 by Nijssen
Replied by Nijssen on topic list within article?
can you give me an instruction how to load a userlist into an iframe?

(please)

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48479
  • Thanks: 8282
  • Karma: 1443
9 years 7 months ago #260649 by krileon
Replied by krileon on topic list within article?
You'll need to know the List ID that you want to link to. You can find this within CB > List Management under the ID column to the far right. Next you'll need to use it in the below example usage.

Code:
<iframe src="http://YOUR_DOMAIN/index.php?option=com_comprofiler&view=userslist&listid=LIST_ID_HERE&tmpl=component"></iframe>

See the below for additional iframe usage information as it has many attributes you can use to customize its display.

developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe

For best display of a userlist in an iframe I recommend configuring the below by editing your userlist within CB > List Management.

Parameters > Search
Searchable fields: No

Parameters > Display
Show List Selector: No

Parameters > Paging
Show pagination: No

Parameters > Linking
Allow Link to Profile: No

This should make the userlist basically display purposes only and very little or no interaction as any links in the iframe will navigate the iframe.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

  • Nijssen
  • Nijssen
  • OFFLINE
  • Posts: 25
  • Thanks: 0
  • Karma: 0
9 years 7 months ago #260654 by Nijssen
Replied by Nijssen on topic list within article?
i just love you guys...

it works...

this is the result: 149.210.152.153/~ltcgulpen/de-club/bestuur

just one small question: can i remove the text: LTC Gulpen heeft 3 geregistreerde gebruikers

ltc gulpen has 3 registered users is that in dutch.

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

  • Nijssen
  • Nijssen
  • OFFLINE
  • Posts: 25
  • Thanks: 0
  • Karma: 0
9 years 7 months ago #260656 by Nijssen
Replied by Nijssen on topic list within article?
i also have a multi select drop down field, i am searching for the advance filter when 2 options are selected and one of those is my selection for that list....

king kong
athleet
sportsman

say i want a list with all athleets but a registerd user hase athleet and sportsman selected...

please help ...

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

Moderators: beatnantkrileon
Powered by Kunena Forum