Dan Rothschild
Nuke Ace Posts:47
|
01/23/2013 5:55 PM |
|
Hi, First attempt at editing the xslt file was not successful. I'd like every submenu to have 1 column except for one node "About" where I would like the submenu to have 4 columns. I managed to change the xslt so every node has 1 column: (line6) 1 Not sure how to check for a specific page name and then change its parameters. Also did not know where to add the edited code. Best guess is below which did not work. (line 21) 1 Thanks in advance for any advice.
|
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
01/24/2013 4:08 PM |
|
Hmmmm ... Rather than do that, you might want to use two instances of the menu. Configure one for 1 column and the other for 4 columns. Use the include/exclude nodes attribute to put everything but About Us in the first menu and put only About Us in the second. That will save you from having to rewrite the code. You'll have Mega1 and Mega2 directories in your skin, with separate XSLT |
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
Joseph Craig DNN MVP Posts:11667
|
01/24/2013 4:08 PM |
|
Hmmmm ... Rather than do that, you might want to use two instances of the menu. Configure one for 1 column and the other for 4 columns. Use the include/exclude nodes attribute to put everything but About Us in the first menu and put only About Us in the second. That will save you from having to rewrite the code. You'll have Mega1 and Mega2 directories in your skin, with separate XSLT and, if necessary, separate css. |
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
Dan Rothschild
Nuke Ace Posts:47
|
01/24/2013 4:19 PM |
|
Fantastic idea! Ok. so I have 2 folders in my skin, Mega2DNN and Mega2DNN2. Folder 2 has columns set to 4 and folder 1 is set to 1. Can you guide me in using the include/exclude node in xslt?I have the node id of the page that I got through xmldump template. Also, how will the skin know which menu folder to use? |
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
02/09/2013 8:01 PM |
|
For those who might be interested, Dan and I worked on this privately. It wasn't as easy as I had assumed. Basically, you need two customized version of the mega menu template, and that means -- because of the way it was written -- customizing the xslt, js and css files. We got it done, but it was a chore! |
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|