One feature instance on multiple pages

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.
3/14/2008 2:10:07 AM
Gravatar
Total Posts 48

One feature instance on multiple pages

Hi there,

Is it possible to have one feature instance on multiple pages? e.g. I have an advertisement image i'd like in the right column of every page. I know this could be done using the master page but it'd be excellent if it could be done using an "html content" feature.

Am I missing where the option for this is?

Thanks in advance for any help,

Reiss

3/14/2008 1:15:52 PM
Gravatar
Total Posts 43
Partner

Re: One feature instance on multiple pages

I believe this is the feature you are looking for:

• Login into the mojoPortal
• Go to the “Administration Menu”
• Go to the “Content Manager” menu item
• Find the HTML content section you want repeated and click on “Publish / Delete”
• Click the green plus image to publish that HTML content on a new page

I hope this helps.

-Todd

 

3/14/2008 1:19:19 PM
Gravatar
Total Posts 18439

Re: One feature instance on multiple pages

Yes, its very easy. Go to Administration > Content Management and you'll see a pageable grid of all feature instances in the site. Find the one you want to put on other pages and click the "Publish" link and you'll see a page showing a list of all the pages in the site with an option to publish on as many as you like.

Its also possible in the case where you want to have a feature instance appear on every page in the site and you don't want to have to have to manage it with the publishing system, you can add a control to your layout.master like this

<portal:ModuleWrapper ID="mw1" runat="server" ConfigureModuleId="x" />

replacing x with the module id of the feature instance. You can find the module id by mousing over the edit icons or links for the instance.

It will load the feature instance thereby allowing you to easily include it on every page.

Hope it helps,

Joe

3/14/2008 1:32:08 PM
Gravatar
Total Posts 18439

Re: One feature instance on multiple pages

:-) Thanks Todd, you must have been composing your help the same time I was composing mine.

Cheers,

Joe

3/14/2008 1:35:34 PM
Gravatar
Total Posts 48

Re: One feature instance on multiple pages

Hi todd / joe,

Thanks for the help! That worked a treat!

I knew it could be done using the master page but some people don't know how to modyfy it so it's a lot easier to do via the cms.. after all that's what a cms is for.

Would be good if there was an option in the "publishing system" to select all pages and specify a content pane for all those pages. This would allow for scenarios such as the advertisement scenario i stated, rather than going through every page and publishing it, just a thought?

Thanks,

Reiss

3/14/2008 1:42:08 PM
Gravatar
Total Posts 43
Partner

Re: One feature instance on multiple pages

While making wishes… 

I had Visual Studio open this week, was going to implement a change and send it Joe’s way… the phone rang and I could not finish it. I would love to see another column added to the “Content Manager” view called “Is Orphan” or “Is Used” indicating if that module is used on any pages. This would help me (and others) clean up modules that are not being used on any pages.

So many ideas, so little time…

-Todd
 

3/14/2008 2:10:24 PM
Gravatar
Total Posts 18439

Re: One feature instance on multiple pages

Thats a good idea.! Really the current Content Publishing management is just scratching the surface of what it could be.  Its just there are so many fronts on which I'm trying to improve things and often I find I crank out the crux of a feature and then move on to other things without polishing it. Eventually I get back to it or have a customer need that requires the polish and thats when it gets improved. And then there's always this firehose of new ideas and opportunites every time I discover some new thing like ExtJs, google gears, Silverlight, etc and realize what I could do with them, but there are so many things that its hard because you can't do them all and you have to be careful where to channel the energy to get the most benefit for the effort and to whats the most benefit to advancing the project. But of course to make a living the customer needs tend to drive where immediate efforts go.

Anyway I have a lot of ideas about improving the content publishing system and think polishing those features would be very beneficial to the popularity and usefullness of the project. And of course I'm glad to have help and hear suggestions.

Cheers,

Joe

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