Hello,
I use different context in my website, and I use getResources in a context what get the list of somes resources in another context, well is done, but, when I want to use the [[~[[+id]]]], the url generated is made with the current context, and not with the site_url context config, well, how can I force an url to made with my another context (who contain the resources).
Low.
Low
-
☆ A M B ☆
- 3,141 Posts
Try this:
[[~[[+id]]? &context=`[[+context_key]]`]]
not working yet! the context is okey, but the url is the current, not the one attached to the id !
Low
-
☆ A M B ☆
- 3,141 Posts
The context is okay but the url is wrong?
So it is fetching the url for the context it is supposed to grab, but it’s not fetching the alias?
-
☆ A M B ☆
- 3,141 Posts
That’s not what I posted....
Mine:
[[~[[+id]]? &context=`[[+context_key]]`]]
Yours:
[[~[[+id? &context=`[[+context_key]]`]]]]
I apologize, but, the problem is not resolved with your code.
Low
-
☆ A M B ☆
- 3,141 Posts
It work ! I was used the wrong key ’start_url’, and I changed for ’site_url’, good Job!
Thanks.
Low