Owen's Issue posts
Length of file name in views field
I've built a simple view with one of the fields being the "File:Attached File"
When viewing the view, the full file name does not appear, even though there is ample space in the td.
Have not been able to track down the code or css that limits the text length of the title.
Thanks for any assistance...
color for priority
love the idea - to differentiate based on priority using the color of the pin. but red/orange are not far enough apart in this use to differentiate .... and orange/green is a common form of color blindness. perhaps supplement the priority with a numeric 1-x and include that on the lower left of the note. as far as color, might I suggest for a 3 tier color rank consider the following:
(1) high = red
(2) normal = yellow/green
(3) low = blue
where yellow/green is a yellow/green combination color. yellow is preferred from a color scale perspective but green makes "sense" to an average user for normal ... but the standard 'green' is not far enough from blue. therefore, a combination yellow-ish-green should suit well.
Provide default CSS stylesheet
Menus are displayed vertically instead of horizontally in some themes like Garland. The module should include default CSS properties so that menus are displayed correctly without needing to tweak the CSS.
ERROR: for SELECT DISTINCT, ORDER BY expressions must appear in select list
Same problem as described in http://drupal.org/node/742006 I guess. Fields used in a query ORDER BY clause aren't listed in the SELECT one, so PostgreSQL doesn't like it. This problem isn't viewable when using MySQL as DBMS.
PostgreSQL version: 8.3
OS: Debian squeeze/sid
PHP: 5.3.1-5
Apache: 2.2.14-7
Error description:
# warning: pg_query(): Query failed: ERROR: for SELECT DISTINCT, ORDER BY expressions must appear in select list in /var/www/drupal-6.16/includes/database.pgsql.inc on line 139.
# user warning: query: SELECT DISTINCT n.nid FROM drupal_node n INNER JOIN drupal_term_node tn ON n.nid = tn.nid WHERE tn.tid IN (7) AND n.type = 'image' AND n.status = 1 ORDER BY n.sticky DESC, n.created DESC in /var/www/drupal-6.16/sites/all/modules/image/contrib/image_gallery/image_gallery.pages.inc on line 48.
delete and edit activities
I can't edit or delete activities... clicking the edit link just redirects me to the activities overview. In other words: /admin/settings/time_tracker/activity/edit doesn't do anything. I'm logged in as admin (user 1). I'm using open atrium distribution.
New Module - Access Denied
I am trying to create my own first module, which is a custom form. I have been following some tutorials. I realize that this is not finished, but a form should be displayed when I go /orderonline. Instead I get an "Access Denied" message even when I am superuser. What am I doing wrong?
Thanks,
David
atfr_order.info
; $Id: atfr_order.info,v 1.4 2007/06/08 05:50:57 dries Exp $
name = AT Fundraising Order Module
description = A custom order module for AT Fundraising website
package = Other
version = VERSION
core = 6.x
; Information added by drupal.org packaging script on 2010-03-04
version = "6.16"
project = "drupal"
datestamp = "1267662010"
atfr_order.module
<?php
// $Id: atfr_order.module, v. 1.0 2010/03/13
/**
* Implementation of hook_help().
*/
function atfr_order_help ($path, $arg) {
switch ($path) {
case 'admin/help#atfr_order':
$output = '
'. t('This is the help module for the AT Fundraising Order Module. More to come!') .'
Invalid argument supplied for foreach()
I'm getting the following error message
"warning: Invalid argument supplied for foreach() in .../sites/all/modules/tablefield/tablefield.module on line 95."
when I publish/unpublish a node that has a tablefield in it (from the Administer › Content management > Content page). The tablefield in that node then becomes empty.
Thanks for your help!
Cache file system scan in ctools_plugin_load_includes()
ctools_plugin_load_includes() calls drupal_system_listing() that walks through the file system looking for .inc files in every request. This is an expensive operation, and on complex sites this may take a long time (I have measured ~ 20% of the page execution time - with Panels 2, though, but the logic seems similar in Panels 3 + Ctools).
System files do not appear or disappear between requests, so it should be safe to cache these using cache_get()/cache_set().
This patch does this. It is based on a similar patch for Panels 2 that reduces the running time of panels_load_includes() (the predecessor of ctools_plugin_load_includes()) from ~20% to ~2% of the page execution time.
Ahah 500 error
Hi, I need some support, not able to understand the following problem:
Every time I try to select type of Ad, the message http ahah 500 error appears, and I'm not able to proceed with creation of the ads.
Tnx
Disappearing Editor
Hello,
I have a site (http://mso.cdham.org) where a user is creating links and links to documents in a wiki style site. When they have a link to a node that opens in a new window, and they attempt to edit that page, the editor disappears and they are left with only text.
Please advise fix or work around.
in firefox, when opening the error log after attempting to edit the content in the new window, there is an window.opener.$ is not a function error.
Module doesn't work since last week
AEMET has changed again their url to get the weather data. This week if you want to look for the weather info of Jijona, for example, you need to use http://www.aemet.es/es/eltiempo/prediccion/localidades/jijona-xixona-03410 instead of http://www.aemet.es/es/eltiempo/prediccion/localidades/Jijona-Xxixona-03410
I need to change this programatically.
Please, the weather_es module needs more mantainers because AEMET is constantly changing things since I developed the module.
"Possible: *" field
Fresh Drupal 6, Classroom module, only one choice for "Classrom".
I create 3 nodetypes: assignment, resource, course and configure Story as a Response.
I can create an assignment both as by default node creation method ('node/add/assignment') and by click on course in the sources block, then 'Assignments' tab and then click on link below the "Add assignment:" label.
I see than first method is wrong - no "Assignment" collapsible block, by the way.
Ok, second method, try to fulfill the "Asiignment" block.
I see the "Possible: *" field, what the goal/sense of this field? I can't guess this.
ttt log warning
Hi
i've this in my log about un webform block on any of my forms ( 3 at all)...whats about ? is it linked with the wrong redirect patch issue on my forms ?
thanks
Feeds, Simplepie and GoogleBase Custom Namespaces
I used the information from...
To write a small custom module that provides a custom parser using Simplepie. I modified the code to look like the code below.
The code was taken from the examples from The developer's guide to Feeds.
Everything seems to work fine since I can see my Custom Parser under the Feeds UI and it also displays the custom elements under the mapping section.
But when I for example map one of the custom fields/elements to the Title or Body for example the data seems to be empty.
Am I being daft here? My skills as a coder is mediocre at best...
<?php
/**
* A simple parser that extends FeedsSimplePieParser by adding support for a
* couple of Custom Namespace tags.
*/
class MyParser extends FeedsSimplePieParser {
/**
* Add the extra mapping sources provided by this parser.
*/
public function getMappingSources() {
return parent::getMappingSources() + array(
'g_zoning' => array(
'name' => t('g:zoning'),
'description' => t('Zoning.'),
),
'g_id' => array(
'name' => t('g:id'),
'description' => t('ID'),
),
'c_property_id' => array(
'name' => t('c:property_id'),
'description' => t('Property ID.'),
),
);
}
/**
* Parse the extra mapping sources provided by this parser.
*/
Let admin set defacult action for accessibility tab
Let a site admin change which feature is used (list vs. highlighted view) as the default for the accessibility tab. This would probably require assigning the default via a variable in the menu system and thus require a rebuild if this changes, so there should be a warning in the admin form that if it changes the menus will be rebuilt.
This would also mean you would have /node/%/accessibility - which would be the default, and then one path for both the highlighted and list views.
Returned bad number of results on search nodes with CCK fields
System configuration:
Drupal 6, Ubercart 2, CCK and Finder (from Feb 2010)
When using Finder Views for finding nodes(products) containg some text in fields defined via CCK modules, I get only one result where should be more results.
Quick fix workaround is to set the number of results to a big number like 100 and the it displays more items in search results.
I tried to find out with Devel module what's going on with DB queries when searching and found, that there is no SQL distinct selection in some SQL queries and it returns the node several times in the temporary results serving as an input to other queries.
I would like to debug more and then send a patch, that will fix the issue. I would like to help and actively participate. I will try to bring the fix on this issue by the end of April.
anonymous user can't see Friend list of a user profile
Hello everybody,
i am making a sosial networking site in drupal 6.x.
and when i want to see a user profile without logged-in (as a anonymous user) than i can't able to see the side block of users friends, fans, etc.
please see this link.
http://www.truelogictechnology.com/vkora/?q=user/1
and when i logged in, than its works well, i have see all permissions and settings.
please use this account
username = amir
password = testamir
any experts help will be appreciated.
please help me.
Thanks
Regards
Royal_Jat
Displaying recent comments and Login/Register link for Anonymous users
Hi,
first of all thank you a million times for this module!
I have installed it and would like to have recent comments displayed when viewing a node. For example, when I view 'story' content type, there would be a discuss link at the bottom. When there are e.g. 15 comments on that story, there would be 5 comments displayed under the text and in order to see all of the comments, the user would have to click a link.
I thought that the option "Number of comments to display:" on the settings page deals with this, but it seems to have no effect no matter what I choose.
Also, the option "Login/Register link for Anonymous users" didn't work for me. There are no links displayed for anonymous users, although permissions are set correctly.
Product location in customer invoice
Hi,
I’m currently using ubercart 2 and need to print the locations of the products in the customer invoice. I’m using the location module to collect the location info and am already printing it in my node-product.tpl.php as:
Street:
<?php
print $location['street'];
?>
But this won’t work for the customer invoices, as it doesn’t collect the node id. Can anyone offer nay help please?
Hope you’re well and taking care of yourself,
Evelyn
Views integration
as per title and...
saurabh.bhambry in http://drupal.org/node/430212#comment-2718202 :
... It would be great if Fancybox integrates with Views like Lightbox does.
bas.hr in http://drupal.org/node/430212#comment-2718300 :
Il take a look at Views integration, please open new task.












