Skip to Content Skip to Menu

🌟 CB Editor Assistant 1.0.0 is here! Discover our new AI Joomla Plugin that wrote its story! (and this banner!)
Start at just $12.50/month* or 💸 save 30% with our 🛍️ Black Friday Intro Offer for your subscription's lifetime
🎉 Black Friday sale is here! Great savings on professional and developer memberships! Get 25% off now with code BLACK-FRIDAY-2024!

How to make Modules Anywhere work...

  • timstohr
  • timstohr
  • OFFLINE
  • Posts: 1091
  • Thanks: 56
  • Karma: 9
6 years 5 months ago #305483 by timstohr
Replied by timstohr on topic How to make Modules Anywhere work...
Hi, yes it did not display any stream. Even when I just tried asset="mainforum".

On using "profile" it displayed the stream but on "mainforum" it did not. I am using "mainforum" in the asset field of the module.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48560
  • Thanks: 8292
  • Karma: 1445
6 years 5 months ago #305485 by krileon
Replied by krileon on topic How to make Modules Anywhere work...
I'm not sure what to suggest as the below displays perfectly fine in my tests.

[cbactivity:activity asset="mainforum" /]

It's empty except for the global activity posts, but displays and works fine. Are you sure the syntax you're using is absolutely correct?


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.

  • timstohr
  • timstohr
  • OFFLINE
  • Posts: 1091
  • Thanks: 56
  • Karma: 9
6 years 5 months ago #305499 by timstohr
Replied by timstohr on topic How to make Modules Anywhere work...
OK I am litterally tearing my hairs out now because sometimes it works and sometimes not. I am assuming that it started working after I updated the component. Anyway, it is a really great idea to have this as it saves loads of time.

What you're seeing something reversing the encoding and I guess re-encoding it, which is why it breaks


Any idea what could be doing it? At which level does it reverse the encoding? Article level, cache?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48560
  • Thanks: 8292
  • Karma: 1445
6 years 5 months ago #305500 by krileon
Replied by krileon on topic How to make Modules Anywhere work...
Disable your WYSIWYG editor or use View Source as the editor it self could be encoding the HTML causing the REGEXP to be unable to match.


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.

  • timstohr
  • timstohr
  • OFFLINE
  • Posts: 1091
  • Thanks: 56
  • Karma: 9
6 years 5 months ago - 6 years 5 months ago #305777 by timstohr
Replied by timstohr on topic How to make Modules Anywhere work...
Hi, sorry to pester you again... I may have found a solution on how to make it work (or at least the cause of it not working)
When I use Modules Anywhere, then it breaks everything/CSS does not get loaded.

HOWEVER, If I put another Activity module on the same page, then both activity modules look the same. That means that the problem is that something does not get loaded.



I have also tried unpublishing the original Activity module and it broke again.

Any ideas how I can load the remaining files into the place where it needs to be?

(btw that also happens when I use the synthax to display the activity module in an article)
Attachments:
Last edit: 6 years 5 months ago by timstohr.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48560
  • Thanks: 8292
  • Karma: 1445
6 years 4 months ago #305799 by krileon
Replied by krileon on topic How to make Modules Anywhere work...
If you're seeing the below then it means something has reversed the htmlspecialchars encoding of the article after CB Activity Bot has replaced the shortcode with the activity stream. This is why it breaks.

www.joomlapolis.com/forum/153-professional-member-support/239308-how-to-make-modules-anywhere-work?start=6#305438

Try changing the load order for your content plugins. Specifically change "Content - CB Activity" to be loaded last in Extensions > Plugins as maybe that'll prevent other content bots from breaking it.


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.

Moderators: beatnantkrileon
Powered by Kunena Forum