Custom Module Navigation

Posted by Community Admin on 05-Aug-2018 22:21

Custom Module Navigation

All Replies

Posted by Community Admin on 29-Sep-2010 00:00

How do you create a URL to navigate between different views in a custom module in Sitefinity 4.0?  The Jobs module example does not demonstrate this functionality.

Thanks!

Posted by Community Admin on 30-Sep-2010 00:00

I realize I might not have been clear.  In prior versions, you would extend ViewModeControl to create the different page views for your module.  This class had several methods such as CreateHostViewCommand and NavigateRootViewCommand.  How is this functionality achieved in the new architecture for Sitefinity 4.0?

Posted by Community Admin on 04-Oct-2010 00:00

Hi Stephen,

The navigation in Sitefinity 4.0 is completely different from what we use in 3.6 and 3.7 edition. In 4.0 we use RadWindow control as dialog and everything is done through client side API of the control and services when needed. One of the options is using a definitions to create dialog elements and pass argumens



var parameters = string.Concat(
                "?ControlDefinitionName=",
                ModuleDefinitions.BackendItemDefinitionName,
                "&ViewName=",
                ModuleDefinitions.BackendItemInsertViewName);
 
public const string BackendItemDefinitionName = "ItemsBackend";
public const string BackendItemInsertViewName = "InsertItem";


There is a class DefinitionsHelper that can be used to create dialog elements

var createDialogElement = DefinitionsHelper.CreateDialogElement(
                entriesMasterView.DialogsConfig,
                DefinitionsHelper.CreateCommandName,
                typeof(FormEntryEditDialog).Name,
                null);
                entriesMasterView.DialogsConfig.Add(createDialogElement);

We will work on a samples to show how you can create an additional provider and module with custom views. For the time being "routing" is not documented.

Best wishes,
Ivan Dimitrov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.

Posted by Community Admin on 26-Dec-2010 00:00

Now that Sitefinity is getting ready to be released officially, when can we expect this 'routing' functionality...

?

Posted by Community Admin on 28-Dec-2010 00:00

Hello Stephen Green,

The routing functionality is on the plan for release after the official one.

Best wishes,
Radoslav Georgiev
the Telerik team


Check out Telerik Trainer, the state of the art learning tool for Telerik products.

Posted by Community Admin on 04-Jan-2011 00:00

Hello!
Can you please explain how to pass parameter value between different controls in the module. As we did in contacts module in sitefinity 3.x.
Please also give some detailed explanation about developing modules as in this video.
http://www.sitefinitywatch.com/blog/09-04-20/Introduction_to_Sitefinity_Intra-Site_Module_Creation.aspx

And also give some code snap about developing side navigation bar as in this video.
please tell me how earlier you will release documentation and sample code about custom navigation inside modules.


Many Many thankx!

Please reply ASAP




Posted by Community Admin on 30-Jan-2011 00:00

Any update on this?

I am trying to build some custom modules and it's difficult to create anything meaningful without having the ability to interact between various views.... and it's frustating not to have any documentation on this even after official release...

Can you let us know when can we have this documented?

Posted by Community Admin on 31-Jan-2011 00:00

Hi Preetham,

Have you checked the Products catalog sample module that is shipped with our SDK?
For the backend you can use - passing some parameters in a custom web service and use DialogElement.


Best wishes,
Ivan Dimitrov
the Telerik team


Check out Telerik Trainer, the state of the art learning tool for Telerik products.

This thread is closed