Load editor-xtd plugin layout from specified file - Joomla! Forum - community, help and support


hello!

i'm working on joomla! 2.5/3.x editor-xtd button , have problem loading layout file on button click.

i have tried method:

code: select all

$link = 'plugins/editors-xtd/myplugin/myplugin.layout.php?name='.$name;

$button = new jobject;
$button->modal = true;
$button->class = 'btn';
$button->link  = $link;
$button->text  = 'insert something';
$button->name  = 'myplugin';
$button->options = "{handler: 'iframe', size: {x: 500, y: 300}}";


... full generated link in admin looks http://my.local.host/mywebsite/administ ... /link-etc.. , doesn't work. have tried including juri::base in $link, administrator path still loaded.

i'm new in plugin dev joomla! , have search lot no solution found.

** tried link index.php?folder=plugins.editors-xtd.myplugin&file=myplugin.layout.php&name=$name still nothing. there workout or i'll have create&use javascript function run on button click?

kr3ck3n

did found solution problem, because having same problem.

kind regards
olivier





Comments

Popular posts from this blog

Assign one article to one user - Joomla! Forum - community, help and support

Joomla 3.3 Installation Error message - Joomla! Forum - community, help and support

Catalogue Size