Umbraco macro - Displaying content in all nodes - xslt

I have a navigation bar in which all links are grabbed from Umbraco items (entered by the user). This navigation bar needs to be displayed on all pages. I tried inserting the items into the master template, but the links are not passed down to slave nodes. So, I'm assuming I need some sort of a macro which grabs the content and displays on all pages.
Does anyone have any suggestions?

I answered a question about creating a multi-level XSLT navigation menu a while back:
Create multilevel menu for umbraco using XSLT?
Perhaps that will get you going?
I think the key is that you need to get to the top of the content tree (home), then build the navigation. Otherwise the nav will be based on where in the tree the current page is.

Related

Alternative to legacy tabs parent set in current navigation menu in oracle apex?

Just like we could make parent tab set and combine all tabs in it.
Is it possible to do the same with navigation menus?
Basically, how can we convert set of tabs to navigation menus explicitly?
or create a parent list that would contain all the other lists.
Ex: Manager list, employee list all could get combined to one parent list,
Is this possible?
In shot, how can we convert the standard tab set in navigation menu format?
Vini,
Within Lists you can develop structures as many levels deep as you like. To do so just specify the parent list entry.
One customer that comes to mind has a single Navigation Menu list with several hundred entries, numerous levels deep.
With APEX 20.1 you now have the choice of displaying the Navigation Menu on the side, on the top or as a Mega Menu.
Regards,
David

Experience Editor custom functionality

In some of our pages, we have a component that is a list of links. In Sitecore, this is stored in the following manner -
- Component data source
- list item 1
- list item 2
- list item 3
Right now the Sitecore users can only add links to the list by going into the Content Editor and manually adding a list item. This is not very convenient for users as they have to constantly switch between Content and Experience Editor.
I would like to provide a functionality in the Experience Editor itself which can allow users to add these link items using a layover type functionality.
I did a quick search and wasn't able to find anything concrete. Is there a way to update achieve this functionality?
You should create a custom WebEdit button which will allow to add children to your datasource.
You can read more about it here Sitecore Page Editor: Creating a WebEdit button

Sitecore: Render content tree child items as list view

Is it possible to change the way items in the content tree are rendered in Sitecore?
In Umbraco, there's the option to render all child items of a parent node as either child nodes or in a list view outside of the tree. Next to the tab(s) belonging to the parent node, a node "child items" is added. In this node, all child items are rendered in a listview, supporting popular features like paging, sorting and search.
Is this possible in Sitecore?
Upon searching for an answer to this question, the most common reply is to use a bucket. However, when using a bucket, a message appears instead of the child nodes: "There are hidden items in this container". In a new tab next to the standard Content tab, the end user can search for a child item, but it doesn't seem to be possible to show a listview/grid.
So the question remains:
Can we render content tree subitems in a list/grid, in a new tab next to the Content tab, using features like paging and sorting.
Many thanks.
You can define a default query for your bucket. After that, when a user clicks on the bucket item, he will see search results right away in the form of a list.
Here's documentation on how to do this:
https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/search_and_indexing/create_a_default_and_a_persistent_search_query
In short, you just specify your query in the field Default bucket query of the bucket item.
I am not aware of any other way of achieving what you want. Sitecore content editor just doesn't have this feature from Umbraco.
You may want to take a look at the Subitem Express module.
It does not offer features such as a sorting, paging or searching, but it will display and allow editing of children from a single content editing pane, as well as allowing adding new and deleting children. The child items can also be hidden so that they are not visible in the tree by default, but you can enable "hidden items" to still edit the children like regular items.
Really depends on your requirements, but I've used the module for data heavy items where it was easier to enter through the Content Editor than all the fluff around the Experience Editor to speed data entry.

Joomla! 2.5 Menus

I've just had my website migrated from Joomla 1.5 to 2.5, however, I am struggling with the menus. This might be because of my choice of template.
The website is using the bizglobal 1.7 template. The problem is the top menu: I can set up various menus and submenus, but I want all the menu items to be available. For example, if I select the first top level item then all the ones below are immediately available. But the remaining top level items don't show their children unless I click on the parent menu item - whereupon the original children don't drop down. Pictures are better than words, so please have a look at http://www.simsig.co.uk with the green top menu (currently SimSig and Forum).
Many thanks.
In the module manager look for the module that's displaying your main menu, it should be type menu.
Is the show sub items marked to yes?

How to add a hyperlink column in an UltraWebgrid that will redirect me to a popup window

I am pretty new to Infragistics controls and finding it hard to add a hyperlink column to the ultraweb grid. Can anyone help me out with this.
Currently, I am binding the data coming from the Database to the grid.
To this data I need to add a hyperlink column "View" that will redirect me to a popup.
I need to pass some values from this page to the popup.
Need pointers if this can be done on Javascript.
I am unable to get the code anywhere.
It would be really helpful if someone can help me out
Regards,
Sunitha
If you know HTML it is actually pretty simple to do. On the Initialize RowLayout method of the UltraGrid and reference the cell you want the hyperlink to go into and within the text property place the link there using HTML and include parameters within the HTML to pass to the popup.
If you are using a fairly recent version of Infragistics, they have a Modal Popup window that you can use which is fairly easy to integrate and use, and with this you do not need a javascript popup. You can use the ClientSideEvent BeforeSelectChangeHandler to open the Modal popup and pass values into there by referring to other cells within the row.