Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Hundebol 167 posts 314 karma points
    Jul 14, 2011 @ 14:14
    Hundebol
    0

    Changing productList xslt - errors in log

    Hi,

    I tried to change the productList-Product, but no matter what i change, the output HTML does not change.
    I tried changing a H1-tag to H3.

    I had a look in the database, in the umbracoLog. found two recent errors:

    umbraco_client/codemirror/css/csscolors (from 'http://tea2.local/umbraco/settings/editTemplate.aspx?templateID=1050')

    and

    Error adding to SiteMapProvider: System.InvalidOperationException: Multiple nodes with the same URL '/' were found. XmlSiteMapProvider requires that sitemap nodes have unique URLs.     at System.Web.StaticSiteMapProvider.AddNode(SiteMapNode node, SiteMapNode parentNode)     at umbraco.presentation.nodeFactory.UmbracoSiteMapProvider.loadNodes(String parentId, SiteMapNode parentNode)

    Especially the first error seems wierd. But don't know if thats the problem behind the none-changing HTML output.

    best regards,
    Brian

  • Anders Burla 2560 posts 8256 karma points
    Jul 14, 2011 @ 14:23
    Anders Burla
    0

    Hi Brian

    Doesnt sound like a Tea Commerce specific error.

    Is your xslt saved? - check the xslt file on the server
    Have you set the right folder permission for the website? Try give Network Service modify rights to the entire website folder
    Can you create a new XSLT and save it?
    If you can do that - can you change the xslt to output different html?

     

    Kind regards
    Anders

  • Rune Grønkjær 1372 posts 3103 karma points
    Jul 14, 2011 @ 14:39
    Rune Grønkjær
    0

    Hi Brian,

    Simple problem, simple answer.

    Install this neat little package:

    http://our.umbraco.org/projects/developer-tools/xsltouch

    Your problem is that the xslt file you're editing is used by another xslt, and the other xslt needs to know something has changed.

    /Rune

  • Hundebol 167 posts 314 karma points
    Jul 14, 2011 @ 14:44
    Hundebol
    0

    Hi Anders & Rune,

    Nice one Rune. Maybe a nice "note" to put some documentation somewhere :)

    Anyway, thanks for that - xslttouch worked!

     

    / Brian

  • Rune Grønkjær 1372 posts 3103 karma points
    Jul 14, 2011 @ 14:46
    Rune Grønkjær
    0

    Yeah, good idea with the documentation. Wonder if anyone reads my comments in the xslt's, then I could write it there.

    /Rune

  • Rune Grønkjær 1372 posts 3103 karma points
    Jul 15, 2011 @ 11:03
    Rune Grønkjær
    0

    Hi Hundebol,

    Please mark the correct answer so other users can find it easily. :)

    OT: We have talked to Pete Duncanson about implementing XslTouch in our Kit's, which he has accepted. So one of these days, it will be standard issue. Will make everything much easier. :)

    /Rune

  • Hundebol 167 posts 314 karma points
    Jul 15, 2011 @ 13:21
    Hundebol
    0

    Hi Rune,

    Sure thing - and great you remind me.

    Nice that you implement xsltTouch - great for usability.

    / Brian

Please Sign in or register to post replies

Write your reply to:

Draft