Wanting to use class modal in template

  • Kuniyo
    Inactive member
  • Topic Author
  • Member
  • Member
More
10 years 10 months ago - 10 years 10 months ago #36890 by Kuniyo
Hi Ivan,

Would you please advise where I need to place <?php JHTML::_('behavior.modal'); ?> in the templates folder, so my link to an article will show up as a modal popup?

I am running a multilanguage site and using the following code along with a Translation key to call the popup:-
"To view Terms <a class='modal' href=' www.noasc.com/index.php/en/terms-conditions?tmpl=component ' rel='{handler: 'iframe', size: {x: 320, y: 480}, onClose: function() {}}'>Click Here"

At the moment, my link to the article doesn't show up as a popup, but as a full screen window. Your help would be appreciated.

Thanks.
Last edit: 10 years 10 months ago by Kuniyo. Reason: Forgot to add some info.

Please Log in to join the conversation.

More
10 years 10 months ago - 10 years 10 months ago #36897 by ivan.milic
Just above </head> in index.php of template , but i'an not sure that will do that what you think it will do.
Last edit: 10 years 10 months ago by ivan.milic.

Please Log in to join the conversation.

  • Kuniyo
    Inactive member
  • Topic Author
  • Member
  • Member
More
10 years 10 months ago #37108 by Kuniyo
I did what you advised, but there was no change.

Please Log in to join the conversation.

More
10 years 10 months ago #37116 by ivan.milic

Please Log in to join the conversation.

Time to create page: 0.150 seconds
Powered by Kunena Forum