Copied to clipboard

Flag this post as spam?

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


  • René Andersen 238 posts 684 karma points
    Feb 04, 2015 @ 15:46
    René Andersen
    0

    Link to same page with dynamic content

    Hi,

    I have a simple question (I surely hope it is). But I am finding it a little hard to explain correctly. :-)

    I am building a portfolio with a lot of thumbnails and I want all these thumbnails linked / directed to the same page “PortfolioSingle.cshtml”.

    At the moment the links look like this and just links to a blank page with the standard text “This page is intentionally left ugly ;-)”:

    /portfolio/second-item/
    /portfolio/second-item/

    The code I am using looks like this:

    <a href="@portfolioItem.Url" title="read more"></a>

    How is it possible to choose "PortfolioSingle.cshtml" as the landing page?

    Thanks in advance!

    // René

  • René Andersen 238 posts 684 karma points
    Feb 04, 2015 @ 16:10
    René Andersen
    0

    Hi again,

    I have not been able to delete this post.....I just found out that I have been so stupid not to assign any default template.

    Sorry to waste your time.

    // René

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Feb 04, 2015 @ 16:44
    Jan Skovgaard
    0

    Hi René

    No need to be sorry or delete the post - We all make that kind of mistakes from time to time. Good to hear you managed to figure out what was wrong.

    /Jan

  • René Andersen 238 posts 684 karma points
    Feb 05, 2015 @ 07:58
    René Andersen
    0

    Thanks Jan. :-)

    Have a nice day.

    // René

Please Sign in or register to post replies

Write your reply to:

Draft