Timeline for Different taxonomy term title for menu and term page
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 25, 2016 at 15:47 | vote | accept | Andy Mark | ||
Jul 25, 2016 at 15:47 | vote | accept | Andy Mark | ||
Jul 25, 2016 at 15:47 | |||||
Jul 13, 2016 at 10:19 | history | edited | Jimmy Ko | CC BY-SA 3.0 |
Add another way to retrieve term object.
|
Jul 6, 2016 at 22:51 | comment | added | Jimmy Ko | Yup, every new implemented hook function required clear cache. :) | |
Jul 6, 2016 at 21:34 | comment | added | Andy Mark |
1-st rule "Don't forget about clear cache"))) after this operation I seen what it's not work(( Now I use for this this code in page.tpl // Check if term page no empty and rewrite $title if ( arg(1) == 'term') { $term = taxonomy_term_load(arg(2)); $title_term = $term->field_title; if (!empty($title_term)) { $title = $title_term['und'][0]['value']; } }
|
|
Jul 6, 2016 at 17:22 | comment | added | Andy Mark |
cool, thanks! More pretty then I write for page.tpl )) // Check if term page and rewrite $title if ( arg(1) == 'term') { $term = taxonomy_term_load(arg(2)); $title = $term->custom_field['und'][0]['value']; }
|
|
Jul 6, 2016 at 17:22 | vote | accept | Andy Mark | ||
Jul 6, 2016 at 21:33 | |||||
Jul 6, 2016 at 17:01 | history | answered | Jimmy Ko | CC BY-SA 3.0 |