Timeline for Embedded view doesn't appear in node
Current License: CC BY-SA 3.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 16, 2014 at 9:21 | vote | accept | Vyacheslav Trotsak | ||
Jul 15, 2014 at 13:40 | answer | added | Geoff | timeline score: 0 | |
Jul 15, 2014 at 5:39 | comment | added | Vyacheslav Trotsak | ou, i forgot about it (nodetitle). Thank you, Geoff! | |
Jul 14, 2014 at 20:16 | comment | added | Geoff | By using Auto Node Title (drupal.org/project/auto_nodetitle). This will generate automatic node titles, and allows PHP to define that title. Using str_replace (php.net/manual/en/function.str-replace.php) you can remove the slashes replacing them with nothing, creating the desired effect. Then use a token in the title for the rest of it | |
Jul 14, 2014 at 16:41 | comment | added | Vyacheslav Trotsak | Geoff, But how can I divide it if the title is "21/06/14 Голосуй за прогноз!!!" => url: "210614-golosuy-za-prognoz" | |
Jul 14, 2014 at 13:02 | comment | added | Geoff | the only other way I can think of would be to separate the content into a sub-folder as part of it's url (i.e. example.com/golosuy-za-prognoz/210614, example.com/golosuy-za-prognoz/120214, etc). This should be accessible directly | |
Jul 14, 2014 at 5:47 | comment | added | Vyacheslav Trotsak | yes, Geoff, in view's preview all is OK. temporarly I have resolved this issue - choosed php in contextual filters and insert return array_pop(explode('/',drupal_get_path_alias()));. All work perfectly, but may be exists more elegant decision? | |
Jul 14, 2014 at 1:36 | comment | added | Geoff | but it works in Views, with a contextual filter defined? | |
Jul 14, 2014 at 0:54 | comment | added | Vyacheslav Trotsak | i say the contextual filter itself does not work. | |
Jul 12, 2014 at 17:52 | comment | added | Geoff | are you saying the contextual filter itself does not work, or are you trying to get the url of the content to include the date (example.com/210614-golosuy-za-prognoz) | |
Jul 10, 2014 at 4:28 | history | asked | Vyacheslav Trotsak | CC BY-SA 3.0 |