can somebody help me how to customize the search result of a apache solr search. i was only able to access these variables [comment_count] => [created] => [id] => [name] => [nid] => [title] => [type] => [uid] => [url] => [score] => [body].
how can i access other variable like status, vote .... from the index ( i don't want to access the...
Drupal has a very well-architected, jQuery-based autocomplete.js. Usually, you don't have to bother with it, since it's configuration and execution is handled by the Drupal form API.
Now, I need a way to reconfigure it at runtime (with JavaScript, that is). I have a standard drop down select box with a text field next to it, and dependi...
I'm running Drupal 6.12 and I've installed the CCK, ImageField, FileField and ImageCache modules. I've create a new content type called 'Photo' and then click on 'Manage Fields', so that I can add an ImageField to this content type.
When I do this, ImageField isn't in the drop-down list. I've searched around and other people don't see...
Is there any solutions in Drupal 6 to split query READ to Slave and WRITE to Master ?
...
Hi, I would like to know how I should deploy a Drupal site when I'm using three servers?
Is it possible to deploy it with a Drupal module or something? If it is, how does that work?
Thanks.
update: I would like to know about the deployment of files and the configuration of the servers.
...
I have successfully installed the iPaper module from Scribd.com. But I could not upload files. What's happening is that the "attachment" is being uploaded to my webserver but it wouldn't go to scribd.com. Any tips on what to look for?
...
I have a content type called fund.
The contents of this is in node-fund.tpl.php which is inside of page.tpl.php
I have a requirement to recreate the content of fund but without page.tpl.php
So to be clear, i need to have 2 pages
1) fund inside page template
2) the fund data but completely reformatted. The plans is to create pages th...
I need taxonomy/term/% to look like tis
User Name, Second Name, latest user's node title in this term + link to it;
User Name, Second Name, latest user's node title in this term + link to it;
User Name, Second Name, latest user's node title in this term + link to it;
...
Is it possible and how to do this using "Views 2"?
Thank you :...
I'm writing an in-house module to generate a small LaTeX PDF. Within the module, how do I use PHP to utilize the command line?
...
I have a Drupal 6 site with a view that has a page and a feed display. Both the page and the feed work great. The view just shows content type Story in reverse chronological order- basic blog listing page.
While the RSS look good, the page display doesn't include the tag in the header for auto-discovery. I've outputting $head in my pag...
I'm wanting to get the filepath ie "/sites/default/files/myfile.pdf" for my file uploads.
I'm using the below
$row['node_data_field_factsheet_field_factsheet_data']
this returns "a:1:{s:11:"description";s:0:"";}"
How do i get the actual path?
here is my sql statement.
SELECT node.nid AS nid,
node_data_field_factsheet.field_factshee...
Hi,
I m migrating my existing drupal site from one server to another . I have imported the db , copied the files and changed the settings in the settings.php file. However each time I try to run the update.php script or install.php script .. instead of showing some drupal screen the file ends up getting downloaded. Could any one please...
Does Drupal parse (and/or run) hooks that are unrelated to the content being loaded by the current user?
For example, say I had a module foo installed and active with the following hooks:
<?php
// .. stuff ...
function foo_menu() {
$items = array();
$items['foo/show'] = array(
'title' => t('Foo!'),
'pa...
Anyone knows how to solve the error below ?
Deprecated: Function ereg() is deprecated in C:\wamp\www\includes\file.inc on line 895
It is happening after installing Drupal 6.13 on wamp server 2.0i with PHP 5.3.0
...
I'm using Wampserver 2.0i with php 5.3.0 to install Drupal 6.13. During the installation I'm receiving the message below during the "Set up database" phase
Operations on Unicode strings are emulated on a best-effort basis. Install the PHP mbstring extension for improved Unicode support. (Currently using Unicode library Standard PHP)
...
Hi,
How do I change an exposed views filter in Drupal 6 to checkboxes instead of the default multi select?
Thanks,
...
I need to create a view that lists out taxonomy terms and then list the top 3 recent(sort by node:date updated) nodes with that tag
example out put:
Article
Article 1
Article 2
Article 3
Podcast
Podcast 1
Podcast 2
Podcast 3
.
.
.
I created a view of type "Term" and I can get the view to output all of the terms. However, I don...
Apologies for the awkward wording in this question; I'm still trying to wrap my head around the beast that is Drupal and haven't quite gotten the vocabulary down yet.
I'm looking to access all rows in a view as an array (so I can apply some array sorting and grouping functions before display) in a display output? The best I can tell, yo...
I have a list of Staff Members in Drupal6.
I need to style a node such that the email field of a staff member displays as "Contact [First word of Full Name field]". Clicking it causes a mailto:// link to open. BTW, I know that's not a recommended procedure because a contact form or a captcha would be more effective, but my client desire...
Whats the simplest way to update the paths of the images after migrating the website from local machine to a live server. Most of the times I end up updating the paths manually. I m convinced that there must be a simpler way which i m missing out on.
Kindly suggest.
...