Drupal is up and running but how do I ...?

Directing RSS feeds to feedster

We're about to launch a new blog. We'd like to serve the feed via feedster, and I can easily put a feed button on the site which will like to the feedster feed.

But I would guess that most likely blog subscribers just point their blog reading tools at the URL (blog.mysite.com or whatever) and subscribe to what is there, which is not the feedster version.

Is there a way to do this? I'd like to make use of Feedster's stats, but I don't want to put site visitors through crazy hoops to get there.

Odd SQL changes.

I have a PHP snippet that basically shows a list of recently updated stories. I have 7 shared sites, and I share the node table but the Epublish tables are not shared. For 6 of the sites the snippet works as it should. For the 7th site, I get a blank page. So I check the error log and see this:

PHP Fatal error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(n.nid), shared_node.changed, shared_node.title FROM shared_node, nw_epublish_ed' at line 1\nquery: SELECT shared_node.DISTINCT(n.nid), shared_node.changed, shared_node.title FROM shared_node, nw_epublish_edition_node WHERE ( shared_node.nid = nw_epublish_edition_node.nid ) AND ( shared_node.type = 'story' OR shared_node.type = 'flexinode-3' ) AND shared_node.status = 1 ORDER BY shared_node.changed DESC LIMIT 3 in /home/ooo/docs/includes/database.mysql.inc on line 66

My Snippet:

$result = db_query(db_rewrite_sql("SELECT shared_node.nid, changed, title FROM {node}, {epublish_edition_node} WHERE ({node}.nid = {epublish_edition_node}.nid) AND ( type = 'story' OR type = 'flexinode-3') AND status = 1 ORDER BY changed DESC LIMIT 3"));

The error message shows shared_node.DISTINCT(n.nid)
but the SQL script is just SELECT shared_node.nid,

Any ideas?

Page Not Found when creating a new page

I have managed to get Drupal finally working now after much messing around.

Only to find that when I try and create a page I get the error

Page Not Found
Your Page was created.

I did manage to find a not about possibly everting to MySql4.1
Is this really the only solution and if so how do I go about doing this when I already have My SQl 5 running?

dynamic current page link

Just noticed that I’ve got a small problem

I have an image in the side bar that runs a piece of JavaScript to display a hidden div on the front page, yes thought it was great and decided to put it on all other pages of my site ….

Problem : can you see

Yes the link tag still points to the front page, how can I dynamically create a link tag for the current page being viewed …

I’m guessing that I am going to have to use the drupal_goto() function

Any ideas and examples of how this might be solved

Problems with Sections Module

Hi everybody!. I don't know if it's the best forum to ask it but i hope u can help me. I'm installing the Sections Module but when i active it in modules it appears up in the admin page:

user error: Table 'drupal.sections_data' doesn't exist
query: SELECT * FROM sections_data in C:\AppServ\www\includes\database.mysql.inc on line 66.

user error: Table 'drupal.sections_data' doesn't exist
query: SELECT path, status, visibility, template, weight FROM sections_data WHERE status=1 ORDER BY weight in C:\AppServ\www\includes\database.mysql.inc on line 66.

WTF? Changed theme to check it out and can't access the admin section anymore!

Hi all,

Very strange thing happened on my test server. I was looking around different themes for my site, and find out one I like very much (pushbutton)... I just made it the default theme for my test site to check how it would look and exactly since then I cannont access the admin section of the site anymore.

When I click on admin it ust shows some kind of blank page with nothing on it!!

Please help!

Thanks

Pages

Subscribe with RSS Subscribe to RSS - Post installation