Using of a data tree in Drupal? - drupal

I'd like to create a page on wich one I'll set a data view and/or a datagrid to display some hierarchical information on it. Also, I'd like to have a contextuel menu (right click) on it.
It's my first time I use Drupal. Previously, I was using the toolkit Dojo for creating this menu tree. However, I saw that Dojo is not really supported by Drupal.
Could you help me? Waht is the best solution to create such menu tree/datagrid on Durpal?
Thanks you very much,
Bat

You have to make changes in the theme of your drupal site for data view and/or a datagrid display
For contextual menu visit: http://drupal.org/project/vbo_contextmenu
Cheers!!
vivek

Related

Adding a textbox and a combobox in a webpage using Django CMS

I've just started using Django CMS so my understanding of the tool is very limited, but I've been trying to do something that I assumed would be very simple, yet, I couldn't find a way of doing it.
I'm currently looking to add some textboxes and comboboxes on a webpage. I couldn't find these controls in the content section of the CMS. There are many choices like buttons, maps, videos, pictures, etc. but I didn't find textbox or combobox. How can I create these?
Thanks!
I downloaded the Aldryn package which seems to do the trick.

Orchard multiple language change for whole page but not content only

I'm building a site with Orchard which need to support two languages. I've installed Culture Picker Module which allowed me to separately input 2 languages for the same content. It looks pretty nice actually. However, when I click on the translations button, it only change the content, but for other elements like menu, it still remains in English. Is there any way to change completely for the whole page? Or how to make a global button of changing the language? Thanks a lot!
Click on Manage Content in Administration. You have to search for widgets and then add a part. After that, you search for Localization.
Then, go to the widgets area. You can select a widget like the menu, and then you can just simply add a translation and add the translated version of your menu as the other answer proposed.
Have you created the Localized version of your menu?

Sitefinity CSS classes for basic vertical navigation with sub-pages

I am having such a difficult time trying to figure out how to style my basic vertical navigation with drop-down sub-pages in Sitefinity.
I cannot find a simple tutorial or explanation for what CSS classes I need to target in order to change the style of my navigation, the documentation provided is SO UNCLEAR, and I haven't found much help in the forums.
All I can find so far is that I need to create a main.css file which I use to create a customized skin, but I can't get a straightforward answer about what to target for this specific look.
Any help would be much appreciated from this Sitefinity newcomer!
The Navigation Widget is using the Telerik RadControls to generate the menu's. This could be:
RadMenu
RadPanelBar
RadTreeView
...
Based on the Navigation mode you choose, one of these is rendered. Probably you are using the Simple Vertical Menu?
You could override the classes that are generated, or define a Skin.
Goto the designer of your Navigation Widget
Add a name (e.g. CustomSKin) into the 'Wrapper CSS' field.
Check your markup using e.g. Firebug or Chrome Extensions. You will see this prefix added to the markup of your navigation section.
Then you can declare the classes you want to style like this:
.RadPanelBar_CustomSkin .rpRootGroup {
// Your css
}
You could always take a look at the documentation of the RadControls that Telerik offers:
http://www.telerik.com/help/aspnet-ajax/panelbar-appearance-css-selectors.html
Kind regards,
Daniel Plomp
The easiest way to me seems to go to the Sitefinity Template builder, then follow the steps bellow:
Go to the http://templatebuilder.sitefinity.com
Go to Navigation and drag a vertical menu.
Go to appearance, choose a skin for the navigation from the Navigation Skin dropdown.
Export the template (save it to your had disk).
Unzip it and go to the \css folder.
Now change the Menu.SkinName.css.
Hope this helps. I guess the folks at Telerik didn't put more info on styling menus as there is a template builder that gets some of the work done.

Create Next/Previous node links in a node-panel in Drupal?

So I am on a seemingly simple mission of creating previous/next buttons for a type of nodes, like for pages in a book. Sounds easy enough, considering that there is the Custom Pager module. But, the module does not work for nodes which are built using panels, as described in this bug: http://drupal.org/node/591782
There is another module which creates an API for this operation, but it does not seem to have custom sorting based on a view.
Any ideas would be highly appreciated and thank you in advance.
What about using the views module (and its built-in pager functionality) to display a single node at a time?
In the end I used the code described in the bottom of this page, but had to modify it a little to sort by date:
http://drupal.org/node/37767
Then put it into a custom content pane using (note that I rearranged the variable order):
print node_sibling(node_load(arg(1)), 'previous')
print node_sibling(node_load(arg(1)), 'next')

Generic table editor

I have about 40 tables and users should edit data in this tables in browser.
I believe than it's possible to create one page with dropdown, user select table name in this dropdown and get a grid with "Edit" button.
Does anybody know if such possible? Is it ready projects on Codeplex for such task?
Thanks,
asp.net developer
You might want to look into Dynamic Data I have only played around with it a little, and it seems to do something like what you are wanting.

Resources