Go Back   Mosets Community > Archives > Mosets Hot Property 1.0 > Discussions, Troubleshooting and Problems

 
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-22-2009, 08:10 PM
georgioum georgioum is offline
Mosets'd
 
Join Date: Aug 2007
Posts: 6
Done Enquiry Subject

Hi Guys, can anyone tell me how I can change the enquiry subject line to add more than the property name? I could do it on the older hp, but with the new one....

I want it to say something before the property name, such as Enquiry from www.mysite.com for "property"

Any ideas?

Regards
Michael
  #2  
Old 10-23-2009, 10:31 PM
abernier's Avatar
abernier abernier is offline
Senior Member
 
Join Date: Jul 2008
Posts: 132
Default

Hi georgioum,

You can achieve this by editing components/com_hotproperty/controllers/properties.php, line 113:
PHP Code:
$mail_subject $property->name
Best regards.
  #3  
Old 10-24-2009, 02:32 AM
georgioum georgioum is offline
Mosets'd
 
Join Date: Aug 2007
Posts: 6
Talking Great!

Thanks for the reply, can you help me with the code I need to add some text before the property name variable?

Regards
Michael
  #4  
Old 10-29-2009, 04:48 AM
samarapadilla7394 samarapadilla7394 is offline
Mosets'd
 
Join Date: Jul 2008
Posts: 57
Default

I think I figured it out. Place this on line 113 (assuming Beta5)

Quote:
$mail_subject = sprintf(JText::_('YOUR TEXT HERE - %s'), $property->name);
It's working for me. The %s will place the property name after your text so it would look like:
Enquiry from www.mysite.com for Property Name

Last edited by samarapadilla7394; 10-29-2009 at 05:02 AM.
  #5  
Old 11-03-2009, 07:32 PM
georgioum georgioum is offline
Mosets'd
 
Join Date: Aug 2007
Posts: 6
Talking Works great! Thanks

Works great! Thanks
  #6  
Old 11-07-2009, 03:55 PM
ssnobben ssnobben is offline
Mosets'd
 
Join Date: Nov 2006
Posts: 805
Thumbs up Include in next B6 upgrade Mr Antoine?

Great!

Could this code snippet be included in the next HP b6 upgrade Mr Antoine?

rgds
__________________
Success in the long run Its not about the code its about the people and community that's make it!
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +8. The time now is 12:29 AM.

Copyright © 2005-2010 Mosets Consulting

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.