Contextual Filter com um campo Entity Field
Boa Tarde,
É possível numa VIEW ter um Contextual Filter de um Entity Field sem ter que mexer no PHP ? Só consigo interagir normalmente com NID ou Taxonomy....
Exemplo do problema.
- Content Type (Bolas) Fields : Nome , Tamanho, etc...
Sharethis eklentisi views entegrasyonu
Arkadaşlar merhaba,
Hazır bir temada düzenleme yapmam gerekti..
Sosyal medya paylaşımları için
sharethis eklentisini yükledim..
Eklentinin views desteği var ancak!!!
kullandığım temada "views-view-fields--portfolio.tpl.php" isimli bir dosyada bir takım düzenlemeler yapmak gerekiyor...
Eklemek istediğim iki alanı eklemeyi başardım ancak,
sharethis eklentisi field olarak görünmediği için ekleyemedim...
html olarak eklemeyi denedim...paylaş dediğimde (facebook, twitter) olduğu içeriği değil siteyi paylaşıyor...
Natural Sort in Views of Webforms
I have created a simple internal auction system. I have a content type, a webform, and some views. I know I could have used drupal commerce and an auction module but honestly i didn't need all that extra overhead.
Content is created. Then assigned it to a particular auction(taxonomy term). I have a view for each auction. I created a webform. NID of the item is passed to the webform for ref.
The view displays a table of webform results (webform mysql module) that are assoc to the NID of the item. Therefore, only displaying the bids for that item.
Views - Nodes ordenados por um term id especifico.
Boas Pessoal,
Gostaria de criar uma views node ordenada da seguinte forma, ex:
Product A = > Attached to Term 1
Product B = > Not attached to any term
Product C = > Attached to Term 2
Product D = > Attached to Term 1
Sorting : Todos os nodes relationados com o term 1 devem aparecer no topo dos resultados, todos os outros a seguir ordenandos alphabeticamente por exemple, obtendo:
A,D,B,C.
Tentei utilisar:
relationship : Content: Taxonomy terms on node
sort criteria : (term) Taxonomy term: Weight (desc)
viewsでインラインスタイル(style="")を除去しないで出力する方法
いつもお世話になっております。Drupal 7.28 views 7.x-3.8を使用しています。
Viewsのrewrite outputで以下のようにstyle属性を記述すると
<div style="height:; width:;">test</div>
style属性が除去されて以下のように出力されてしまいます。
<div>test</div>
viewsでstyle属性を除去しないで出力する方法がありましたら、教えて頂けないでしょうか?
よろしくお願いします。 Read more
Commerce Product Attributes Module
Hi everyone,
I have quite complex products and would love to enable customers to see and edit product attributes in the cart (and maybe on the checkout form as well).
I installed the Commerce Product Attributes module, but can't figure it out.
It tells me that
Read moreYou need to add a new field in the cart view. To do this edit the cart view > add field > add attribute field. You may want to remove the product title field.
Linking to content when using custom routing solutions
I'm working with a system where custom routing had to be implemented using hook_url_inbound_alter. The layout is basically, "mastergroup" as the main group, and "projects" as the child group (set as a group and group content, with the group audience set to "mastergroup". So, the urls have to be as follows:
- mastergroup/group-url-alias (the main group content)
- mastergroup/group-url-alias/projects (list of projects for the current group)
- mastergroup/group-url-alias/projects/project-url-alias (project details page)
Views exposed Filter
Merhaba arkadaşlar, views ile bir arama bloğu yapmak istiyorum. bunun için viewsin exposed filter özelliğini kullanmaya çalıştım.
yaptığım işlemler şunlar;
-ilk önce bir views page oluşturdum, böylece arama bloğu otomotik olarak arama sayfasına yönlenebilecek.
-ikinci olarak, Exposed form in block: yes olarak işaretledim ve Exposed form style:Girdi gerekiyor şeklinde ayarladım.
- sonra filtre ölçütü bölümünden istediğim alanları çekerek Expose this filter to visitors, to allow them to change it seçtim,
Display OG view with users and nodes from membership for group members
To keep it simple my goal is to create a view that displays OG user roles and the nid of the nodes the users have posted in the group.
I have successfully created a view with users and nodes from membership doing:
- Add new view -> Create a page displaying table of fields
- Add contextual filter -> OG membership: Group ID
- Add relationship -> OG membership: Node from OG membership
- Add relationship -> OG membership: User from OG membership
- Add field -> OG membership: OG user roles in group (Roles)
- Add field -> (node from OG membership) Content: Nid (Nid)
Editar vistas y desplegable de crear contenido
Buenas tardes, estoy empezando con Drupal 7 tras mucho tiempo con la versión 6 y me encuentro con mis primeros problemas.
Como puedo editar una vista directamente desde la propia página sin tener que ir a menú > estructura > views y buscar la vista que sea? Es decir, en Drupal 6 aparecía un "botón" para editar la vista directamente.
Y ya que estamos... como puedo poder el típico desplegable de Drupal 6 para que un usuario pueda crear un Blog, Documento, etc... en un grupo?
Read more