I'm doing a simple for loop through the terms in a given vocabulary, these terms have their description in both the default language and an additional. The thing is that $term->description is always returning the default language version no matter which language is active so I guess I'm missing something here since I guessed (appparently...
I have just downloaded and installed the 'facebook status' module and 'user feedback' module both of which provide a block for display as follows:
1)facebook status module provides a block for display of facebook status messages
2)user feedback module provides a block for feedback (of the site) from users.
But when I listed the 'Blocks'...
I need help with my MySQL query:
CREATE OR REPLACE
DEFINER = CURRENT_USER
VIEW users_phpscheduleit
AS
SELECT
u.uid AS memberid,
pass AS password,
mail AS email,
pv1.value AS fname,
pv2.value AS lname,
pv3.value AS phone,
e_add, e_mod, e_de...
I am using Drupal 6.16 with a number of modules installed. I was trying to find out if there is a way to change the output of a node when a different file extension is added to the url. For example:
http://example.com/drupal?q=foo/bar - returns a normal drupal node
http://example.com/drupal?q=foo/bar.xml - returns xml output of the node...
In reviewing Drupal layout modules, I'm left with the impression that while many exist for formatting existing content (e.g. Panels, Views and Display Suite), there are very few (if any) that focus on changing the layout of content-submission forms - and therefore there's no alternative but modifying the associated templates themselves. ...
Hi,
I'm on a critical situation. I have a website with a lot of content (500+ nodes). However, all of the sudden, URL aliases stopped working. I get page cannot be found even nodes exist. I tried editing an existing node with a different alias to see if the module worked and it didn't.
However, if I disable the Pathauto module and ju...
Is there away to get ImageCache to use a default image? Or using htaccess to provide a default image to imagecache to process? Some of our clients sites are >4GB's and it's very painful dealing with all of their images that we don't need for development. I've tried using htaccess but ImageCache does not process the file and just ends up ...
Hi
I have a website that has the functionality of dynamically loading the images. My website is getting slowed down if there are too many images (jpeg files).
How can I deal with such images ?
The website is built in Drupal.
-VJ
...
How special characters in username converted to user path (users/username). i'm asking because when i use . in user name its removed in user path.
for ex: stefan.z path will be users/stefanz
...
I have a Matrix Table in a content type on Drupal CCK.
That content type also has 5 Node References,
I want the headers to be the node references (link to it)
I tried adding a JS file that would change the headers automatically
But it doesn't submit them, is there an already built solution to this
or just some other way?
The thir...
Are there any reasons I should not create a final class with static methods to avoid that some internal functions are called?
final class ModuleGlobalFunctions {
static public function generateWord {
$result = '';
while (strlen($result) < 12) {
$result = self::generateSyllable();
}
return $result
}
static ...
Is there anyway I can customize the paths to a node's tabs?
When using either pathauto or hook_menu_alter, I can change the path to the node view to from node/node_id to, well pretty much anything, but let's say xyz/node_title.
The node tabs, however, still stay with the path /node/node_id/tab_name
I'm trying to add a custom tab to th...
Is it possible to detect the hostname used in java (even through a cname)?
I am looking for something similar to this:
http://api.drupal.org/api/function/conf_path/6
In that code, drupal checks to see what domain name is accessing it in order to load the correct configuration (multi-site). If the domain doesn't match any configurations...
Hi friends,
I'm a drupal newbie...
I have created a block with View Module to list events (title, event date) at homepage. dates are being entered into textbox and such format as below;
December 5-7, 2010
December 4-6, 2011
July 17-19, 2011
...
When I set Sort Criteria as date, it just mess :/ it doesn't sort chron...
I'd like to set up a configuration page for my Drupal module that contains a dropdown where the user selects one of the available views. Is there an easy way to obtain a list of all available views on the system? All I need is an array of all the views' names.
...
Hello,
I'm working on creating a custom homepage in Drupal. What would be the best way to accomplish this? I was thinking on creating a custom content type called "homepage" and just edit it when needed. However, I don't know if this is really recommended or not.
Thanks.
...
Hello, I just wanna ask how one could support a chat function for drupal 6? I created a new drupal website and I need to add a chat functionality to it. I have, however, tried to download and enable drupal's Chat Room module but I can't seem to make it run (or i dunno how to access it, lol). SO if it is possible, can someone please? show...
Uploading images etc are fine.
But when it comes to removing an image the following ajax error comes up:
An HTTP error 500 occurred.
/filefield/ahah/news/field_images/0
This results in users now not being able to modify images on news articles.
Help!
...
Okay so I have managed to install Drupal's Chat Room Module and also got it to working fine. By fine, I mean i can post messages in the chatroom, i can create chatroom, and invite people as well. However, let's say User A posts a message in the chatroom where Users B and C are also present, the two latter users (B and C) cannot see the m...
I have this page I want to link to my drupal site. The page contains a chatroom I customized. However, since I'm still new to drupal, I don't know how to link it.
I tried creating a primary that linked my page to drupal and it did work but when I tried to print (in php) the "$user->name", there came an error since it cannot recognize t...