- Posts: 49
- Thank you received: 0
Showing articles tagged with ANY "select" type
- sa
- Topic Author
- Offline
- Senior Member
Less
More
12 years 6 months ago #141
by sa
Showing articles tagged with ANY "select" type was created by sa
Let's say for example I have a tag type called "countries". It is a select type where i can select A, B, or C.
I know how to make a menu link to show results for all articles tagged with a particular country.
How do I make a menu link showing results for all articles tagged with ANY country?
I'd like to display the results in category blog format in order of most recent.
Is this possible? Thanks
I know how to make a menu link to show results for all articles tagged with a particular country.
How do I make a menu link showing results for all articles tagged with ANY country?
I'd like to display the results in category blog format in order of most recent.
Is this possible? Thanks
Please Log in or Create an account to join the conversation.
- andrea_4g
- Offline
- Administrator
Less
More
- Posts: 1122
- Thank you received: 163
12 years 6 months ago #143
by andrea_4g
Replied by andrea_4g on topic Re: Showing articles tagged with ANY "select" type
That's a missing feature BUT there's a workaround.
The component already supports that kind of search, that we call tag group search.
The CP menu module actually generates the kind of URL you are asking for: it's associated to the field name.(see screenshot)
Once you have the url, you can make a menu item out of it.
The component already supports that kind of search, that we call tag group search.
The CP menu module actually generates the kind of URL you are asking for: it's associated to the field name.(see screenshot)
Once you have the url, you can make a menu item out of it.
Please Log in or Create an account to join the conversation.
- sa
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 49
- Thank you received: 0
12 years 5 months ago #277
by sa
Replied by sa on topic Re: Showing articles tagged with ANY "select" type
Hi Andrea,
I was able to do this, but I noticed a small problem.
For the title of the results and the page itself, it shows the name, not the label of the variable.
For example, it shows "media_groups" instead of "Media Groups"
How can I fix this?
Thanks.
I was able to do this, but I noticed a small problem.
For the title of the results and the page itself, it shows the name, not the label of the variable.
For example, it shows "media_groups" instead of "Media Groups"
How can I fix this?
Thanks.
Please Log in or Create an account to join the conversation.
- andrea_4g
- Offline
- Administrator
Less
More
- Posts: 1122
- Thank you received: 163
12 years 5 months ago #278
by andrea_4g
Replied by andrea_4g on topic Re: Showing articles tagged with ANY "select" type
This inconsistency will be fixed with the next release of CP 20.
In the meanwhile you can change line 127 of file components/com_customproperties/models/search.php from:
to
In the meanwhile you can change line 127 of file components/com_customproperties/models/search.php from:
Code:
if($tagname = getTagNamebyGid($tag['tagGid'])){
Code:
if($tagname = getTagLabelByGid($tag['tagGid'])){
Please Log in or Create an account to join the conversation.
Time to create page: 0.160 seconds