Pass url to Subscribe Dialog

Development-related discussion, including bundled plugins
User avatar
idoxlr8
Bear Rating Trainee
Bear Rating Trainee
Posts: 46
Joined: 25 Mar 2013, 20:04
Location: Texas, USA
Contact:

Pass url to Subscribe Dialog

Postby idoxlr8 » 29 Mar 2013, 21:53

I'm trying to write my first plugin and can't seem to figure out how to pass a url to the Subscribe to feed Dialog.
I am using a button, here is the button code:

Code: Select all

   <button dojoType="dijit.form.Button" onclick="quickAddFeed()">
      <?php echo __('Subscribe to feed') ?></button>

I tried this, without success:

Code: Select all

      <button dojoType="dijit.form.Button" onclick="quickAddFeed()" feed_url="http://xkcd.com/rss.xml">
      <?php echo __('Subscribe to feed') ?></button>

Any help would be appreciated, Thanks

Return to “Development”

Who is online

Users browsing this forum: No registered users and 2 guests