Faster HTML entities encode/decode library.
npm  js  nefke  html-entities 
6 days ago
taxonomy - How to show terms in a Views in its hierarchical structure? - Drupal Answers
Views Tree is nice for fast and simple hierarchy configuration but it lacks some features like different fields/configuration for different tree levels and grouping

You can get more flexible configuration with Views Field View.

This is the setup I needed for a taxonomy tree of three levels where I needed grouping by top level term.

Create a view of terms with a page display(or any other display)
Add relationship "Taxonomy term: Parent term"
Add Field : Term name(without relationship), Term Name(Parent relationship, excluded from display)
Add Filter Taxonomy term: Parent term (Parent relationship) equal to 0. (show only level 2)
In Format settings, use grouping with field (Parent) Term Name.(to display level 1)
Add A new display (an attachment is good)
Override its fields (just click any field, choose this attachment(overridden) from the select box on top, and then save the field. (this is to avoid recursion)
Override the attachment Contextual filters by adding Taxonomy term: Name (Parent relationship)
Add a view field (Global: View) to your view fields.
Use the attachment in the view field config, and add the token for the term name (not the parent) as the contextual filter value sent to the attachment.
You can remove the relationship from the filter in step 4, this will display the top level in main display, so you can skip grouping (step 5), then add a new display for each level you want to display (control no. of levels to display)

For me this gave almost the same results of Views Tree but with the flexibility I needed.
drupal  views  nefke  taxonomy  deconstructed  howto 
7 days ago
BashFAQ/028 - Greg's Wiki
How do I determine the location of my script? I want to read some config files from the same place.
bash  deconstructed  teeal 
14 days ago
« earlier      
117lynn 337 ajax analytics android apache api app apple art article audio authentication awesome baby backup basecamp bash bathroom blacklight blog book bootstrap bowtie browsertesting calendaring case chart cheatsheet chrome cloud cms code4lib coffee collaborate color-management colorpalette comic comparison construction css css3 d3.js data debugging deconstructed deployment design dev devsetup documentation door drupal drush ecommerce electrical email extension firefox flooring fonts food forms framework free fun funny gallery gem git github gitlab gitolite google grids hardware hilarious homebrew hosting howto html5 icons ie ie6 ikea industrial-design inspiration interiordesign ios ipad iphone itunes java jersey jquery js json keyboardshortcuts kitchen lax leopard library linked-data linux lion mac malt mannweb mapping markdown mbookpro media-queries mlion mobile mobile-first module music mysql networking nodejs notes nyc omnigraffle opensource optimization osx pdf performance photography photoshop php plugin postbox presentation privacy productivity programming projectmanagement prototyping rails rant rdf recipes reference regex responsive review rmbp rss ruby safari sass screencast search security semantic shed simplenote singlefunction sketching snowleopard social solr sotrue sparql ssh stackoverflow startup stats stencils sublimetext svn taxonomy teeal templatingengine terminal testing textmate theme themes theming timemachine todo tomcat tools touch trends tricks tutorial twitter typography ubuntu ui unix usability utility ux video views visualization vivonih vortex vw wallpapers weather webapp webdesign webdev webfonts windows wireframing wordpress writing yosemite

Copy this bookmark: