Hey there. I'm trying to take the results of a view - using the function views_get_view_result() - and sort the array in a way I couldn't do from within the Views interface. So far so good. I've got a $rows variable with all of the stuff I need.
Now... How do I put it back? :) Before I needed this sort, I used views_embed_view(), but I ...
Hi,
In my code, I create some tabs using MENU_LOCAL_TASK.
Sometimes for some unknown reasons, the tabs disappears for some users.
I have the similar codes from other Drupal or contributed modules.
The only remedy that I can do is to truncate all cache tables and do menu_rebuild().
Can anyone help me?
Thanks.
...
We're building a multi-language Drupal stack and one of the concerns we have is that our payment processor is going to have to send back some information to us. We've been able to narrow this down so that the strings they're sending back look like
<country code>-<number of months>
so we can easily translate that into any number of lang...
Client is requesting a single track to be heard across the website. Generally I advise against it, but they insist. So, what is the most straightforward way of having a flash player embedded in a site, and when a user goes to another page there isn't a gap/interruption?
I am thinking an iframe is required.. I am using a flash player tha...
When you create content on Drupal, the header at the top says "Create ". On certain content-types I don't want it to say that. Is there a way to customize that header on certain content-types and keep it as-is on others?
thanks.
...
I have a submenu that has all items linked to the same node, but with different additional parameters, for ex:
...
<li...><a href = "/?q=page1&filter=10" class = "... active">Item1</a></li>
<li...><a href = "/?q=page1&filter=11" class = "... active">Item2</a></li>
...
in this case all items have class 'active' and none of them has cla...
Currently I have a custom module with hook_menu for path 'search'. It's working just fine. However, it couldn't process the request when I access /search?q=something.
How do I do this? I'm using Drupal 6 btw.
Thanks
...
Hi Guys,
how can I show users success/error messages without creating a node for it?
Thanks in advance!
...
Hi all,
I have a report page that deals with ~700k records from a database table. I can display this on a webpage using paging to break up the results. However, my export to PDF/CSV functions rely on processing the entire data set at once and I'm hitting my 256MB memory limit at around 250k rows.
I don't feel comfortable increasing the...
hi.
I create a custom import and export, at the moment as an external script (via bootstrap), i plan to create a module in a more generic fashion lateron.
I am building a frontend for nagios and for our host management and nagios configuration btw. Maybe it might become useful for other environments (networkmanagement)
Now i need to ...
I have a text block with an image floated left. The images can be of variable width. If the image is say greater than 2/3 the width of the block I want the text to drop down below the image but if not I want it beside the image.
All of this is in Drupal if that matters.
...
I currently use the statistics module (core) on my Drupal 6 install. This increments a count in the {node_counter} table every time the node is viewed, and this works.
My question is - can I programmatically increment this counter as well? I am looking to achieve this when users interact with content created from views (say click a ligh...
I've got Drupal working on a shared host, and I uploaded some modules from my home system successfully, but I've got the message that there is a security update for my version, and I should update immediately.
I'm not sure how I'm supposed to do that. It seems like the update is an entire new installation. I originally installed it us...
I quite often use Drupal's Views Module to build SQL that I paste into my code. It understands the Drupal database schema quite well.
Is there a module that would give me this functionality or can I factor this out of Views?
...
i found some modules for feed parsing(aggregator,feeds,feedapi). i am confusing to choose right one. i need to filter and classify the feeds. can any one guide me
...
Hi,
I've installed the composite layout module and I created a view with a list of 'testomonials'(just a simple list of title and excerpt).
On my front page, I have been able to include a couple of other nodes within that page and a couple of blocks (e.g. within then same composite layout). However, I want to also include the list v...
hi,
Drupal cannot create the "files" folder. I tried to upload a php script with mkdir("files",774) but I get a permissions error, so basically any php script is not able to create a folder on the server...
What do you suggest ? If I create the folder manually from ftp client and I assign 777 permission everything works perfectly, but ...
Hi friends,
after using own custom cms for over 6 years, I decided to go for Drupal from now on. I will use Drupal for all my works. I'm pretty new at Drupal, started just 2 days ago :D
just a simple question;
I have a simple xhtml-css site (5 pages), and client is asking cms for gallery page (xhtml for now). so is it possible to make...
I have module that implements custom content type via NodeAPI hooks (hook_insert, hook_update etc). I want to add CCK field to this content type and populate it via hook_nodeapi calls like create or update (to show content nodes in Views).
Problem is, I cannot access CCK fields for this content type. Sure, it's enabled on "Manage Fields...
Hi,
My localhost performance with drupal six is pretty slow. I found a solution to add a # before the :: localhost line of the system32/etc/hosts file but this was something I had already done and didn't help much.
does anyone know of any other optimisations that might work?
tHanks
Andy
...