Welcome, Guest
Username: Password: Remember me

TOPIC: Open article in new window

Open article in new window 3 years 3 weeks ago #5747

  • sphyncks
  • sphyncks's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 13
  • Karma: 0
Hi everyone,

Is it possible when using OT Mini Tabs to open an article into a popup or a new window?

Thanks for your time

Sincerely,
JS
The administrator has disabled public write access.

Re: Open article in new window 3 years 3 weeks ago #5748

  • trungdt
  • trungdt's Avatar
  • OFFLINE
  • Administrator
  • Posts: 2287
  • Thank you received: 997
  • Karma: 121
Hello,

It's impossible, cause OT Mini Tabs is an Joomla! module that displays other modules in tabs(each module displays in a tab)

Regards
The administrator has disabled public write access.
The following user(s) said Thank You: sphyncks

Re: Open article in new window 3 years 3 weeks ago #5758

  • sphyncks
  • sphyncks's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 13
  • Karma: 0
Ok,

Because here's my situation: Once we select an article, we have to scroll all the way down in order to be able to read the selected article.

Is there an other way to configure OT Mini Tabs to avoid this situation?

Thanks for your time!

JS
The administrator has disabled public write access.

Re: Open article in new window 3 years 3 weeks ago #5767

  • linh_omg
  • linh_omg's Avatar
  • OFFLINE
  • Moderator
  • Posts: 910
  • Thank you received: 568
  • Karma: 25
Hi,
You can create a new overriden template for this module in your template, and then can add modal popup or change the anchor to make articles opened in new window.

For detail, copy /modules/mod_otminitabs/tmpl/default.php to /templates/your_template/html/mod_otminitabs/default.php
Then:
Way 1: edit this new one, find the right anchor and change the target to be open in a new window, and add "&tmpl=component" into the url in the href attribute.
Way 2: edit this new one, find and edit the right anchor, add modal popup class and handle.

For how to add modal or how to edit html, you will learn yourself :-)

Thanks
If you need to send us FTP access / host access, administrator access or any private information:
services(at)omegatheme(dot)com or drop a ticket www.omegatheme.com/member/
Last Edit: 3 years 3 weeks ago by linh_omg.
The administrator has disabled public write access.
Time to create page: 0.161 seconds