Using a TreeView in a module

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.
4/26/2007 2:41:18 PM
Gravatar
Total Posts 23

Re: Using a TreeView in a module

I have sorted out the issue by using an already existing feature of the treeview class...in the old build...the text wrapping of menu sub nodes is working fine with the tree view.

I haven't yet checked the bug which you have pointed out, the admin menu being visible after logging out. I am really looking into implementing the newer releases for my organization...however since we have already made many changes and added many of our own custom controls...and have implemented many specific changes as a part of an ongoing customization process...i am a little worried about the team having to do rework...

Is there any way that I could use only certain changes in the new build and keep our the current version that we are working on intact...for example in this case how would i implement the the new tree view functinality without affecting the working of our current build.

The files that would be affected i am guessing would be

1) sitemenu.ascx,2) styles.css(more css classes) 3) the menu adapters and the 4) treeview adapters(.cs files)

and probably the tree view class as it would have some new functionality.

Once again, you have really been of help and i really appreciate the quick and accurate  replies to my queries...

 

thanks a ton Joe.

 

Aaron

4/26/2007 2:59:31 PM
Gravatar
Total Posts 18439

Re: Using a TreeView in a module

Once you start customizing the core you are using a fork which makes it impossible to upgrade easily. No way I can solve that.

My recommendation is to implement your custom features as external projects then use your own .sln file instead of the main mojoportal.sln file so you can add your projects in.

You can see an example now of a fairly sophisticated external project because that is how I've been implementing the e-commerce.

You'll note that there is a WebStore.sln file whish has all the projects from the main solution plus the proejcts needed for WebStore including a Web UI, Business, and Data layer projects.

If you open the WebStore.sln and right click the WebStore.UI project and choose properties, you will see the post build events I use to copy the output of the exteranl projects into the correct locations beneath the main Web folder.

This model allows you to keep all your custom code external and easily update the core from svn to get the latest features and fixes. If you find something that really needs to be changed in the core to support your needs you should coordinate with me to try and get those changes approved and committed.

There are some Flash tutorials here that may help explain also:

http://www.mojoportal.com/creatinganewfeaturemodule.aspx

Hope it helps,

Joe

 

4/26/2007 11:48:37 PM
Gravatar
Total Posts 23

Re: Using a TreeView in a module

HI Joe,

4/26/2007 11:48:53 PM
Gravatar
Total Posts 23

Re: Using a TreeView in a module

HI Joe,

4/26/2007 11:55:42 PM
Gravatar
Total Posts 23

Re: Using a TreeView in a module

HI Joe thanks for shedding light on the situation, in fact I have done something on the same lines as what you have mentioned, only thing, I was adding functionality and by either adding custom event handlers or custom controls, there was rarely a situation where i had to change the Core...however i did have to add stuff to the Business Later...i will from now on take ur advice on adding functionailty in the form off additional projects in the webstore.sln and configure the post build appropriately.

 

Another quick question, has the advanced search functioality been implemented in the latest build for all 4 of the search options...???

Will explain in by means of a screen shot...

4/27/2007 1:09:00 AM
Gravatar
Total Posts 23

Re: Using a TreeView in a module

and please ignore those earlier two word messages, it was my net connection playin up on me...

4/27/2007 1:09:17 AM
Gravatar
Total Posts 23

Re: Using a TreeView in a module

and please ignore those earlier two word messages, it was my net connection playin up on me...

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