[Views] hook comment form?
Mình đã tạo ra 1 Views, và mình mong muốn ở header của Views đó, có 1 form comment để người dùng có thể comment trực tiếp vào. Tham số đầu vào của Views là 1 node id. Nhưng mình gặp rắc rối ở việc hook comment form. (form comment tương tự như khi mình xem một node, có form comment ngay bên dưới).
Mong nhận được sự giúp đỡ từ mọi người! Thank you!
V.My
Tablesorting on taxonomy terms within a node view
I have a view which displays nodes. There are a bunch of terms attached to those nodes, all single-select vocabularies. I display the terms by using the "Taxonomy: All Terms" field in three separate columns and limiting each field to its particular vocabulary.
The display plugin is a table, and I want the user to be able to tablesort these taxonomy term fields.
As far as I know, there are two ways to display terms associated with a node within a node view - "Taxonomy: All Terms" and "Taxonomy: Term".
Read moreVideos Posted: Design for Drupal Camp Boston
The video we captured is posted and linked off the Session pages.
http://boston.design4drupal.org
Titles with "+ Slides + Video" for example on the end will have those resources.
We hope that those that could not attend will enjoy some of the goodness we shared at MIT on June 13 and 14, 2009.
A special thanks to Sheeri Cabral and her assistant Ed Carlevale for their brilliant production work.
Read moreLätt fråga om Views
Detta går fort. En nybörjarfråga som är svår att hitta svar på.
När jag jobbar med Views vill jag självklart att när man jobbar med olika inställningar, att dessa laddas under default settings innehållet, och inte i en ny sida. Just nu är det så här: klickar jag på t.ex "+" under "fields", laddar den om sidan och "Default - Add Fields" blir en ny sida, plus att jag inte kan sortera innehållet automatisk i rullgardinen som följer. Var ändrar jag till en mer ajax-liknande funktionalitet?
Tacksam för alla tips
darko
Estudo de caso - clone do Basecamp
Quando vemos muitos tutoriais, artigos, etc, ficamos felizes com a idéia do "é bem documentado". A documentação é fundamental, mas em casos como o Drupal, a grande sacada é o "mão na massa", porque os módulos estão ai, todos prontos, uma enorme caixa de Lego, aonde o que vai fazer a diferença é justamente sabermos como encaixar cada peça, aonde mexer, como ajustar, etc. Com isso, nada melhor do que um estudo de caso, aonde vemos a situação a ser resolvida, botamos a faca nos dentes e partimos para cima!
Read moreviews記事の表示順コントロール
初めまして。shinshinと申します。
viewsを使って記事の一覧表示をさせたものを好きな順にコントロールしたいのですが、
weightモジュールを使うとDrupal6では出来たのですが、Drupal5では、並び替え基準で、weightが
現れないので、出来なくなってしまいます。
D5でも対応させるにはどのようにすればできるでしょうか?
ヒントだけでも教えてもらえれば幸いです。
Drupal 5, Views and a list of users with membership in user role "x"
I'm sure I'm missing something painfully obvious. I wish to produce a list of users who have been assigned user role "x" but I'm not seeing how to do so in Drupal 5 and Views
Context:
Drupal 5.18
PHP 5.2.6
MySQL 4.1.19
Views 5.x-1.6
I'd love any pointers -- thanks!
Read moreVisa delar av innehållet av en Content Type i en View baserat på del av path
Jag har en Content Type (Product Group) som innehåller en väldig massa fält, grupperade i olika sektioner, ex. Overview, Specifications, Sights and sounds, Opinions.
Jag har en view som ska visa denna information beroende på path.
Ex.:
/products/minprodukt/overview
Ska visa fälten overview_image, overview_description och overview_at_a_glance.
I nuläget så har jag en lösning med en switch-sats i template.php, theme_preprocess_node som sätter variabler som jag sedan använder i node-product_group.tpl.php. Switch-satsen jobbar utifrån värdet i $_GET['section'].
Read moreexposed filters with hierarchical select
hello
D6
modules: cck, views, hierarchical select (newest versions)
i´m working on a real estate website. i added some content types like house, appartment and so on
if you add a real estate, you can add a location too, this is realized with taxonomy.
the location is split in country > state > destrict > zip-code > city> street
country is a vocabulary, state is a vocabulary and so on ...
now i have a view with exposed filters and there you can search for the location too.
Read moreDifferent Banners for Different Views Filters
Hey all,
Our newspaper has a restaurant directory for the city we report in, and we're building a restaurant directory. What I've done is made a content type called "Locations" and used taxonomy to identify different locations as venues, restaurants, etc...
In this case, I've set up a view that will only show locations tagged under "restaurants".
Read more






