Thank you! That worked. I have two other questions. number 1 is: How can i check about the current page is f.ex. 1060, i mean something like: IF @pageID ="1060" {class="selected"}
I want it because i have a menu where there are several pages, and then i wan't to show the user where he/she is. To use xslt you need to create a new file, and then there would be a lot of xslt files.
Creating a sitemap is as simple as selecting the 'example sitemap xslt' that's available when creating a new xslt file. It should get you started. If you're still having questions on how to show the current page user is on, let us know.
Use " in umbraco content field
Hello,
When im using this it's give a error: <meta name="title" content="<umbraco:Item field="Titel" runat="server"></umbraco:Item>" />
But if im using ' instand of " it works. But thats gives a error in the w3 validator.. How could i fix that?
Regards Anders
Try that. It should also validate, as it will come out as
Thank you! That worked. I have two other questions. number 1 is: How can i check about the current page is f.ex. 1060, i mean something like: IF @pageID ="1060" {class="selected"}
Question number two is: How can i make a sitemap?
Regards anders
you may have to stick single quotes around the "1060", but the above code should work.
Why do you want to hard-code 1060 in though? There may be a 'nicer' way of doing it.
I want it because i have a menu where there are several pages, and then i wan't to show the user where he/she is. To use xslt you need to create a new file, and then there would be a lot of xslt files.
Hi Anders,
Creating a sitemap is as simple as selecting the 'example sitemap xslt' that's available when creating a new xslt file. It should get you started. If you're still having questions on how to show the current page user is on, let us know.
Cheers,
/Dirk
is working on a reply...