Event Calendar Pro: Page Titles

This is a forum to suggest new features for mojoPortal. 

This thread is closed to new posts. You must sign in to post in the forums.
4/7/2011 2:23:52 PM
Gravatar
Total Posts 2253

Event Calendar Pro: Page Titles

Hi Joe,

Would it be possible for Event Calendar Pro to check if the skin is using the portal:PageTitle control and populate it with the page title of the page that contains the calendar instance?

I guess this would apply to other features with support pages, also.

Thanks,
Joe D.

4/8/2011 11:47:23 AM
Gravatar
Total Posts 18439

Re: Event Calendar Pro: Page Titles

Hi Joe,

Ok, I've implemented support for this in the source code repository and implemented it in the blog, forums, etc. It will also be in the next release of Event Calendar Pro.

The way I implemented it is by creating a helper control that can be used in supporting pages, the helper control does not render anything itself but it looks for the PageTitle control and if it exists it populates it. So with this implementation if you had a third party feature that does not already implement it, you could drop this into the .aspx file of the supporting page(s)

<portal:PageTitleHelper id="ptHelper" runat="server" />

For it to work the <portal:PageTitle control in layout.master must have the ID="PageTitle1"

Best,

Joe

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