Welcome, Guest

Problem with Article title in form result
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Problem with Article title in form result

Problem with Article title in form result 2 years ago #13531

Hi,

I'm having a small problem with a form in an article. Since it's a language related problem, I'll post in this forum.

I have a Quickform with a hidden field, and I'm using the following code in the value field:

<?php return htmlentities( JFactory::getDocument()->getBase(), ENT_QUOTES, 'UTF-8' ); ?>


I want to show the URL in the email from where the form result comes from, and this is the only way I can get it working.

The only problem is that I'm using Joomfish (also core sef url's), and the language is not shown in the url, meaning that the url isn't accessible because there's no language defined.

I've also tried using the following code, but then it displays the form title and not the article title.
<?php return htmlentities( JFactory::getDocument()->getTitle(), ENT_QUOTES, 'UTF-8' ); ?>


I've also tried with this:
<?php echo $this->article->title; ?>


but then there's no result shown in the email at all.

Basically I just want to show the article title in the form result, but with no success until now...

Could someone please help me with this?

Re:Problem with Article title in form result 2 years ago #13532

I've found a solution for this matter. After some searching, I came across this website: www.metamodpro.com/software/jfsef

After installing the plugin, I'm getting the correct url's in my emails.
  • Page:
  • 1
Moderators: TheMuffinMan, ForumSupport
Time to create page: 0.39 seconds

Facebook Discount - 40% Off!

Fans of our Facebook page here are entitled to get a 1-year-subscription for the price of a 6-months!

Steps to take:

  • Become a fan on Facebook (Like) here
  • Purchase a 6-months-subscription from here
  • Write a quick email to This email address is being protected from spambots. You need JavaScript enabled to view it. with your username and prove of your like and we'll upgrade to the 1-year-subscription

Joomla!® Forms Discount - 40% Off!

Already purchased a forms extension from a different vendor but your requirements changed and now you need a forms extension that is capable of more than just the standards? We help you to keep the costs for a change under control: Get a 40% discount on our professional membership plan! -- meaning timely unlimited access to all current and future commercial extensions, breezingforms themes & apps and Joomla!® templates at crosstec.de, including 1 year of support -- without any website limitations -- Just prove that you previously purchased another forms extension for Joomla!® from a different vendor and you are qualified.

Steps to take:

  • Purchase a 1-year-subscription from here
  • Write a quick email to This email address is being protected from spambots. You need JavaScript enabled to view it. with your username and prove of the purchase for the other form vendor and we'll upgrade to the professional-subscription

About

Crosstec GmbH & Co. KG

Bergisch-Gladbacher-Str. 829

51069 Cologne, Germany

Imprint