Hi all !
I'm playing with the XSL/XML module because I want to do this: when a search engine sends a user to a page that doesn't exist anymore or doesn't exist on my site, I want to retrieve the name of the page he got, ex. "https://www.jeretapeunemini.com/austin/mini-kesako"
I know how to reread the "sitemap.xml" file and display its content...
I want to retrieve the value "mini-kesako" and display the corresponding url obtained from the "sitemap.xml" file. e.g. https://www.jeretapeunemi...tin/mini/mini-kesako
As much as I know how to retrieve the value with a FnL module (cf. FnL | 404), I don't know how to do it with the XML module.
Maybe by passing values in "XSL Parameters" but I can't get anything...
I've searched the internet extensively but I can't find anything.
If anyone can help me, that would be great.
I'm sorry, but I can't find anything,
David
note: you will have noticed that this text has been translated from French to English...it's much easier for me.
Translated with www.DeepL.com/Translator (free version)
did you check the documentation (https://github.com/DNNCom...2_User_Manual.docx)? (Yes, I know, it is very brief, but contains a short explanation of this feature as well). Be aware that you need a key/value pair for each URL parameter, yuo want to use. Just subfolder parts of the URL will not work.
Thanks Sebastian! I have to say that I completely missed this "documentation"... which doesn't really help on the use of "XSL parameters". While searching, I came across this post: https://www.dnnsoftware.c...rl-parameters-failed The author explains that it's because of a bad configuration of the parameters. She says that "Name" should be the parameter in the XSL and "value" the parameter in the URL... I understand that: Name: "xmlParameter" should be "P" Data Origin: Pass-Through QueryString Value: "p" should be "1" Right ?
These Forums are for the discussion of the open source CMS DNN platform and ecosystem.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.