Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
The most basic form of content on a Drupal site is a node.
2
votes
Accepted
Table of dynamic and static content?
Low level way is to use hook_query_alter - with it, you can add UNION with anything.
More direct Views way is hook_views_post_execute:
This hook is called right after the execute process. The query h …
1
vote
Delete 13000 nodes
Use Views Bulk Operations - it was a good idea. But instead of calling operation directly, use batch api. Here you can read shor article about it. Lack of documentation on that part was a known proble …
1
vote
How can I track statistics on my site's user population?
If you don't mind some SQL work, Forena might be a module for you. Without all that neat and nice features like report skins (a kind of templating) - which might be unneeded in your case - it's much l …
2
votes
Accepted
When to use taxonomy vs content type?
If all nodes we are talking about perform the same function in the system and are supposed to have the same fields, keep them categorised by taxonomy. …
0
votes
Generating Content Type at once
There is none, and there probably will not be one. Drupal is modularised, pluggable system. Each and every module can provide it's own field types, validators, widgets. They have custom settings defin …
1
vote
Accepted
Create link with node id parameter
You do not need a link field for that. You can generate link at theme level for example. Or even better in hook_node_view:
The module may add elements to $node->content prior to rendering. This ho …
1
vote
Making a variable in a certain node type and access that variable in another node type
What you are looking for is, basically, Entity Reference, as mentioned by Jimajamma and Bala:
Provides a field type that can reference arbitrary entities
Just add entity reference field to news …
2
votes
Accepted
Can't show gist code in Drupal blog
Go to Home > Administration > Configuration > Content authoring > Text formats. Click Configure next to text format you are using for blog posts, probably Filtered HTML. On the Enabled filters list, c …
2
votes
How to override node clone to its parents node?
D6's "administer nodes" permission) to implement this. …
1
vote
Ideas for Realistic Sample Content for Demo Site
Also, good old Devel module has a Generate submodule with it's own lorem ipsum style generator:
Accelerate development of your site or module by quickly generating nodes, comments, terms, users, and …
3
votes
Accepted
Disabled messages still showing
It should be:
Proposal .* has been updated
and not
Proposal *. has been updated
What you want is
Proposal, space, any number of any characters, space, ...
But what you wrote is:
Proposal, …
4
votes
Copy content of one node into different content type
You may be interested in Node Convert module:
Node Convert adds a menu tab "Convert" on the node view page, i.e. node/1/convert, which gives the ability to convert the node from its current node t …
2
votes
Counter is always set to 1 and not incrementing
The problem is that you failed to grasp how HTTP is basically stateless.
static $counter = 0;
This value will be kept during one run. But one run is one page load. Obviously, it will be fresh and n …
2
votes
Accepted
Node export module imported node as another node numbers
I believe that updating existing nodes is a case where it would be recommended approach. …
3
votes
Accepted
Save Node Title By database query
If you want to bypass just one functionality, you need to go thorough all your modules, see what they are doing on node_save() and emulate it with your queries. Most common thing people forget is to u …