WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Droplets & Snippets »
  • "New" Droplet: siblings
  • Print
Pages: [1]   Go Down

Author Topic: "New" Droplet: siblings  (Read 5382 times)

Offline lausianne

  • Posts: 206
    • Webdesign Burgdorf
"New" Droplet: siblings
« 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.
Logged

aldus

  • Guest
Re: "New" Droplet: siblings
« Reply #1 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
Logged

Offline lausianne

  • Posts: 206
    • Webdesign Burgdorf
Re: "New" Droplet: siblings
« Reply #2 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.
Logged

erpe0812

  • Guest
Re: "New" Droplet: siblings
« Reply #3 on: October 01, 2009, 09:34:42 AM »
Quote
Maybe you could add one to that line
Submit page is now linked.

rgds

erpe
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Droplets & Snippets »
  • "New" Droplet: siblings
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2