- Posts: 15
COMMUNITY FORUM
How to publish two specific tags to another position
- karlo
- Topic Author
- Offline
- New Member
Less
More
8 years 4 months ago - 8 years 4 months ago #154301
by karlo
How to publish two specific tags to another position was created by karlo
How to publish two specific tags to another position in the article
<?php if($this->item->params->get('itemTags') && count($this->item->tags)): ?>
<!-- Item tags -->
<div class="itemTagsBlock">
<span><?php echo JText::_('K2_TAGGED_UNDER'); ?></span>
<ul class="itemTags">
<?php foreach ($this->item->tags as $tag): ?>
<li><a href="<?php echo $tag->link; ?>"><?php echo $tag->name; ?></a></li>
<?php endforeach; ?>
</ul>
Last edit: 8 years 4 months ago by karlo.
Please Log in or Create an account to join the conversation.
- JoomlaWorks Support Team
- Offline
- Elite Member
Less
More
- Posts: 169
8 years 4 months ago #154307
by JoomlaWorks Support Team
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks Support Team on topic How to publish two specific tags to another position
Hello,
Which specific tags do you mean ?
Which specific tags do you mean ?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Mihail Novak
- Offline
- New Member
Less
More
- Posts: 1
8 years 4 months ago #154333
by Mihail Novak
Replied by Mihail Novak on topic How to publish two specific tags to another position
I want to publish under the article title tags other than those which are under article
Please Log in or Create an account to join the conversation.
- karlo
- Topic Author
- Offline
- New Member
Less
More
- Posts: 15
8 years 4 months ago #154337
by karlo
Replied by karlo on topic How to publish two specific tags to another position
Sorry for the double post :)
I want to publish under the article title tags other than those which are under article
I want to publish under the article title tags other than those which are under article
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 4 months ago #154341
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic How to publish two specific tags to another position
Ok, basically we are talking about two sets of tags.
It can be done with an if/else statement checking the tag's name ($tag->name) for example, it the first set is always fixed.
This means that you can use this solution if you only print certain tags in the top.
It can be done with an if/else statement checking the tag's name ($tag->name) for example, it the first set is always fixed.
This means that you can use this solution if you only print certain tags in the top.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- karlo
- Topic Author
- Offline
- New Member
Less
More
- Posts: 15
8 years 4 months ago #154342
by karlo
Replied by karlo on topic How to publish two specific tags to another position
Yes, that's what I want, two sets of tags!
But I do not know how to do it. thanks!
But I do not know how to do it. thanks!
Please Log in or Create an account to join the conversation.