one false move....blankness

i seem to be getting quite a lot of blank screens when using 4.7 now. the last thing i attempted, was to take a php snippet from a block in my 4.6 site and place it in the header of my 4.7 site...bam! a blank page for all areas of the site.

heres what i placed in a block in the header region:

//Default Value for Select
$t_description[] = 'Jump To Company';
//Get Taxonomy Terms in Vocab State
$result = db_query("SELECT term_data.description, term_data.tid FROM term_data WHERE term_data.vid=10 ORDER BY description");
//Populate array with descriptions and links. The key of the array will be our URL.
while ($term = db_fetch_object($result)) {
  $t_description['http://www.mywebsite.com/taxonomy/term/'.$term->description] = $term->description;
}
//Build the select list using Drupal's 'form_select' function.
$category_select = form_select('', 'category', '', $t_description, $description = NULL, 'on Change="top.location.href=document.getElementById(\'edit-category\').options[document.getElementById(\'edit-category\').selectedIndex].value"', $multiple = FALSE, $required = FALSE);
//Give our subsequent form a name we can grab with the Javascript
$form_attributes[description] = 'state_jump';
//Build our form with Drupal's 'form' function.
return form($category_select, $method = 'get', '', $form_attributes);

now i cant seem to access any areas of the site and have no idea what pages i would remove this code from. any help here?

Is there a faq module? Or Support ticket Module?

I run a computer store and we are currently rebuilding our web page with drupal as the backend which I must say has its quirks but is still delightfull to work with. We just built a new theme and have it all working within drupal.. The admin forms resize all funny but the users side is perfect.

I would like some sort of support ticket system but I have my site setup so users do not have to register and I'd like to keep it that way. These support tickets would also have to be public and searchable..

Asked and answered: altering autocomplete forms with javascript after they're rendered

[This took me a while to figure out, so I'm offering it as a tip for future reference. If someone has any suggestions to alter this node title to make it more findable in search, please suggest away and I'll edit it.]

Scenario:

Let's take the one I'm working on as our example because it's easier to explain. http://dev.vocalvoter.com

I have a search form which looks up street addresses for anywhere in the country. In order to help get a perfect DB match, the 'street' field autocompletes.

However, as we add more and more counties to the database, especially in a country like Ireland, the autocomplete results get progressively less useful. For example, you may find a 'St Patrick's Street' in almost every medium-sized town in Ireland, but you probably won't find more than ten in any given county.

So I altered the autocomplete handler. It takes a first argument - the numeric ID of a county - and now returns only search queries from within that area.

Altering the form with Javascript

Next we change the output of the form_api renderer. I add a <select> box containing the names and IDs of the counties (which are held in an array called $counties), and attach an onChange attribute to the field. That onChange alters the value of the hidden field called 'edit-search-autocomplete', which holds the autocomplete URL path for this form. Critically, I need to refer to both these fields by new JS variables, because Drupal's form element IDs contain dashes and in javascript that's problematic because it's a 'minus' operator. Adding the Javascript handler looks like this:

background body picture is not displayed correctly in explorer

theme pushbutton
4,7 drupal

here is my site http://www.renoseowebdesign.com/music

in interenet explorer the burning guitar at the right is showing at the top of the page and when i scroll down it dissapears

why does it show at the top of the page - in firefox that is not happening

can somoone tell me why

i set the background as body because i wanted to be alignned totally to the right botoom corner with no spacing from the edge

here is the code

using Acidfree in 4.7b4?

I'm not sure how I should be installing and using acidfree 4.7 with the drupal 4.7 beta 4. acidfree require filemanager module and it requires attachment module. However, the 4.7 versions of those 2 modules aren't posted yet.

How should I be approaching this for test purposes? I'm just wanting to experiment with 4.7 and test the same modules I use on my real site and report any errors I see.

Jim A

Which CVS version am I running?

Hello,

When you're discussing bugs about code coming from the CVS version of Drupal or a module, it's useful to know which CVS version you're speaking of. But where do you find the information?

For example, the index.php file in drupal-cvs.tar.gz contains a line like:

// $Id: index.php,v 1.90 2006/01/27 18:51:51 dries Exp $

But I think that's the version number for this file only, not for the whole Drupal CVS package.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 4.7.x