vista
In marinelli, in una vista il cui formato è: "Grid" e che mostra il "Contenuto" come "Anteprima", è possibile inserire un campo (eh sì, lo so, l'ho detto: il formato è "Grid" e non "Field") che mostri quando gli articoli pubblicati (e che sono riepilogati nella vista) sono nuovi ("New")? E inserire anche il titolo degli articoli, in ogni voce della vista?
Il fatto è che mi piace come, così, viene "disegnato" il simbolino della data di pubblicazione... e se metto invece formato "Field", drupal non mi riporta tale rappresentazione.
Allegato | Dimensione |
---|---|
posted_by.jpg | 97.45 KB |
Risposte
Ciao, potresti usare comunque
Ciao, potresti usare comunque i campi e poi usare "Nodo: rendered node" con view mode anteprima e un campo "Ha nuovo contenuto" per creare un marcatore per i nuovi contenuti ... dovrebbe funzionare formattandoti il nodo in anterprima come desideri.
Potresti essere più
Potresti essere più preciso?
Provide default field wrapper elements If not checked, fields that are not configured to customize their HTML elements will get no wrappers at all for their field, label and field + label wrappers. You can use this to quickly reduce the amount of markup the view provides by default, at the cost of making it more difficult to apply CSS.Nella vista, con Mostra>>Fields, nelle impostazioni ho:
Inline fields
Contenuto: Post date Contenuto: Has new content Contenuto: Titolo Contenuto: Body LinkInline fields will be displayed next to each other rather than one after another. Note that some fields will ignore this if they are block elements, particularly body fields and other formatted HTML.
Separator The separator may be placed between inline fields to keep them from squishing up next to each other. You can use HTML in this field. Hide empty fields Do not display fields, labels or markup for fields that are empty.Ci provo :-) .. con Drupal 7
Ci provo :-) .. con Drupal 7 ha bisogno del modulo "entity" per avere a disposizione il campo che ti ho indicato. Installalo e modifica nuovamente la vista, vedrai un campo con il nome e opzioni che ti ho indicato.
Bene, ci sono riuscito grazie
Bene, ci sono riuscito grazie :)