XModPro

to determine name of url parameter?

Mark Guercio Mark Guercio asked Oct 13, 2014
Active Oct 14 · Viewed 2937 times
<p>Was wondering if anyone has any thoughts on the best way to accomplish something a little different and slightly unusual.</p><p>I have a master page which lists two columns of&nbsp;text in hyperlink format.&nbsp; They are listed as Practice Areas and Industry Groups.&nbsp;&nbsp; </p><p>The first data list url uses a parameter named PA=x</p><p>The second data list uses a parameter named IG=x.&nbsp;</p><p>Both urls point to the same child page, just different url parameter name and values are used.</p><p>Unfortunately, I dont have much control over the custom module which displays the data in this manner.</p><p>I'd like to use &lt;xmod:select&gt; to evaluate and inject a dynamic meta tag page title (depending upon the name and value of the url parameter passed).</p><p>Is it possible to have a &lt;xmod:select&gt; tag evaluate the url parameter name, (not value) in some manner and then define a different list source depending upon the evaluation results?</p><p>For example, if the url parameter name is IG, use one list data source to lookup the IG name.&nbsp; </p><p>If the parameter name is PA, use a different list datasource to lookup the Practice Area name.&nbsp;</p><p>Any thoughts are appreciated.</p><p>Thanks..<br>Mark</p>

2 Answers

Loading answers...