Web Design

How to allow anonymous content submission

I want to allow anonymous and authenticated users to submit a certain content type that will then require an admin to publish or delete if garbage.
By giving anonymous permission to post a content type but setting the workflow to unpublished this works somewhat. But the user is redirected to a forbidden message because the content is not published yet.
I want to redirect them to a thank you page instead.

How would I add a script to the bottom of every page in Drupal

Whats the quickest way to add Google analytics to every page in my Drupal site. There are quite a few template files I don't want to add to every one of them.

Is there a way to add them to the footer of all of them?

Thanks, Charlie

How do I remove all new lines and double spaces in php

I want to take a database entry and use it for a metatag and want to strip all line returns html and extra spacing.

I do not want a title to display for my menu

I don't want a title for a menu but its required. What tpl file would I have to override to not display a title.

I tried editing the block for the menu to override the title by placing a space but it still displays a better but still not good

How do I use a view for my front page

I've created a view and now I want to use that view on my front page. I don't see how to create a page display as it isn't taking the as a path.

How do I get the users IP in Coldfusion

I need to get visitors IP and compare against a list of IPs for banning users in coldfusion.

Syndicate content