Hi, I’m kind of in a jam with a website I’m trying to create for use in a technical department which will server as a information database for the repair engineers to find information about products they are working on. This will include testing procedures, product configuration pages, customer specific information per product, software ...
i need to save the selected node ids when i use views bulk operations...
how is that possible....
...
In Drupal I am working with a view that takes a couple of arguments; the nid argument is just passes along to the next page, but the other three arguments it uses to retrieve content. The problem seems to be that the view uses all arguments to retrieve content, which obviously doesn't work since the presence of nid will always return one...
So I am using views to get content based on a couple of arguments. These arguments are mapped to text, taxonomy and what not. The problem is that views ignores filtering the content list based on the arguments, which means that my filters have their default values (often none or all).
...
A follow-up to my previous question. I have a view (a page, not block) that gets fours arguments as part of the url, e.g. foo/bar/baz/arg1/arg2/arg3/arg4 where arg1 is nid and arg2-arg4 are text/taxonomy fields. The path of the page looks like this: foo/bar/baz/%/%/%/%`.
Per my previously asked question, I've been able to prevent the ni...
I want to be able to get Sinatra views from sub-directories of ./views (such as ./views/admin). I know you can set the views like so:
set :views, Proc.new { File.join(root, "templates") }
But how would I be able to set this for only part of the file?
...
I have a flash file which calls a url like: http://test.com/savethis/123456/
I just want my view to save "123456" in the database and return nothing.
After saving the values what do I do? If I redirect it it changes the page and that's bad. I could render a page, but I don't want to. I just want it to end and not throw any errors.
...
Hey,
I have a drupal site I'm working on here: selkirk.treethink.net
I have CCK and Views modules installed, so on the frontend you see the Request Work page created using CCK. On the backend admins and students can view all the work post through that form with the Views module.
I need to add a checkbox that the person submitting the...
This is a follow-up question to this question.
It's a nice solution to sharing common Views across many projects using source control. However I have a couple of questions, specific to Subversion I think.
Subversion Externals allows you to include a folder from a separate repository in your working copy, so you could define an "Externa...
Traversing a nested LINQ query in of anonymous objects in C# view via ASP.NET MVC
Hi, done a lot of searching and reading but still require some specific information.
I have the following code:
List<DateTime> range = getRangeCollection();
var range = (
from years in rangeData
group years by ye...
Hi,
Each node have CCK-3-dev multigroup with 3 fields. Can I use one of fields as table header? Values of this field are taken from Taxonomy.
With a simple recipe example, where food Z and Y are 2 nodes with recipes and each node has multigroup with ingredient name (milk, fish), amount (numbers) and unit (g, kg).
Is there a way to cre...
I'm using memcached with the page max set to 15 minutes. Does this mean that views cache is pointless? If I have a 5 minute views cache, it would be meanginless because the page itself wouldn't update for 15 minutes, is that how it goes?
Thanks.
...
As a Rails NOOB, I started with a routes.rb of:
ActionController::Routing::Routes.draw do |map|
map.resources :events
map.connect 'affiliates/list', :controller => "affiliates", :action => "list"
map.connect 'affiliates/regenerate_thumb/:id', :controller => "affiliates", :action => "regenerate_thumb"
map.connect 'affiliates/st...
Hay guys, in PHP when i want to load a differnet page (render, with all variables outputting) i would use
include 'mypage.php'
This would load the page up and render the output.
How do i do something like this in Django? My problem is that i have a "quick list" which lists a bunch of popular items. I want this list to appear on every...
Hey Drupalites,
So, Ive been making websites in Drupal for over 2 years now, but I'm profoundly stuck using Drupal Views module and paginating a page display. Basically I'm picking up a bunch of articles, sorting them by their date published and am limiting it to only 10 items per page, but I dont see a "More Link" and I have never trie...
I have a table of data that gets update once a week. I then have a query that process this data and essentially returns a list of codes and the amount of hours booked to those codes. This query is reasonably complicated and takes about 5 seconds to run.
This data needs to be used by a lot of other query's in the DB, so I want to put it ...
Warning: Noob here.
I know this is a trivial subject but I'm having a lot of difficulty in figuring out how exactly I can simplify my views by moving parts of them into helpers. For example, I've always read that conditionals in your views are prime candidates for extraction into helpers, but I couldn't really find examples of this, and...
My app has these models:
patient, which has one patient_info, which has one history and has many exams.... I want to create a Report view where I show all this data.. right now Im creating the view and its turning out to be ugly and long.. is there a way I could create separate views for each of this things and then just render them in ...
If i have a view that generates multiple columns:
CREATE VIEW dbo.foo AS
SELECT
id,
SUM(SELECT [...] ) AS c1,
STDEV(SELECT [...] ) AS c2,
AVG(SELECT [...] ) AS c3,
MIN(SELECT [...] ) AS c4,
MAX(SELECT [...] ) AS c5,
SUM(SELECT [...] ) AS c6,
[...]
COUNT(SELECT [...] ) AS cN,
FROM Table
GROUP BY id
...
In ASP.Net MVC I would like to render a different partial view depending on the renderview query string parameter.
Therefore providing the facility for the user to choose to view products by thumbnail or by details.
I have access to the chosen parameter in the controller but I do not know how to or, if I should be passing this to the v...