My goal is to be able to change the content within AddtoMenu - so I can set the language by default rather than "all" - I want "en-gb" or "zh-TW" etc. based on my content type (am using FLEXIcontent).

AddtoMenu uses squeezebox to trigger iframe - and I can't work out how to edit the squeezebox iframe content. I can manipulate the #sbox-window its held in:

if ($("#jform_language").val() === "en-GB") {

But how do I add a class to the iframe when it pops opens?

<a href="index.php?rl_qp=1&folder=administrator.modules.mod_addtomenu&file=popup.php&comp=item_old&vars[view]=item&vars[cid]=358&vars[option]=com_flexicontent&vars[task]=items.edit" class="btn btn-small addtomenu_link modal hasTooltip" title="<strong>Add to Menu</strong><br>Content item" rel="{handler: 'iframe', size: {x: 600, y: 670}}"><span class="icon-reglab icon-addtomenu"></span> Add to Menu</a> 
  • Have you tried to ask Peter at RegularLabs Forum regularlabs.com/forum/addtomenu ? Who is more knowledgeable about some extension than its developer... – Mikan Nov 21 '16 at 19:26
  • 1
    Yes - the issue is now solved. Peter had added the feature to the latest experimental version: regularlabs.com/development-releases – iamrobert Nov 22 '16 at 3:37
  • The you might consider posting that answer yourself and accept it. Otherwise question will stay in JSE system as unanswered for no reason. – Mikan Nov 22 '16 at 11:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.