Stump the Panel » Site Managers and Site Collection Managers

Stop wiki page file extensions from displaying.

(5 posts)
  • Started 1 month ago by DominincDanson
  • Latest reply from DominincDanson
  1. DominincDanson
    Member

    Hi,

    I'm working with a large corporate intranet, and have created a help site for end users. This has been done as a wiki, and I'd like to display a list of topics covered (ie. all wiki pages). I've done that with a CQWP (don't know if that's the best way to go) but it displays the file extension of each page (home.aspx, for example). Is there a way that I can stop the CQWP from displaying the extension?

    Thanks!

    Posted 1 month ago #
  2. Update the ItemStyle.xsl with a custom style template and use that. You should be able to find a lot of tutorials for customizing CQWP style.

    Posted 1 month ago #
  3. DominincDanson
    Member

    I'm a bit of a novice on the old XSL to be honest. I've created a custom CQWP to do other things, but how would I remove the .aspx bit of a file name?

    Posted 1 month ago #
  4. substring-before($filename, '.aspx')

    Posted 1 month ago #
  5. DominincDanson
    Member

    AHA! Thanks so very much for that! It works a dream!

    Posted 1 month ago #

RSS feed for this topic

Reply

You must log in to post.