关于使用views制作内容列表删除内容后的跳转问题?
大家好,
今天我碰到一个问题希望大家可以给我提供一些帮助。
我使用views建立了一个page的display,用的style是table。
每页显示10各项,每一行都有delete的删除项。
事件:
总共有11个内容时,第一页有10个项,第二页有1个项。当我在第二页将那个item删除之后,因为destination的作用view又跳转到第二页,这时第二页是没有内容显示的,因此会显示空白。
请问这种情况如何解决?最好是比较通用的方法。
Geofield module: modifying views filter
I have installed Geofield and Address Field, and I have created a content type using them.
Then I have created a view with a proximity filter, selecting 'Manually enter point as 'Source of Origin Point'.
It works fine, but I'd like to enter the source point through an AddressField instead lat/long fields.
I have been trying to create a new .inc file but I'm having problems because I have no experience with Views development.
If someone could provide me guidelines about that I will thank him.
Is modifying Geofield module the correct way or I have to create a new module?
Nuevo filtro para views "Views has item"
Hola drupaleros, hago un post para presentarles un módulo que desarrolle para Views. Esto me solucionó el siguiente requerimiento: mi cliente quería tener una vista en donde pudiera filtrar por los contenidos que les faltaba adjuntar un archivo de un campo en particular, pero también quería ver los contenidos que ya los tenía. Una solución era crear dos vistas y en cada uno colocar, como filtro, el campo y decir si esta vacío o no. Bueno, este módulo hace lo mismo pero con un filtro booleano sin necesidad de crear 2 vistas y permitiendo agregar más filtros del mismo tipo con cualquier campo.
Read moreSOLVED: OpenLayers Exposed Form in Block
I have an OpenLayer map with an exposed filter for location. It works fine as long as the filter in on the page but when I try to move it to a block (Exposed form in block) it's not passing the Great-Circle variable contextually. This is causing my results to be inaccurate.
The URL is: http://themonger.com/geolocation/?q=locator
Any help is greatly appreciated!
Indented Grouping
I was recently asked if I could create a list of products on our website. My catch is that a few of the products require the install of another product. So I need to indent the products that depend on another product.
Something like this:
<Product 1 Title>
<Product 1 Description>
<Product 2 Title>
<Product 2 Description>
<Product 3 Title>
<Product 3 Description>
<Product 4 Title>
<Product 4 Description>
<Product 5 Title>
<Product 5 Description>Views - Como hacer que un conjunto de registros sean una fila en views?
Que tal compañeros, les comento que he estado observando y leyendo el API de Views 3 para Drupal 7.x y me he perdido XD. A continuación describo mi problema esperando me ayude:
He creado un tipo de contenido llamado Fotografía al cual le he adjuntado ciertos campos entre ellos un campo de tipo taxonomía cuyo nombre de vocabulario es categoría. Por medio del API de las Views deseo obtener el siguiente resultado:
<
div id="gallery">
<
div id="categoria-1" data-xxx="info">
...
Read moreWhat is the best way to load 100s of views programatically? Can Drupal scale this large?
I have written a module that writes views programmatically, and my mymodule.views_default.inc file is enormous. Currently there are 150 individual views, and 780 will be the target (this is the initial target).
But, even with the test group of 150 several things are happening.
1) when enabling the module via drush, php memory usage goes through the roof. It climbs into the gigs (TOP command), but it finally loads.
Read moreSearch API, Views and Services API
I am trying to use search API with the REST API provided with services. I have a view(as described below), a search index which indexes nodes, and a service endpoint. When i use the browser to directly access the view, the results are correct, but when I send a get request to the rest endpoint, I get something like
[
{
"price": null,
"description": null,
"title": "",
"image_url": "",
"company": "",
"hot_deal": null,
"nid": "0",
"name": "",
"uid": "0",
"html": null
}
]
The view:
$view = new view();
$view->name = 'search_products';
Thắc mắc về modul Views
Mình là thành viên mới. Mong mọi người chỉ bảo chút :)
Mình cài drupal và đang thực hành với module Víews
Mình có tạo các bài viết liên quan với tên views là Xem-chi-tiet
video mẫu http://www.youtube.com/watch?v=zFCSFTmM-D0
thế nhưng các bài viết liên quan chỉ hiển thị khi đường dẫn là site.com/drupal/xem-chi-tiet/.....( các số thứ tự bài viết 1 2 3..)
Còn khi theo đường dẫn mặc định site.com/drupal/node/.... thì các bài viết liên quan không hiện ra
Để khắc phục tình trạng này thế nào đc. mọi nguwoif giúp mình với.
Views cluster
A module to group multiple views so you can call something like views_embed_views_group('group') in a theme, assuming the display id would be block as you could only output multiple blocks and not pages. It would also have integration with panels to add a views group to a panel. A views group would allow for easier site workflow where views will be added and removed automatically and dynamically.




