Dynamic page question

Hello; please see the attached screenshot.


I have a members profile page and would like the slideshow to show on only Katie Thompson’s page but not the rest of the member’s pages. Future members may require a slideshow too, but at the moment only Katie Thompson’s page needs it. Currently, the slideshow is appearing on all the other member’s pages (eg. Lisa and Mahboubeh’s).

Any help/guidance to show the slideshow on only Katie Thompson’s page is appreciated. Thanks in advance.

Hi Adam,
My suggestion is to add a boolean field to the member’s database collection called “showSlideShow” and set all members to false except Katie.
In the dynamic page I would set the slideshow element to hidden on load.
In the onReady function I would check:

if (getCurrentItem().showslideshow) {
  $w('#slideshow1').show();
}

Good luck!
Roi.

Thank you, Roi, I appreciate it.

What about if a new member has a new slideshow? Forgive me as I’m brand new to Wix code.

Hi Adam,

What about if a new member has a new slideshow? Forgive me as I’m brand new to Wix code.
You mean there’s a specific slideshow only for Katie Thompson. But in the future you may want to add another one for another specific member?

Hello Yevhen,

Thanks for reaching out. Yes, that’s correct.

You can add multiple slideshows or other elements you want to make specific for certain users to the page.

Make the elements hidden on load and show the needed ones programmatically depending on the member ID.

Thank you, Yevhen.

Can you expand on that; perhaps letting me know the exact code and where to input it? Forgive me as I’m new and inexperienced with Wix Code.

  • Adam

Hi Adam,

Could you please give me a link to your site?

Here’s the link, Yevhen: www.g-swaptrading.com/our-members

Please note that I do not use a slideshow anymore, but have a separate question instead. Please see Mahboubeh (Maggie) Bahreini’s page. Is there a way I can decrease the gap between her Business Description and Contact Information . Currently, the space between these sections is large enough to accommodate the longest profile description (Sarah Stewart’s). Is there a way I can bring up the Contact Information to reduce the space between her Business Description and Contact Information ?

Thank you.

Hi Adam,

Sure. Just move the elements that are below Business Description close enough to the description text. The space will remain the same regardless of the length of the description: when the description is long, it’ll just push Contact Information down — it won’t overlap.

Thank you, Yevhen.

You’re welcome!