Skip to Content Skip to Menu

🕒 Save Time and Effort with CB Editor Assistant: Effortlessly create and refine content in Joomla 3, 4, & 5.
🎁 Limited Offer: Enjoy a 5-day FREE trial and save up to 30% afterward!

Substitution not working in Custom HTML modules

  • securepro
  • securepro
  • OFFLINE
  • Posts: 27
  • Thanks: 0
  • Karma: 0
12 years 2 months ago - 12 years 2 months ago #213847 by securepro
I have substitution working inside an article but it doesn't work when I paste the same substitution code in an Custom HTML module.
Code:
The user {cb:[cb:userdata field="username" user="#me" /]} name is: {cb:[cb:userdata field="name" user="#me" /]}.

Does substitution work in Custom HTML Modules?
Last edit: 12 years 2 months ago by securepro.

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
12 years 2 months ago #213863 by nant

securepro wrote: I have substitution working inside an article but it doesn't work when I paste the same substitution code in an Custom HTML module.

Code:
The user {cb:[cb:userdata field="username" user="#me" /]} name is: {cb:[cb:userdata field="name" user="#me" /]}.

Does substitution work in Custom HTML Modules?


Joomla version?
CB Version?
CB COntent bot version?

please always give version numbers!

if you are on Joomla 2.5 - in your Custom HTML module parameters have you specified prepare content to Yes?

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

  • securepro
  • securepro
  • OFFLINE
  • Posts: 27
  • Thanks: 0
  • Karma: 0
12 years 2 months ago #213963 by securepro
Sorry on the version omission.

Joomla 2.5.7
CB 1.8.1
Content 2.1.0
Custom HTML module "Prepare content" = yes.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48708
  • Thanks: 8319
  • Karma: 1447
12 years 2 months ago #214020 by krileon
It doesn't work on Custom HTML modules. For substitutions in modules you need our CB Content module. CB Content Bot is for articles only.


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.
The following user(s) said Thank You: securepro

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
12 years 2 months ago #214029 by nant

krileon wrote: It doesn't work on Custom HTML modules. For substitutions in modules you need our CB Content module. CB Content Bot is for articles only.


ah - sorry i missed this.
The following user(s) said Thank You: securepro

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

Moderators: beatnantkrileon
Powered by Kunena Forum