asp.net mvc - BeginRenderLink Sitecore Glass Mapper -


i have 2 fields in sitecore:

  • read more link.
  • read more title.

i'm using sitecore mvc glass mapper, , need make both fields editable page eidtor, i'm using code :

<div class="callout-footer">    <p>      @using (beginrenderlink(calloutitem, m => m.readmorelink, new namevaluecollection { { "class", "group-action" } }, iseditable: true))      {         <span class="text">@editable(calloutitem, m => m.readmoretitle) </span>      }    </p> </div> 

now can edit link, title still not editable. how can make them both editable page editor?

ayman,

there no reason shouldn't work , duplicated locally without issue succesfully editing link (via sitecore experience buttons in page editor) , title (via standard text editing in page editor). how isn't title editable? not able editing frame while in edit mode?

the thought have maybe "text" class on span interfering sitecore's page editor markup. try removing , see if able edit readmoretitle?


Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -