How to redirect on page by clicking on button in CMS custom page
I am using a button in custom module in cms and want to go on next page by clicking on button then page will change.
I want to open next page in right area when click on button and the button will go hide.
I want to add some links at left panel, when I will click that links then a page will open then I can do some activities like save data in database. Please help
If you have an anchor <a /> you can just fill out the href, like <a href="#/mySection/mySectionTree/site/">...</a>.
If you use a <button /> just bind to the click event and navigate in your Angular controller. <button ng-click="myClickEvent">...</button>.
In your handler use window.hash = '#/mySection/.....
Is there any way to open custom page by clicking Node in left side. this is showing as folder type. I want this node as clickable and open a page where I can perform any action.
As showing in image, I want speakers as clickable and open a page in right side with file uploader and need to perform action to save data in database.
Here is the source code from the tutorial I have linked to in my previous answer.
In fact the views (in the App_Plugins/[YOUR SECTION NAME]/...) get loaded automatically by conventions. Just take a look at the example.
If you create matching views for your pages (from the sidebar-tree) they will display and you can attach an Angular controller to it (again: this is part of the example / source code).
How to redirect on page by clicking on button in CMS custom page
I am using a button in custom module in cms and want to go on next page by clicking on button then page will change.
I want to open next page in right area when click on button and the button will go hide.
I want to add some links at left panel, when I will click that links then a page will open then I can do some activities like save data in database. Please help
Thanks
You can find a tutorial on how to create custom application trees here: Sections and Trees in Umbraco 7.
This allows you to add links to your sidebar.
For navigation with buttons/anchors:
If you have an anchor
<a />
you can just fill out the href, like<a href="#/mySection/mySectionTree/site/">...</a>
.If you use a
<button />
just bind to the click event and navigate in your Angular controller.<button ng-click="myClickEvent">...</button>
. In your handler usewindow.hash = '#/mySection/....
.Thanks Tobias,
Is there any way to open custom page by clicking Node in left side. this is showing as folder type. I want this node as clickable and open a page where I can perform any action.
As showing in image, I want speakers as clickable and open a page in right side with file uploader and need to perform action to save data in database.
Thanks Manish
Here is the source code from the tutorial I have linked to in my previous answer.
In fact the views (in the App_Plugins/[YOUR SECTION NAME]/...) get loaded automatically by conventions. Just take a look at the example.
If you create matching views for your pages (from the sidebar-tree) they will display and you can attach an Angular controller to it (again: this is part of the example / source code).
Thanks Tobias.
My problem has been solved from the given demo.
Regards Manish
is working on a reply...