Download & Extend

Allow skin to be a setting per popup

Project:Popups API (Ajax Dialogs)
Version:6.x-2.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

I'm currently working on integrating some advanced functionality into a module I'm creating where I need to be able to have a specific skin for the popup used in various locations, but do/would not want to override the system to use that skin as the default.

It would be GREAT if we could define a skin the the setting for the links, or if none was defined, use the system default skin.

Something like:

<?php
$form
[$key]['add_template'] = array(
 
'#value' => l(
 
t('add new template'),
 
'admin/build/delta/add-template/'. $theme, array(
 
'attributes' => array(
   
'class' => 'popups-form',
   
'id' => $delta['did'],
   
'on-popups-options' => {skin: "A Skin That is not the default"}
   )
  )
);
?>

Comments

#1

I second this

nobody click here