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 / [RESOLVED]Change Ads automatic meta keywords

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.

[RESOLVED]Change Ads automatic meta keywords

More
11 years 2 months ago - 11 years 2 months ago #3867 by panta7
Hello,
is it possible to change the way in which my keywords are automatically generated? Thanks.

Currently AdsManager divides each word of the title in a single keyword, I prefer this title to be a unique single keyword.

Example
ads title: Beautiful hotel in London
what adsmanager do automatically: Beautiful,hotel,in,London
what I prefer: Beautiful hotel in London
Last edit: 11 years 2 months ago by panta7.
The following user(s) said Thank You: adarr
More
11 years 2 months ago #3879 by loic
Replied by loic on topic Change Ads automatic meta keywords
Hello,

You have two solutions to do what you want :

1. In the AdsManager configuration, General tab, set the setting 'Metadata' to 'Edit Metadata in Backend, Automatic in Frontend'.
With this setting, you can write the metadata manually in the backend.

2. In the AdsManager configuration, General tab, set the setting 'Metadata' to 'Automatic in FrontEnd and Backend'.

Then open the file components\com_adsmanager\views\details\view.html.php and replace the line 150 :
$content->metadata_keywords = str_replace(" ",",",$content->ad_headline);

By :
$content->metadata_keywords = $content->ad_headline;

The keywords metadata will be automaticaly generated like you want without any intervention from you.

But be aware that any reinstallation of AdsManager will erase this modification and you will have to do it again.

Best Regards
The following user(s) said Thank You: adarr
More
11 years 2 months ago #3883 by panta7
Replied by panta7 on topic Change Ads automatic meta keywords
The second solutions in the best for me. Is it possible to do an override of view.html.php?
The following user(s) said Thank You: adarr
More
11 years 2 months ago #3887 by loic
Replied by loic on topic Change Ads automatic meta keywords
I never tried, but i'm afraid we can only override the views.
The following user(s) said Thank You: adarr
More
11 years 2 months ago #3890 by panta7
Replied by panta7 on topic Change Ads automatic meta keywords
I tried to override the view.html.php with this plugin:
override MVC component
it seems to work, but it got me some server errors, anyway your solution is good for me. Thanks
The following user(s) said Thank You: adarr
More
11 years 2 months ago #3924 by tompap
Replied by tompap on topic Change Ads automatic meta keywords
DId you try to do some code in the template view.
Even if it's a little ugly you can do SQL request, do some processing in the template.

So you can give the existing view.html.php, and add your new code in the template
The following user(s) said Thank You: adarr
Time to create page: 0.158 seconds
Powered by Kunena Forum