Item id

  • valxris
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 10 months ago - 9 years 10 months ago #2133 by valxris
Item id was created by valxris
Hello Andrea,

Please tell me is there a way to make linked tags to append to an itemid?

When i make a search from the cp module correctly results are shown to the itemid i have chosen.
But when i click on a tag it shows results at the current page.

And another issue: When i click on a cptag inside an article the url is:

mysite/component/customproperties/tag/tag-name

and because such menus don't exist the results are displaying on a page without any modules.

Is there a way to fix these issues? (except unlinking tags)


Thank you
Last edit: 9 years 10 months ago by valxris.

Please Log in or Create an account to join the conversation.

More
9 years 10 months ago #2134 by andrea_4g
Replied by andrea_4g on topic Item id
1st question
There's parameter 'Use Itemid' in Custom Properties > Options > Results Formatting that can be set to 'Current Page'. The default setting is None.
Whether it works or not depends on SEF optimizazion.

However, if you set up Custom Properties so that search results are directed to a given menu item (* see below on how to do that), the result should be what you wish to accomplish.

2nd question:
There's parameter 'use_itemid' in Content - Custom Properties Tags Plugin that lets you append an arbitrary ItemId to Cp Tags inside the article.

* how to direct results to a specific menu item:
- Create a new menu.
- Let's call it "hidden"
- Add a menu item of type Custom Properties view = default.
- Name it with something meaningful, because it will show up in the URL (eg "advanced search")
- Save and take note of the Itemid of that menu item.
- Edit the cpsearch module (or the cpcloud module)
- Set the Itemid param to the previously noted Itemid
- Assign the module it to two pages : the one you want to search from, and the new "advanced search" page
The following user(s) said Thank You: valxris

Please Log in or Create an account to join the conversation.

  • valxris
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 10 months ago #2135 by valxris
Replied by valxris on topic Item id
....2nd answer: Thank you that works!

1st answer: I have the settings as you say but it doesn't work, all cpsearch modules are displaying results to the hidden menu. As about SEF i use the joomla's default.

I use cpmenus in all my 2nd level menus where i use CP. 1/3 of the tags have a cpmenu item. When you click on the cpmenu item is showing the tag results. What about the opposite? The tag could showing the results when clicked to a menu item assigned? I think it would be very functional and useful if you could link a tag value to a cpmenu item! Is this is a good idea for the next update?

Please Log in or Create an account to join the conversation.

Time to create page: 0.158 seconds