November Happy Hour will be moved to Thursday December 5th.

Redirect from one page to another page's section Episerver

Vote:
 

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
Vote:
 

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
Vote:
 

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
Vote:
 

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
Vote:
 

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
Vote:
 

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

#198250
Oct 24, 2018 7:59
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.