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 / Support / AdsManager Support / Different titles for select input in Search Module

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.

Different titles for select input in Search Module

More
12 years 6 months ago #4882 by obejo
I would like to change the default text in the select options in the Search Module Cascade dropdown view for categories and subcategories.
The text what is displayed by default is --.

The file is located here:
/components/com_adsmanager/helpers/category.php

The variable is the following in line 53:
$text = "--";

The Problem.
This variable is used for default text for both (categories and subcategories), so if i change this it will change for both the same. I would like to set different texts like "Select category" and "Select subcategory".

If anybody has some solution, please let me know.

Thank you.
The following user(s) said Thank You: adarr
More
12 years 6 months ago #4901 by loic
Hello,

Sorry, but i need a little clarification.

You wish to change the default text only for the root categories ? Or you wish to be able to custom the text for each type of categories ?
The following user(s) said Thank You: adarr
More
12 years 6 months ago - 12 years 6 months ago #4912 by obejo
Thank you for your reply. So this is the advanced search module.
I would like to change the Text1 and Text2.




The file is located here:
/components/com_adsmanager/helpers/category.php

The variable is the following in line 53:
$text = "--";

The problem is that they are using the same variable, so if i change the text it will apply for both texts.
I would like to have Select category and Select subcategory.



Thank You.
Attachments:
Last edit: 12 years 6 months ago by obejo.
The following user(s) said Thank You: adarr
More
12 years 6 months ago #4933 by tompap
You will need to update the code right now at the line you mention.
there is no option to change that;
The following user(s) said Thank You: adarr
More
12 years 4 months ago #5974 by francishift
Replied by francishift on topic Different titles for select input in Search Module
if ($text == 'ADSMANAGER_SELECT_CATEGORY_LEVEL_0') {
$text = JText::_('ADSMANAGER_TIPO_VEHICULO');
}
if ($text == 'ADSMANAGER_SELECT_CATEGORY_LEVEL_1') {
$text = JText::_('ADSMANAGER_MARCA_VEHICULO');
}
The following user(s) said Thank You: adarr
Time to create page: 0.051 seconds
Powered by Kunena Forum