Terms & Cond. HTML page instead of Article

  • Posts: 34
  • Thank you received: 0
12 years 7 months ago #47805

Hello! I would like to make it so the Terms & Conditions link goes to a custom HTML page not a Joomla article. The reason for this is because the article styling is just all white and its probably easier to style a simple html page that pops up. I have tried putting www.google.com (for testing) in the field under Hikashop > Configuration where the article number goes in. Then I tried to remove

index.php?option=com_content&view=article&id='.$terms_article.'&tmpl=component

from Terms under Views. I can not get it to go to the webpage though. Is this possible?


$text = '<a href="'.JRoute::_('index.php?option=com_content&view=article&id='.$terms_article.'&tmpl=component').'" class="modal" rel="{handler: \'iframe\', size: {x: 450, y: 480}}" target="_blank">'.$text.'</a>';

Any help on this would be awesome.

Last edit: 12 years 7 months ago by BarBomb.

Please Log in or Create an account to join the conversation.

  • Posts: 82867
  • Thank you received: 13373
  • MODERATOR
12 years 7 months ago #47928

You could do like that:

$text = '<a href="http://www.google.com" class="modal" rel="{handler: \'iframe\', size: {x: 450, y: 480}}" target="_blank">'.$text.'</a>';

Please Log in or Create an account to join the conversation.

  • Posts: 34
  • Thank you received: 0
12 years 7 months ago #48026

Awesome. This works perfectly. Thank you

Please Log in or Create an account to join the conversation.

Time to create page: 0.061 seconds
Powered by Kunena Forum