Quantcast
Channel: User anschauung - Stack Overflow
Browsing latest articles
Browse All 40 View Live
↧

Comment by anschauung on hook_schema() not getting uninstalled when module is...

Or, you could just call module_invoke('yourmodule', 'uninstall') inside of hook_disable. This will make disabling equivalent to uninstalling for that particular module. But, you're not going to do that...

View Article


Comment by anschauung on Drupal Views: Render Null Result for Relationship as 0

I edited my response with some links and recommendations -- good luck!

View Article

Comment by anschauung on Drupal 6 nodes not appearing in content list after...

What happens when you create a new node of that content type?

View Article

Comment by anschauung on Drupal (6.19) cron exhausts memory when doing search...

All correct points -- put I don't see how any of them will help @Jasmo solve his problem.

View Article

Comment by anschauung on SQL Functions in Drupal Views Filters

Need a bit more info to help you on this. Where is the time value coming from --- I gather you're probably not using CCK Date since its filters support php time comparisons, so what are you using instead?

View Article


Comment by anschauung on Rewrite Drupal files directory to sub folder

Background question: Are the files handled through Drupal's files table, or uploaded independently?

View Article

Comment by anschauung on drupal calling a node_view gives the wrong data

Do you get the same result when viewing the block alongside other content types?

View Article

Comment by anschauung on Drupal6: I need to customize file upload links in...

Files need a physical location on the server -- would you like the file to be uploaded normally but accessible at the new link? I suppose a broader question would be: what is the end result you're...

View Article


Comment by anschauung on How to validate PAN No and Bank account number using...

Do you mean 'validate' as in "make sure it's formatted correctly" or validate as in "check with the bank to make sure the account is legitimate". The former is merely difficult.

View Article


Comment by anschauung on How can I perform a reverse string search in Excel...

+1: I'll have to remember the "LEN(A1)-LEN(SUBSTITUTE(A1," ",""))" trick for getting the number of instances of a character

View Article

Comment by anschauung on How can I add a drop-shadow to an image using PHP?

Incidentally, this page was the top hit when I googled that exact phrase :p

View Article

Comment by anschauung on How do I use this regular expression? (Aweber Email...

Well ... what part doesn't make sense to you?

View Article

Comment by anschauung on Scrollable HTML table with top row and left column...

I linked to the article intentionally -- the comments provided a lot of useful improvements that the poster should consider, IMO.

View Article


Comment by anschauung on How to disable secure pages on a local server?

@Kasapo: If you've followed the instructions above, then securepages is definitely disabled. You might have another issue at hand (something on your Apache config maybe?). You should post a new...

View Article

Answer by anschauung for Is there a tool that can transform a static SQL...

Plain 'ol non-Drupal SQL will still work in db_query ... it's just not a best practice since the database API can't retool the SQL to work in any supported environment, and doesn't take advantage of...

View Article


Answer by anschauung for Where do these elements are coming from in my HTML...

One of your nodes ("a live library") has on unclosed <em> in the message body, near the sentence that says "Voorjaar 1998 werd ik uitgenodigd doo..."This is (accidentally) incorrect HTML, but...

View Article

Answer by anschauung for drupal exposed filter with jquery datepicker popup

I suspect your problem might actually be in your theme. There might be a class definition that's overruling the module's definitions and throwing the layout off.If you switch your page to Garland and...

View Article


Answer by anschauung for handling the display of choices in dependent select...

Based on your comment above, I'd recommend looking into Drupal's AHAH components, which are described in detail at http://drupal.org/node/348475. The situation you're describing is precisely what AHAH...

View Article

Answer by anschauung for how to force drupal function to not use DB cache?

node_load uses db_query, which uses mysql_query -- so there's no way to easily change the database's cache through that function.But, node_load does use Drupal's static $nodes cache -- It's possible...

View Article

Answer by anschauung for Link to node in a grouped field in a Drupal View...

Perhaps a dummy question, but: Are you very certain that you're doing the rewrite output as node/[nid] (with brackets) and not as node/nid?

View Article

Answer by anschauung for Error: Forbidden Access Message (Drupal-6.x)

Short answer: the web root should be pointing to the index.php in the Drupal root for all of the sites you're hosting on that codebase. In your case, you are getting an error because there's nothing in...

View Article


Answer by anschauung for Batch process list

A few ways:You can use tasklist, wmic process list (on most Windows machines), or get-process if you are using Powershell.

View Article


Answer by anschauung for how to force drupal function to not use DB cache?

Where are you calling this? For example, are you using it as part of your template.php file, as part of a page, or as an external module? Unless you have this wrapped in a function with its own...

View Article

Answer by anschauung for In SQL, how do I exclude result from SELECT * FROM ...?

There's no way to do this because 'SELECT *' is a bad idea in a production environment anyhow. Just think of all the extra error-catching that would need to be done if something like this existed --...

View Article

Answer by anschauung for drupal table with the edit link

You'll want to have $rows = array(); appear before your while loop. What you're doing is essentially destroying the array and redeclaring it as an empty array on each pass. This is why only the last...

View Article


How to load a theme's clear.css before system.css and other module stylesheets?

So, I'd like to use a CSS reset (such as http://bit.ly/gd2hQX) as part of a theme I'm assembling. This will help me avoid assorted headaches with user agent defaults.I dutifully mention clear.css in...

View Article

Answer by anschauung for Is there a way to tell Drupal not to cache a...

This doesn't answer your specific question about caching, but -- consider using Drupal-native solutions like the Picasa module for things like this. When you use non-Drupal PHP applications in a Drupal...

View Article

Answer by anschauung for Drupal (6.19) cron exhausts memory when doing search...

My first suspicion is that there's a big 'ol whopper of a node in the queue that's putting you over the limit. There are a few ways to test for this:Check the search_dataset table in your database for...

View Article

Answer by anschauung for Drupal: How do I programatically create a URL alias...

Tough to tell how complex you'd like the aliases to be, but the pathauto module seems like it would be a simple solution to your problem. It allows you to generate aliases automatically based on...

View Article



Answer by anschauung for I'm pretty sure I'm suppose this statement

Consider deleting the extra set of <!DOCTYPE>, <HTML> and <HEAD> tags. I'm not sure if they're the source of your js errors (you didn't tell us what the errors were) but they...

View Article

Answer by anschauung for Using .ai (adobe illustrator) variables with Drupal...

Short answer: no.Longer answer: This is theoretically possible, but.What you're referring to really amounts to rewriting some of the fundamental underpinnings of the internet. This would require, at...

View Article

Answer by anschauung for building websites with drupal

Depending on how "regular" your "regular" website is, you might consider another platform. All of Drupal's complexity and versatility, along with the time you spent learning them, would go to waste if...

View Article

How does one have Greasemonkey run before *anything* else in the page?

Is it possible to have Greasemonkey scripts run before anything else on the page? I'm aware of @run-at document-start, but this appears to run immediately after the <HTML> tag. Normally this...

View Article


New Bounce Processing Templates in Mailman

When mailman receives a bounceback in a format that it doesn't recognize, it discards the message and sends an "Uncaught bounce notification" to the list administrator.How would it be possible to...

View Article

Running hook_cron with administrator privileges in Drupal 6

Is there a way to allow hook_cron to run with administrator privileges -- e.g a sort of sudo hook_cron() as it were?This question is a follow up to my earlier question trying to diagnose why...

View Article

Does Drupal parse hooks that aren't being used?

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 // .....

View Article


Answer by anschauung for For the django admin, how do I add a field to the...

First the "is it plugged in?" question -- Have you manually added new_field to the users table in the database? Syncdb wouldn't have taken care of that, of course. After that, I would try appending the...

View Article


Tools Debugging CSS in Internet Explorer

Are there tools other than Firebug Lite that might help one get into Internet Explorer's buggy little mind and find out precisely where and why it's mangling my CSS so badly?Firebug Lite is a useful...

View Article

Answer by anschauung for Why would a web page be blank even if the source was...

It will help quite a bit if you edit the post with some samples of the code you've tried. Sometimes a helper can spot problems that you didn't notice.My first guess would be that your JavaScript...

View Article

Answer by anschauung for Font of all headings in a Word Document

The basic structure will be something like below:Public Sub ShowFontAndSize() Dim singleLine As Paragraph Dim lineText As String For Each singleLine In ActiveDocument.Paragraphs Debug.Print...

View Article
Browsing latest articles
Browse All 40 View Live




<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>