ModuleTitleControl with LiteralExtraMarkup

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
5/29/2013 3:09:43 PM
Gravatar
Total Posts 76

ModuleTitleControl with LiteralExtraMarkup

This question has to deal with ModuleTitleControl and LiteralExtraMarkup.  I understand the idea behind "LiteralExtraMakrup" is to add links or text after a title of a module, such as "Add Post".  I think I am missing something.  In version 2.3.8.9, I could use the following code and it would show links and texts for any role I selected.  Under version 2.3.9.7, only the roles listed under "edit content" can see these links.

 <portal:ModuleTitleControl runat="server" ID="TitleControl" />

TitleControl.LiteralExtraMarkup = "Some href tags and stuff";

Any ideas what I could be doing wrong?

Thanks!

5/29/2013 3:55:59 PM
Gravatar
Total Posts 18439

Re: ModuleTitleControl with LiteralExtraMarkup

By default the extra markup is only visible to users in edit roles, to make it show to all users set ForceShowExtraMarkup="true"

Should work if using the fully patched latest release or latest code. This property was added recently to make it possible to do this.

Hope that helps,

Joe

5/30/2013 6:46:29 AM
Gravatar
Total Posts 76

Re: ModuleTitleControl with LiteralExtraMarkup

That's what I needed.  Would you believe me if I told you I searched for something like that?  Thanks for the help as always.

5/30/2013 7:51:55 AM
Gravatar
Total Posts 18439

Re: ModuleTitleControl with LiteralExtraMarkup

Thanks for the beer! Much appreciated.

Cheers,

Joe

You must sign in to post in the forums. This thread is closed to new posts.