WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => Droplets & Snippets => Topic started by: lausianne on September 30, 2009, 03:32:38 PM

Title: "New" Droplet: siblings
Post by: lausianne on September 30, 2009, 03:32:38 PM
Hi,

I just "wrote" my first droplet. It's actually "children" minus "+1":

Code: [Select]
ob_start();
show_menu2(0, SM2_CURR, SM2_ALL, SM2_ALL|SM2_CURRTREE);
$content = ob_get_contents();
ob_end_clean();
return $content.' ';

I'd like to submit it, but don't know how. On AMASP it says:
Quote
... send the Droplet to us using this Form.
The link to the Form is dead, though.

I'm not even sure it's worth an extra entry, since anyone could delete the "+1" or modify the show_menu2 line himself ...
 
Cheers.
Ralf.
Title: Re: "New" Droplet: siblings
Post by: aldus on September 30, 2009, 03:42:54 PM
Hm ...

http://www.websitebakers.com/pages/droplets/submit-droplet.php

Still works ... but as for me, i'm a little bit confused about the minus/plus puls/minus
+ * ... ähm ...  :roll:

Regards
Aldus
Title: Re: "New" Droplet: siblings
Post by: lausianne on September 30, 2009, 10:13:52 PM
Hi Aldus,

ah, thanks, now I found the form in the droplet dropdown menu. Before, I had only found the above mentioned line in "about droplets", very bottom, with no link. Maybe you could add one to that line?

siblings:
show_menu2(0, SM2_CURR, SM2_ALL, SM2_ALL|SM2_CURRTREE);

children:
show_menu2(0, SM2_CURR+1, SM2_ALL, SM2_ALL|SM2_CURRTREE);

It would be nice to have a show_menu droplet that takes a few parameters ...

I tried to use this as a second level menu. Worked fine in FF etc., no go with ie, because of absolute positioning bug. Now I use show_menu2 anyway ...

Cheers,
Ralf.
Title: Re: "New" Droplet: siblings
Post by: erpe0812 on October 01, 2009, 09:34:42 AM
Quote
Maybe you could add one to that line
Submit page is now linked.

rgds

erpe