Support Forums

Support Online : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

k2 item target window

Featured Lock Resolved
how i can set k2 to open an item in new window instead in parent window?
i mean, by clicking a item tittle should opens a new window.

10 Answers

Sohan - Staff

More than a month ago #Permalink
Dear newirnews
Please follow the link provided.
http://www.w3schools.com/tags/att_base_target.asp

newirnews

More than a month ago #Permalink
hi sohan,
thank you for reply. where should i put the code?

Kawshar Ahmed - Senior Staff

More than a month ago #Permalink
Do you want to open all news of frontpage to new tab?

newirnews

More than a month ago #Permalink
yes, that's what i want.

newirnews

More than a month ago #Permalink
i modified "category_item.php" (my templates/html/com_k2/templates/default), with this code:
<?php if ($this->item->params->get('catItemTitleLinked')): ?>
<a href="<?php echo $this->item->link; ?>">
<?php echo $this->item->title; ?>
</a>
<?php else: ?>

but it doesn't work. i tried also in
"root/com_k2/templates/default",
and
"my templates/html/com_k2/templates/default/category_item_links.php",
just the same!

Sohan - Staff

More than a month ago #Permalink
Dear newirnews
What you want that is beyond of our support. Really we don't provide that type of support. But only for you we fix this issue. But please keep in mind, that type of support always neglected by us. OK now here is your answer:
Go to this path: templates\shaper_news_iii\html
Then paste the provided folder there and refresh your browser. You should be unzip the folder first.

Attachments (1)

  • mod_news_show_sp2.zip 3.6 KB

newirnews

More than a month ago #Permalink
hi sohan,
I appreciate your help and i am willing to pay for support.
i paste unzipped folder in templates\shaper_news_iii\html, but it doesn't work.
i think, it is a k2 issue.

Ehsan Riyadh

More than a month ago #Permalink
Please, PM me your site url with ftp access.

newirnews

More than a month ago #Permalink
hi ehsan,
i sent you ftp access.

Ehsan Riyadh

More than a month ago #Permalink
Please, answer at PM. Password not working for me.


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Leaderboard (30 days)

Sifat

Sifat

Total Accepted Answers: 121
Paul Frankowski

Paul Frankowski

Total Accepted Answers: 101
Toufiq

Toufiq

Total Accepted Answers: 36
J

johnny

Total Accepted Answers: 3
Pavel

Pavel

Total Accepted Answers: 3

100+

Templates

200,000+

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us