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 / [RESOLVEDHow to add new fields to the column DATE?

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.

[RESOLVEDHow to add new fields to the column DATE?

  • Marcin Głuchowski
  • Topic Author
  • Offline
  • Gold
  • Gold
More
11 years 3 months ago - 11 years 3 months ago #3402 by Marcin Głuchowski
[RESOLVEDHow to add new fields to the column DATE? was created by Marcin Głuchowski
Hello,

How can I insert / add to column: DATE other fields: ad_type, ad_price.

I would like to put it all in one kolumie.

Thanks for your help

Marcin
Last edit: 11 years 3 months ago by tompap.
More
11 years 3 months ago #3413 by tompap
Replied by tompap on topic How to add new fields to the column DATE?
You can add fields to date column without template modification( override)
but you can create a new column in the backend
  • Marcin Głuchowski
  • Topic Author
  • Offline
  • Gold
  • Gold
More
11 years 3 months ago - 11 years 3 months ago #3418 by Marcin Głuchowski
Replied by Marcin Głuchowski on topic How to add new fields to the column DATE?
Thanks for the reply,

I was thinking of adding to column_date
the following fields ad_price and ad_type




What is the code to add any fields (ad_price) in the list of ads?
Attachments:
Last edit: 11 years 3 months ago by Marcin Głuchowski.
More
11 years 3 months ago #3444 by tompap
Replied by tompap on topic How to add new fields to the column DATE?
There is no other solution than template override for that
you shuld add some code in this column

<?php echo $this->field->showFieldValue($content,$this->fields); ?>

after <?php echo sprintf(JText::_('ADSMANAGER_VIEWS'),$content->views); ?>

in views/list/tmpl/default.php and views/result/tmpl/default.php

I cannot give your more clues, this is specific dev which is normally an extra job.
  • Marcin Głuchowski
  • Topic Author
  • Offline
  • Gold
  • Gold
More
11 years 3 months ago #3448 by Marcin Głuchowski
Replied by Marcin Głuchowski on topic How to add new fields to the column DATE?
Thanks for the reply,

Where to paste the code I know :) but if it is the code that displays any field in the list of ads? such as "price fields".

Is it possible that in the next version of AdsManager can put just add a column DATE other fields?

On pages where there is limited width of the component for displaying, it would be very helpful
More
11 years 3 months ago #3484 by tompap
Replied by tompap on topic How to add new fields to the column DATE?
In the future 3.X lot of things will change ! you will be able to do more than that without code.

Right now with 2.9.X you have to do the code manually
for the price field if you have keep it (still ad_price)

You can write
<?php echo $this->field->showFieldValue($content,$this->fields["ad_price"]); ?>
in list and result view

in details view
<?php echo $this->field->showFieldValue($this->content,$this->fields); ?>
The following user(s) said Thank You: Marcin Głuchowski
Time to create page: 0.129 seconds
Powered by Kunena Forum