Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tridion UI on Dynamic Page

I have created a Page Dynamically which query the broker database and and based on filter displays the component presentation on run time. I have used Tridion UI on the page to edit the components.

Now as the content on the Page is Dynamic, I do not want to use the "Create and Insert Content" functionality as it will create the component and it will try to insert that on Page which I don't want here.

Is there any way so that I can disable the "Insert Content" and "New Page" functionality for the page using dynamic CP's?

All I want is to in able the "Create Content" which uses required Content Type.

like image 470
Meenakshi Avatar asked Feb 05 '13 17:02

Meenakshi


Video Answer


1 Answers

Buttons in Ribbon Toolbar has associated command with it. By click on the Button, Command will be invoked. There exists a supported way of extending existing Commands. So you can create Commands extensions for Insert Conter and New Page Buttons, which will override "isEnabled" method.

like image 151
Boris Ponomarenko Avatar answered Oct 11 '22 01:10

Boris Ponomarenko