• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: How to add Forme to the listing website

How to add Forme to the listing website 17 years 11 months ago #581

  • maria
  • maria's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
Hi,

First of all, thank you for the great component and a very nice looking and supportive website (good look is surprisingly rare among developers)

I have a question, how to add a form to a particular component's html.php so it appears on every page automatically without using a mambot?

For example Hot Property... there is a standard contact form which is not possible to enhance with calendars or anything else. It looks like this

<div id=\"hp_emailform_con\">
<?php hotproperty_HTML : : show_EmailForm('property',$prop[0]->id); ?>
</div>

How to replace this form with particular Forme? Basically how to add Forme to any listing website? Sobi, Gallery, etc?

Would be also good to know if Forme could print an url of a webpage from where it was submitted?

Thank you again, your project gives amazingly clean and light feeling.

Maria<br><br>Post edited by: maria, at: 2007/05/20 15:21
The administrator has disabled public write access.

Re:How to add Forme to the listing website 17 years 11 months ago #583

  • rsd
  • rsd's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
You can add it inside a module, using mod_forme.

-rsd
The administrator has disabled public write access.

Re:How to add Forme to the listing website 17 years 11 months ago #614

  • maria
  • maria's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
Thank you for the hint!

- I've positioned a module to \"inset\";
- replaced <?php hotproperty_HTML : : show_EmailForm('property',$prop[0]->id); ?>
with <?php mosLoadModules ( 'inset' ); ?> and got a form on every property page...

Still have to figure out how to get an URL from where the form was submitted? If a website has hundreds of pages it is not possible to distinguish which page has been used for enquiry.


Trying to solve this I've created a hidden field called url with {siteurl} as a Default Value, however got no URL in the email, just a tag {siteurl} itself.

I've also put {sitename},{siteurl} in a Thank You section however received a message just with those two tags, not with URL or a site name.

Also on a Thank You page I can see only {firstname} {lastname} tags instead of real names. It it a bug?

Thank you!
The administrator has disabled public write access.

Re:How to add Forme to the listing website 17 years 11 months ago #616

  • rsd
  • rsd's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
the easy way to get the used url would be to have a javascript to fill a hidden field. You cant trust this too much as it would be easy to spoof.

Are you using UTF-8. Forme has a bug regarding utf-8. I am still waiting for the new version to correct this.


-rsd
The administrator has disabled public write access.

Re:How to add Forme to the listing website 17 years 11 months ago #758

  • blip
  • blip's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
hi

i was wondering also if theres a way of doing this with adsmanager or sobi2? same principle i think but not sure where to add the code and what to replace if anything??

any clues very much appreciated

thanks very much!
The administrator has disabled public write access.

Re:How to add Forme to the listing website 16 years 1 month ago #6879

  • ssnobben
  • ssnobben's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 19
Can you explain better how to make this form take over a form from ie Hot Property 1.0 but still have the same function so you can better manage your send enquries from Hot Property 1.0 /Mosets Tree 2.1 listings?

any tips appreciated!

rgds
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!