Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Public Forum / Main Forum / adding values to dropdown list

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

× OLD Forum post could be checked here : forum.joomprod.com

adding values to dropdown list

More
12 years 4 months ago #5775 by Vivienne09
adding values to dropdown list was created by Vivienne09
Hi, I've been adding values to a dropdown list of towns and villages, for the ad_city field, and now for some reason each time I add a value, when I save, it goes straight back to the General tab, rather than staying in the Fields tab and giving me the message that the field has been saved. It also deletes the added, completed values since last save.
Any suggestions? I thought it had fixed itself because it started accepting the changes again, but now it's again malfunctioning.
thank you
Vivienne
More
12 years 4 months ago #5784 by tompap
Replied by tompap on topic adding values to dropdown list
How many values do you have ?
Maybe there is too much "input" on the page. And in your php settings you have a parameter for the max number of inputs.

So not all parameters are sent in the POST request. and also the "view" parameter is not sent, so it's while you are going to the general page, and nothing is sent.

You should try with less values.. to see that.

THen you have two solutions: increase max number of inputs in php.ini
OR
Use a external table with all cities inside of settings cities inside the field settings.
The following user(s) said Thank You: Vivienne09
More
12 years 4 months ago - 12 years 4 months ago #5796 by Vivienne09
Replied by Vivienne09 on topic adding values to dropdown list
Thank you for the reply. It first stopped allowing me to save new values after 229 items, then it allowed me to add 11 more, and then stopped again. It seems strange that if it's a problem with the max number, that it would have allowed me to ad the extra ten or so after stopping the first time.
I tried to use an external table but the instructions aren't detailed in the documentation and I couldn't get it to work. I couldn't see how the component would know where to look for the table - am I meant to upload it somewhere in Joomla? I'd really prefer to use a table as it's much less labour intensive!
Thanks again
Vivienne

PS here's the php.ini file string - I can't see anywhere that I would change the max value - can you help?
magic_quotes_gpc = Off
zend_extension=/usr/local/php53/lib/php/extensions/ioncube.so
zend_extension=/usr/local/php53/lib/php/extensions/ZendOptimizer.so
Last edit: 12 years 4 months ago by Vivienne09. Reason: added the php info
More
12 years 4 months ago #5804 by tompap
Replied by tompap on topic adding values to dropdown list
Hello, in php.ini file it's : max_input_vars

Regarding external table, there is a field to set the table name, a field to set which column contains the "value" (value store in the database), a field to set which column to use for the "label" (value that will be displayed in the dropdown.
Moderators: perry
Time to create page: 0.068 seconds
Powered by Kunena Forum