Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

[SOLVED] Listing multiple lists on a page

  • gjschaller
  • gjschaller
  • OFFLINE
  • Posts: 169
  • Thanks: 21
  • Karma: 7
8 years 7 months ago - 8 years 7 months ago #279309 by gjschaller
[SOLVED] Listing multiple lists on a page was created by gjschaller
I have several User Lists that are 20ish people each, that are members of our group's Staff. I would like to like to list them on page for easy viewing. A test site is here:

template.knightrealms.com/main-menu/marshals.html

Each list is a Module, of type iFrame, with a link like this:

/index.php?option=com_comprofiler&task=usersList&tmpl=component&listid=5

I have the Auto Height set to Yes, but it's still setting a height for each list, with scroll bars.

Can anyone suggest what I am doing wrong, or a better way to accomplish what I am looking for?

Thank you!

Geoffrey Schaller
Technical Officer
www.knightrealms.com
Last edit: 8 years 7 months ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
8 years 7 months ago #279336 by krileon
Replied by krileon on topic Listing multiple lists on a page
You can't use CSS to automatically set the height of the iframe to the height of the content without using JS.

Normally you'd do this with a simple function on the onload. It looks like you have something like that already set for your iframes as iFrameHeight(), but I see no such function loaded on your site. Appears to be due to CBs jQuery not loading (turned off maybe?).

Additionally you've a massive amount of JS errors (press F12 to open developer tools and review the console tab) so iFrameHeight() probably wouldn't work if it does exist.


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.

  • gjschaller
  • gjschaller
  • OFFLINE
  • Posts: 169
  • Thanks: 21
  • Karma: 7
8 years 7 months ago #279337 by gjschaller
Replied by gjschaller on topic Listing multiple lists on a page
I'd turned it off... I'll turn it back on and test in a bit.

Geoffrey Schaller
Technical Officer
www.knightrealms.com

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
8 years 7 months ago - 8 years 7 months ago #279345 by krileon
Replied by krileon on topic Listing multiple lists on a page
I do not recommend turning off CBs jQuery. If you're loading jQuery through your templates index.php then you need to also likely modify component.php to have jQuery load in it as &tmpl=component specifically uses component.php and not index.php.


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.
Last edit: 8 years 7 months ago by krileon.

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

  • gjschaller
  • gjschaller
  • OFFLINE
  • Posts: 169
  • Thanks: 21
  • Karma: 7
8 years 7 months ago #279346 by gjschaller
Replied by gjschaller on topic Listing multiple lists on a page
I just learned that the hard way. ;) I'd been trying to minimize load time by removing redundancy, but re-enabling it seems to have fixed the iFrame issue.

Geoffrey Schaller
Technical Officer
www.knightrealms.com

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

  • gjschaller
  • gjschaller
  • OFFLINE
  • Posts: 169
  • Thanks: 21
  • Karma: 7
8 years 7 months ago #279357 by gjschaller
Replied by gjschaller on topic Listing multiple lists on a page
Oddly, it seems fixed on Mobile, but not on a desktop browser (Chrome, FF, Safari on Mac).

Geoffrey Schaller
Technical Officer
www.knightrealms.com

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

Moderators: beatnantkrileon
Powered by Kunena Forum