How To / General
Adding attributes to Joomdle iFrame
- Web Buster UK Ltd
-
Topic Author
- Offline
- Premium Member
-
Less
More
5 years 3 months ago - 5 years 3 months ago #1
by Web Buster UK Ltd
Adding attributes to Joomdle iFrame was created by Web Buster UK Ltd
Hi Antonio. Is it possible to add attributes to the iframe tag loaded by Joomdle (course wrapper) without using javascript? We need to add a data attribute to the iframe with id 'blockrandom', but can't seem to find it within the code.
Thanks in advance!
Thanks in advance!
Last edit: 5 years 3 months ago by Web Buster UK Ltd.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7848
5 years 3 months ago #2
by Antonio Durán
Replied by Antonio Durán on topic Adding attributes to Joomdle iFrame
Hi.
You would need to edit file: components/com_joomdle/views/wrapper/tmpl/default.php and add the attribute there.
If you don't want to modify Joomdle core code, which is never a good idea, you can create a template override for the wrapper view, and do your changes there:
www.joomdle.com/wiki/Modifying_Joomdle_look_and_feel
You would need to edit file: components/com_joomdle/views/wrapper/tmpl/default.php and add the attribute there.
If you don't want to modify Joomdle core code, which is never a good idea, you can create a template override for the wrapper view, and do your changes there:
www.joomdle.com/wiki/Modifying_Joomdle_look_and_feel
Please Log in or Create an account to join the conversation.