This forum is for less technical discussions about the Drupal project, not for support questions.

Displaying a node body/teaser using PHP and SQL

I have been trying to find out how to display nodes in a block using php and reading straight from the drupal database. I am using drupal version 4.7. I have been looking in the database and the node table does not even contain a node->body or node->teaser field. How is the node body or teaser referenced? I'm guessing you have to join it with another table that contains all the node bodies or something, but I can't find which table that is. I would really appreciate some help on this. Thanks.

requesting feedback on category module and forums...

Hi all,

My question is pretty simple, as anyone out there managed to change a site's forum from taxonomy to category module?

I'm not asking this to complain or anythig, but I would really appreciate to have some input about that from people who managed to transfer a forum with forums and active threads from taxonomy to category module cause I can't.

I tried with my site on the test server and also on a second test site and I always get to the same thing.

1) enable taxonomy wrapper OK
2)transfer forum terms, selecting redirection and moving of the paths by taxonomy legacy...OK
3)change the forum variables in the variable table to "plug new forum containers ID" (little bug in category legacy)

What happens at this point on my test sites is this:

1) forum containers and forum topics are transfered correctly
2)All threads inside the forum topics are redirected to the same adress and show the message "this thread as been moved". The adress is usually an alias (or the node id) of the container of the forums itself.

I simply don,t understand wat I did wrong, and at this point I just want to ask the community if anyone transfered a forum from taxonomy to category module, and if yes, how.

Please compare how you did it, or maybe even try it out on your test system and tell me here if you managed and if yes, what options and steps did you take to do it correctly.

Bookmarket for creating content

I've got a bookmarklet that links to a normal form submission page...

javascript:location.href='http://example.com/node/add/custommodule?title='+document.title+'&weburl='+location.href

The problem is that the form action points to the site I came from rather than my Drupal site. Actually it points to "//externaldomain.com". I've tried sending the bookmarklet to an interim page in Drupal and then have that page redirect to the form, but the action still goes back to the original site.

Drupal marketing

Hm,

could any body tell me the Drupal numbering stratiegy? It seems that the 4.7 new features are a little beyond the 0.1 version change and I think for marketing a decent 5.0 would be absolutely prefect.

Marketing is a thing that OSS really underestimates - it is still a competetion among OSS projects and the ones that will destinguish will only survive... Also, i was very surprised to read the Drupal 4.7 article over at NewsForge - the media have ignored many cool free scripts for unknown reason to me... There is where marketing should really help out.

How to keep updates to modules simple?

Hi Folks,

I could use your help to figure out the best way to keep my modifications to Drupal to a minimum to allow for clean module updates. This may sound silly, but how do you keep your module CSS edits from being overwritten when you upgrade modules? I'm just tracking the file names of my site's mods (php and css) in a TXT file for future upgrade reference, but I'm thinking there's got to be an easier way as per Drupal's overriding mechanisms.

For example, the Event module has its own heavy CSS file that I've tweaked rather than overriding via style.css. My opinion is that I shouldn't have the overhead of overriding a style I never wanted to see in the first place.

Drupal is great at overriding stuff by placing files in folders such as /sites/example.com/themes/mytheme. Ideally, it would be great if I could take a module's CSS file, customize it, and drop it into the mytheme folder. I was hoping that it would be recognized and substituted in place of the one found in the modules folder, but this does not work. I'm thinking I'll have to write a small bit of code in my theme's page.tpl.php to pick up the overriding css file, but I don't want to do it if there is a better 'Drupal' way of accomplishing the same thing...

So how do all of you keep your customized CSS files from being overwritten when you upgrade modules? If there is a better way than tracking this in a TXT file and manually copying files, I'd sure like to hear about it.

Cannot log in

I was playing with the blocks and unchecked user log in. Now since there is no login box, I can't log back in.

Is there a way to enable the login box somehow?

Thanks...gray97

Pages

Subscribe with RSS Subscribe to RSS - General discussion