- Posts: 15920
COMMUNITY FORUM
k2 tools tag
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
8 years 3 months ago #150955
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic k2 tools tag
You can send them via the module suffix.
<a href="<?php echo $tag->link; ?>
<a href="<?php echo $tag->link; ?><?php if($params->get('moduleclass_sfx')) echo ' ?category='.$params->get('moduleclass_sfx'); ?>
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- claudio
- Topic Author
- Offline
- New Member
Less
More
- Posts: 18
8 years 3 months ago - 8 years 3 months ago #150969
by claudio
Replied by claudio on topic k2 tools tag
ok.
I've changed my href like you wrote.
in generated url I don't see the "category" variable... it'correct?
I see this url:
index.php?option=com_k2&view=itemlist&task=tag&tag=2014&Itemid=955
if I delete the "if" and write this hrefI see this url:
index.php?option=com_k2&view=itemlist&task=tag&tag=2014&Itemid=955&category=
with "category" empty
I've changed my href like you wrote.
in generated url I don't see the "category" variable... it'correct?
I see this url:
index.php?option=com_k2&view=itemlist&task=tag&tag=2014&Itemid=955
if I delete the "if" and write this href
href="<?php echo $tag->link; ?><?php echo '&category='.$params->get('moduleclass_sfx'); ?>"
index.php?option=com_k2&view=itemlist&task=tag&tag=2014&Itemid=955&category=
with "category" empty
Last edit: 8 years 3 months ago by claudio.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 3 months ago #150981
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic k2 tools tag
Did you insert a module suffix?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- claudio
- Topic Author
- Offline
- New Member
Less
More
- Posts: 18
8 years 3 months ago - 8 years 3 months ago #150985
by claudio
Replied by claudio on topic k2 tools tag
hemm
...where?
in mod_k2_tools.php ?
...sorry for my ignorance :(
...where?
in mod_k2_tools.php ?
...sorry for my ignorance :(
Last edit: 8 years 3 months ago by claudio.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 3 months ago #150987
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic k2 tools tag
Not really :)
The module suffix setting is located in the module's settings.
The module suffix setting is located in the module's settings.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- claudio
- Topic Author
- Offline
- New Member
Less
More
- Posts: 18
8 years 3 months ago #151028
by claudio
Replied by claudio on topic k2 tools tag
you are talking about administrator area?
...class suffix? I think not...
...class suffix? I think not...
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 3 months ago #151034
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic k2 tools tag
Exactly.
You need to insert the category from there.
You need to insert the category from there.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- claudio
- Topic Author
- Offline
- New Member
Less
More
- Posts: 18
8 years 3 months ago - 8 years 3 months ago #151049
by claudio
Replied by claudio on topic k2 tools tag
... I'm losing some steps...
here is the screenshot of my k2tools module... what I have to insert in "Module Class suffix"(the red input) ?
In Tag cloud settings you can see selected categories
http://imgur.com/yi42lXh
here is the screenshot of my k2tools module... what I have to insert in "Module Class suffix"(the red input) ?
In Tag cloud settings you can see selected categories
http://imgur.com/yi42lXh
Last edit: 8 years 3 months ago by claudio.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 3 months ago #151075
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic k2 tools tag
You need to insert there, either the category's name or the id.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- claudio
- Topic Author
- Offline
- New Member
Less
More
- Posts: 18
8 years 3 months ago - 8 years 3 months ago #151078
by claudio
Replied by claudio on topic k2 tools tag
ok, now the url is:
/index.php?option=com_k2&view=itemlist&task=tag&tag=2015&Itemid=955&category=133,139,132
now in
/components/com_k2/views/itemlist/tmpl/tag.php
i've to do an if GET category show items of the selected categories ... or something similar...right?
if you can help me for this last code... i'm ok... you are great.
thank's for your help
/index.php?option=com_k2&view=itemlist&task=tag&tag=2015&Itemid=955&category=133,139,132
now in
/components/com_k2/views/itemlist/tmpl/tag.php
i've to do an if GET category show items of the selected categories ... or something similar...right?
if you can help me for this last code... i'm ok... you are great.
thank's for your help
Last edit: 8 years 3 months ago by claudio.
Please Log in or Create an account to join the conversation.