I'm working on a wordpress site that is going to have multiple children. Along the lines of:
Parent 1
Child 1
Child 2
Grand Child 1
Grand Child 2
Child 3
Parent 2
Child 1
Child 2
Grand Child 1
Grand Child 2
Child 3
Is there a really easy way to generate this in wordpress?
In page attributes, you can do this by default.
Related
Is there a way to create a deeper tree using the vertical nav? Using the clr-vertical-nav-group and clr-vertical-nav-group-children Im only able to go as far as the first layer deep. I want to be able to have 3 or for more layers like this..
section 1
subsection 1
content 1
subsection 2
content 2
section 2
subsection 1
content 1
subsection 2
content 2
Let's say that I want a Drupal View to display un unknown amount of "items". I would like to display 4 items per row (in the width of the page).
I would normally use a row-fluid container and have 4 span3 items in it.
Now how would I achieve that using Drupal Views module so that this would get repeated if I have 8 elements (2 rows of 4) or 9 elements (2 rows of 4 + 1 row with only 1 element), etc.
If this is not feasible with the Views module, what approach would you suggest?
Thank you.
Use the http://drupal.org/project/semanticviews module! You'll see it is quite easy.
In ColorBox, is it possible to control the order that photos appear within a grouped (rel="group") gallery?
Unfortunately, due to the layout of my page, photos appear in vertical columns, which need to be grouped horizontally. So the links are output in vertical order in the html, ie:
1 4 7
2 5 8
3 6 9
...but need to be displayed as...
1 2 3
4 5 6
7 8 9
What I need to be able to do, is to override the natural order, sort of like a tabindex, ie:
rel="group[1]"
rel="group[4]"
rel="group[7]"
rel="group[2]"
rel="group[5]"
rel="group[8]"
rel="group[3]"
rel="group[6]"
rel="group[9]"
Is this possible?
Sorry, I can't think of any easy way to do this. Colorbox's ordering is controlled by DOM placement and there isn't a way to alter that outside of editing the plugin. The easiest thing to do would be somewhat ugly: create a duplicate set of DOM elements in the correct order and assign colorbox to them instead (this could be done with JS and they could have their display set to none so they are hidden from the visitor). Then use the original links to trigger colorbox on the duplicate link that shares the same href value.
No JS, please, just pure CSS. Horizontal, drop down, with sub-menus beyond that
item 1 item 2 item 3 item 4
hover item 2
item 1 item 2 item 3 item 4
option 1
option 2
option 3
I want to hover over option 2 and get
item 1 item 2 item 3 item 4
option 1
option 2 choice 1
option 3 choice 2
choice 3
Must work in MS IE 7+ (other browser a bonus, probably a given). Thanks
Check out http://www.cssplay.co.uk/menus/final_drop.html
Ive used Project7.coms css library/technique fairly successfully. An example of its application can be found on my small company's website (I apologize for using/ plugging my own site) but it is the only time I've used this library.
I've have a menu structure that has a depth of 3 levels on a drupal 6 CMS.
When I click on a level 1 that has children, the level 2 menu items display fine. If the level 2 has children, it is not showing the level 3.
If I check the expanded box the level 3 is displayed however, it displays all the time irrespective of the level 2 that has been selected. It seems to display whenever it's parent level 1 is selected.
For further information, the menu items are a mixture of custom links & content links. i.e. Links I've enetered manually when creating the menu and others generated by when creating a node or view display.
All I want is to show the children if there are any for the selected parent.
Am I missing something fundamental here?
Thanks
Steve
In the menu settings you should play around with a setting called "expanded". See /admin/build/menu-customize/primary-links and play around with the expanded setting.
If you expand a menu item then all its children are displayed in the block, otherwise only when you click on the parent item do the children get displayed.
You can have some more control on menu's in blocks by checking out http://drupal.org/project/menu_block