You need to be logged in to post in the forum - Log In
An active JCE Pro Subscription is required to post in the forum - Buy a Subscription
- Support
- Forum
- JCE Plugins / Addons
- User parameters in iFrame/Templates
Support is currently Offline
Official support hours:
Monday To Friday
From 09:00 To 17:00 Europe/London (BST)
From 09:00 To 17:00 Europe/London (BST)
Please post your question in the Forum and we will get back to you as soon as we can.
Monday, 11 April 2022
1 Replies
829 Visits
Hi,
I'm trying to find my way around templates.
I would like to add podcast episodes from an external website that supports iFrame and generate its own iFrame player with a link.
In particular, I (the developer) would like Editors (not used to code) to be able to insert podcast by just filling in the ID, for instance
...src="https://player.podcastsite.com/index.html?podcastId=[podcast-id]&otherparam=blabla"...
with the ID 123456 would become
...src="https://player.podcastsite.com/index.html?podcastId=123456&otherparam=blabla"...
Is it possible for an Editor to insert such info into an iFrame/Template from the template user interface (see attached image)?
Regards,
I'm trying to find my way around templates.
I would like to add podcast episodes from an external website that supports iFrame and generate its own iFrame player with a link.
In particular, I (the developer) would like Editors (not used to code) to be able to insert podcast by just filling in the ID, for instance
...src="https://player.podcastsite.com/index.html?podcastId=[podcast-id]&otherparam=blabla"...
with the ID 123456 would become
...src="https://player.podcastsite.com/index.html?podcastId=123456&otherparam=blabla"...
Is it possible for an Editor to insert such info into an iFrame/Template from the template user interface (see attached image)?
Regards,
Please try JCE Pro 2.9.23 Beta 4 - https://www.joomlacontenteditor.net/downloads/editor/pro/development
Any variables set in content using the form {$variable} will be availalble in a dialog prompt for the user to add. So, in your instance, if the content was:
then the dialog would show a field with the label podcast-id for the user to enter in the id. In the example below I've used a variable of {$Podcast ID} so the label displayed is more user friendly.
Any variables set in content using the form {$variable} will be availalble in a dialog prompt for the user to add. So, in your instance, if the content was:
...src="https://player.podcastsite.com/index.html?podcastId={$podcast-id}&otherparam=blabla";...
then the dialog would show a field with the label podcast-id for the user to enter in the id. In the example below I've used a variable of {$Podcast ID} so the label displayed is more user friendly.

Just because you're not paranoid doesn't mean everybody isn't out to get you.
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »