Redirect from one page to another page's section Episerver

 

Hi ,

I want to create functionality in which user can redirect from one page to another page's section.(eg. www.xyz.com/pagename#section1)
Here you can consider section as Block.

Could you please suggest any solution ?

Thanks in advance

#194565 Jun 25, 2018 15:38
  • Member since: 2010
     

    Assuming you've implemented anchor functionality in your block... if you're using link property (public virtual Url MyProperty { get; set; }), editors should be able to set anchor inside Remaining Url field

    #194568 Jun 25, 2018 16:38
  •  

    Hi Dejan Caric,

    Thanks but i m using Episerver 8.11.0.0 which has no such field name Remaining Url .

    Could you please suggest any other solution ?


    #194582 Jun 26, 2018 7:57
  • Member since: 2007
     

    If you add the anchor a-tag in your block then you can/must use a link in for example TinyMCE since Epi has not implemented that functionality in that version

    #194583 Jun 26, 2018 8:13
  • Member since: 2010
     

    Hey, 

    I'd suggest using a block for that, you can find some inspiration here: http://mariajemaria.net/workaround-extending-linkitemcollection-support-anchors

    Marija

    #194917 Jul 08, 2018 16:01
  • Member since: 2007
     

    If you can't upgrade I would say that Marija's answer is the correct one

    #198250 Oct 24, 2018 7:59