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 / Ads details

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

Ads details

More
8 years 3 months ago #23167 by owenn59
Ads details was created by owenn59
hello, I have a problem in details of ads.....when I publish a field with multi-select, all values are on list in the details of the ad....I want to have values separeted with a coma " , " for example or " - "
thanksssss
Attachments:
More
8 years 3 months ago #23178 by juloaadmin
Replied by juloaadmin on topic Ads details
You will have to change the rendering in helpers/field.php (showfieldValue function)

sorry there is no option for that.
More
8 years 3 months ago #23189 by owenn59
Replied by owenn59 on topic Ads details
Thanks but I'm not an expert of php....how to change this function? thank uu
More
8 years 3 months ago #23196 by juloaadmin
Replied by juloaadmin on topic Ads details
This is custom code modification, not included into support.

Anyway and just for this one (I cannot do more than that)
in showFieldValue

there is a switch case "multiselect"

and you will see this code
         case 'multiselect':
                                        $found = 0;
                    if(is_array($value))
                        $value = ','.implode(',',$value).',';
                                        foreach($values as $v)
                                        {
                                                if (strpos($value, ",".$v->fieldvalue.",") === false)
                                                {
                                                }
                                                else
                                                {
                                                        if ($found == 1)
                                                                $return .= "<br/>";
                                                        $return .= TText::_($v->fieldtitle);
                                                        $found = 1;
                                                }
                                        }
                                        break;

replace

$return .= "<br/>";

by

$return .= ", ";
The following user(s) said Thank You: owenn59
More
8 years 3 months ago #23207 by owenn59
Replied by owenn59 on topic Ads details
THANK YOU VERY VERY MUCH ! U ARE A GREAT ADMINISTRATOR
More
8 years 3 months ago #23219 by juloaadmin
Replied by juloaadmin on topic Ads details
You're welcome,

If you like our work, the best for use is a 100% review on extensions.joomla.org to help us increase adsmanager community
Moderators: perry
Time to create page: 0.152 seconds
Powered by Kunena Forum