Keyword

[Request] Option K2 item to redirect to a external URL

  • Gorast
  • Gorast's Avatar Topic Author
  • Offline
  • Premium Member
More
6 years 8 months ago #167167 by Gorast
Hi,
I know there are some post regarding this matter but would have been nice if you can add an option so (for example):
When ever I put {redirect}www.google.com {/redirect) it will tell the browser to open new window and go to that url.
Additional attributes like _blank or Redirect text and redirect time can be added to the plugin.

It this type of plugin exist please redirect me to it.

Thanks,
Gorast

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 8 months ago #167179 by Krikor Boghossian
Replied by Krikor Boghossian on topic [Request] Option K2 item to redirect to a external URL
Hello,

You can add an extrafield and depending on its value either redirect that page, or use that extrafield as replacemenf for the link in your list templates.

You can find various examples with extrafields here:
github.com/kricore/Advanced-templating-with-K2/blob/master/_inc/cheatsheet.php

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum