× How To / General

Adding attributes to Joomdle iFrame

1 month 3 weeks ago 1 month 3 weeks ago by Web Buster UK Ltd.
Web Buster UK Ltd
Posts: 91
More
Topic Author
Adding attributes to Joomdle iFrame #1
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!

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

1 month 3 weeks ago
Antonio Durán
Posts: 7252
More
Adding attributes to Joomdle iFrame #2
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 k

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