Combine static and dynamic fields

tobisagt 18 Nov, 2011
Hi,

i read a few posts about this topic but cant get it work!

I found this code on another post, but it dont work

<?php
$subject = date('YmdHis').'mail subject name';
JRequest::setVar('subject', $subject);
?>


Instead of "date" i just need a static text.

Could it look like this?

<?php
$subject = JText::_('text').'mail subject name';
JRequest::setVar('subject', $subject);
?>
This topic is locked and no more replies can be posted.