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 / Special custom Field to select another ads of site

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.

Special custom Field to select another ads of site

  • luca-di-marca
  • Topic Author
  • Offline
  • Silver
  • Silver
More
12 years 8 months ago #3961 by luca-di-marca
Hi,
I want to create a new field, for a specific category, who list all ads of my site and give the opportunity to select one ads and display an image of this ad on his page.

What files must i modificate to make this integration?
More
12 years 8 months ago #3972 by tompap
You need to create a plugin field (like gmap, or youtube)

You need to create a directory "myfield" in images/com_adsmanger/plugins
and do a code like gmap or youtube plugin
  • luca-di-marca
  • Topic Author
  • Offline
  • Silver
  • Silver
More
12 years 8 months ago #3982 by luca-di-marca
Replied by luca-di-marca on topic Special custom Field to select another ads of site
Ok!
But if i create a new type of field and i create code in field.php, can i obtain the same result?
  • luca-di-marca
  • Topic Author
  • Offline
  • Silver
  • Silver
More
12 years 8 months ago - 12 years 8 months ago #3990 by luca-di-marca
Replied by luca-di-marca on topic Special custom Field to select another ads of site
I try to insert in file 'components/com_adsmanager/helper/field.php' a link to database.
$id = mysql_result($resul,$i,"id");

But this code doesn't work.
I want to see the result of database query.
Last edit: 12 years 8 months ago by luca-di-marca.
More
12 years 8 months ago #3999 by tompap
Hello,

You should not use this function but use Joomla Classes to perform request to the database.

If you want use to do this plugin, we could do it (but this will be extra work) you can contact us per email for a quote
Time to create page: 0.760 seconds
Powered by Kunena Forum