Open Source & Stuff  
  |     Main Site     |      Forum     |     Contact     |
Ajax Linked Select boxes :  forum.Salix.gr forum.Salix.gr
Comments, questions, usage, bugs. 
Goto Thread: PreviousNext
Goto: Forum ListMessage ListNew TopicSearchLog In
messagedifferent "Please Select" texts
Posted by: bunker (IP Logged)
Date: May 16, 2007 01:45PM

Hello

is it possible to make customized "Please Select" texts?

example

1. box: "Select Genre"

2. box: "Select Artist"

3. box: "Select Album"

Cheers!

messageRe: different "Please Select" texts
Posted by: panos (IP Logged)
Date: May 16, 2007 03:11PM

hehehe

you are not the first asking for that smiling smiley

it is in plans for next version, soon will make an official list of new features to be added in next version...

messageRe: different "Please Select" texts
Posted by: bunker (IP Logged)
Date: May 17, 2007 06:07AM

whoooohooo!


when is this next version coming up?

messageRe: different "Please Select" texts
Posted by: panos (IP Logged)
Date: May 18, 2007 03:41AM

Quote:
bunker
whoooohooo!

when is this next version coming up?

Today smiling smiley

messageRe: different "Please Select" texts
Posted by: bunker (IP Logged)
Date: May 18, 2007 07:46AM

has it arrived yet?

messageRe: different "Please Select" texts
Posted by: panos (IP Logged)
Date: May 18, 2007 09:31AM

get this

[www.salix.gr]

fast coded so maybe i managed to create new bugs smiling smiley

messageRe: different "Please Select" texts
Posted by: bunker (IP Logged)
Date: May 19, 2007 09:28AM

new bugs are always welcome!

cheers!

messageRe: different "Please Select" texts
Posted by: bunker (IP Logged)
Date: May 19, 2007 10:18AM

is there a way to upgrade my old installation with this one or do i have to do everything over again?_

messageRe: different "Please Select" texts
Posted by: panos (IP Logged)
Date: May 19, 2007 03:45PM

just replace sc_classes.php and sc_select_ajax_handler.php with the new ones
and i think you are ok.

messageRe: different "Please Select" texts
Posted by: bunker (IP Logged)
Date: May 20, 2007 12:29PM

I replaced the above files with new ones.. but couldnt figure out how to make "Please Select Brand" and "Please Select Color" (different "Please Select" ) texts..

any clues?

messageRe: different "Please Select" texts
Posted by: panos (IP Logged)
Date: May 20, 2007 04:56PM

Hey mate take a look at updated documentation smiling smiley

added 1 more params to

add_select_box(db_table_name, key_field_name, description_field_name, order_field_name, selected_value, tag_name, tag_id, [extra_tag_attributes] , [extra_where], [select_prompt_text])

Cheers!

Panos

messageRe: different "Please Select" texts
Posted by: panos (IP Logged)
Date: May 21, 2007 02:39PM

Worked????

messageRe: different "Please Select" texts
Posted by: panos (IP Logged)
Date: May 22, 2007 02:03AM

Worked????

messageRe: different "Please Select" texts
Posted by: bunker (IP Logged)
Date: May 24, 2007 11:04AM

I was away from office.. I will try it and inform you rightaway...

messageRe: different "Please Select" texts
Posted by: bunker (IP Logged)
Date: May 24, 2007 11:22AM

$sc_ajax_select_boxes->add_select_box('areas','rec_id','descr','rec_id',11,'ilce','sel_id_2','','parent_id=86','Please Select Genre');


is the above correct? I hope not, cause it did not work..


cheers!

messageRe: different "Please Select" texts
Posted by: panos (IP Logged)
Date: May 24, 2007 02:42PM

?!?!?!?!?!?!?


please sc_classes.php line 254 if looks like:

function add_select_box($table_name, $key_field, $text_field,
$order_field, $selected,
$name, $id, $extra = "", $extra_where = "",
$select_prompt_text='Please Select'
) {


and if sc_select_ajax_handler.php line 59 looks like:

print '<item>'.$select_prompt_text.'</item>';

Because in demo page code is exactly like yours...
$sc_ajax_select_boxes->add_select_box('lsd_demo_2','rec_id','descr','rec_id',2,'sel1','sel_id_1','', 'parent_id=0','Select 1');

messageRe: different "Please Select" texts
Posted by: panos (IP Logged)
Date: May 27, 2007 03:26PM

Any luck?

away again?

messageRe: different "Please Select" texts
Posted by: panos (IP Logged)
Date: July 07, 2007 03:57PM

must be a long vacation.....

messageRe: different "Please Select" texts
Posted by: XiaNYdE (IP Logged)
Date: July 22, 2007 11:17AM

been playing with your script mate and have it working sweet, seen that you were waiting on an answer on this, so thought i would sign up and let you know it works just fine, and exactly as you said above winking smiley

messageRe: different "Please Select" texts
Posted by: panos (IP Logged)
Date: July 23, 2007 04:14AM

Thank you smiling smiley

messageWhat if i want to quit it?
Posted by: trovadicto21 (IP Logged)
Date: December 04, 2007 05:12AM

Hi Panos

Before any word... YOU ARE MY OWN PERSONAL GOD OF AJAX!! =P... i mean it.

Ok then...

I tried to quit the $prompt_text, because i dont want to show them.

It is possible?

Thanks



Sorry, only registered users may post in this forum.

All Rights Reserved 2006 Salix.gr  |  Design by Ades Design |  Hosting by e-emporio |  forum.Salix.gr powered by Phorum