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 / How to add a new field in the form eMail product ?

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.

How to add a new field in the form eMail product ?

  • Sitowebstudio
  • Topic Author
  • Offline
  • Gold
  • Gold
More
10 years 6 months ago #19997 by Sitowebstudio
how to add a new field in the contact form of the product, such as telephone and city ?
Attachments:
More
10 years 6 months ago #20017 by loic
Hello,

The only way is to custom the contact fomr view in 'templates/adsclarity/html/com_adsmanager/message/default.php' and the file 'components/com_adsmanager/controller.php' in the sendmessage function.

Best regards.
More
9 years 8 months ago #24210 by bjarne@sblkonsult.se
Replied by bjarne@sblkonsult.se on topic How to add a new field in the form eMail product ?
Hello

I'm not a expert in this, so is it possible to get an example on how to do this.
When I try to add:

"<!-- <div class="span12">
<div class="control-group">
<label class="control-label" for="phone1"><?php echo JText::_('ADSMANAGER_FORM_PHONE1'); ?></label>
<div class="controls">
<input class='adsmanager_required' id='phone1' type='text' name='phone1' maxlength='50' value='<?php echo $this->user->phone1; ?>' />
</div>
</div>
</div> -->"
to the "/html/com_adsmanager/message/default.php" file I'll only get an error in the email contact page.
It seems to have something to do with "$this->user->phone1; ?>' ". If I put "name" or "email" instead of "phone1" I'll get a form called "phonenumber"
But of course I would not be able to fill in a telephone number, so what is the right thing to replace "phone1" with?

So please advice .
More
9 years 8 months ago #24230 by loic
Hello,

As I said, this is a custom developpement, I cannot help you to make it.
However, the user field phone1 isn't a default field of users, so I doubt you can add it with '$this->user->phone1'.

Best regards.
Time to create page: 0.050 seconds
Powered by Kunena Forum