Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 12:39:05 AM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155533 Posts in 21713 Topics by 7738 Members
Latest Member: Pattieardathfe
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Droplet multiple times on a page  (Read 909 times)
Youkai

Offline Offline

Posts: 2


« on: September 30, 2009, 05:29:53 PM »

I have a droplet I created and I want to call it multiple times on a page. My calling code looks like this:

[[ItemCheckboxes?startPoint=101&checkboxID=products]]
[[ItemCheckboxes?startPoint=97&checkboxID=products]]
[[ItemCheckboxes?startPoint=114&checkboxID=products]]

The start points are page ID's. My droplet is essentially this (I stripped out a couple things but this code is in my droplet):

$displayText = 'Start Point: '.$startPoint.'<br />';
return $displayText;

When it spits out to the page I get "Start Point: 101" three times. Is there a known issue with calling droplets with pramaters multiple times on the same page? It seems that my second and third call are using the parameter from the first call.

I am using: CMS version 2.8, Admin version 1.4
Logged
instantflorian
Betatester
*
Offline Offline

Posts: 804



WWW
« Reply #1 on: September 30, 2009, 06:33:57 PM »

Hi,

please update the droplets module to version 1.0.2 which you can find here:
http://www.websitebakers.com/pages/droplets/module-wb2.8.php

Regards

-instantflorian.
Logged
BlackBird
AddOn Development
*
Offline Offline

Posts: 2069



WWW
« Reply #2 on: April 01, 2010, 12:18:20 PM »

This problem still occurs with Droplets 1.0.2
Logged

Alle großen Veränderungen beginnen im Kleinen
DarkViper
Development Team
*****
Offline Offline

Posts: 1252


« Reply #3 on: April 02, 2010, 06:32:25 PM »

solved with version 1.0.3 (07.03.2010)
available on SVN
Logged

Anleitungen lesen und selber nachdenken ist anstrengend...  Da lass ich doch lieber andere für mich denken...

In 1984:  Nineteen Eighty-Four is a unrealistic utopia!!
In 2012:  Nineteen Eighty-Four is a little piece only of our reality!!
erpe

Offline Offline

Posts: 2077


WWW
« Reply #4 on: April 02, 2010, 11:16:12 PM »

Click here to download module only

rgds

erpe
Logged

Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!