I am making my first effort to use Drupal and am building a new church Website.
I am used to simple hardcoding in HTML and have avoided automated Website
apps because I disliked the cluttered code they produced.
The goal here is to build a site that multiple leaders in the church may help to
keep updated and which will facilitate staff, leader, and small group communications.
The prior contracted person failed to produce something usable and the site is now
many months late on delivery - I need to get some pictures and a calendar and
contact info up quickly.
QUESTIONS:
- Is it best to have Drupal install to Root?
EDIT: Just tried to install to Root, yes, I am in a big hurry! Ran into an error
complaining about .htaccess in public_html. I tried to delete it and found that
impossible so far. Is it OK to install to /drupal instead of the default Root?
EDIT 2: I installed to /drupal and that went well. I had to toggle-on Chron as
well. (The Help in Drupal was excellent and Chron was readily available via
CPanel.) New Challenge: It asks about making "files" writable
but provides weak Help as to where and how to do that. In CPanel File Manager
I don't get access to /files but only to the subfolders /public_html, /public_ftp,
/www, /tmp, and the like. What am I missing, please? (I will look elsewhere on
the Drupal site for an answer but wanted to include my complete adventure here
in case someone else is also starting from scratch with Drupal.)
EDIT 3: I used gFTP to log on to my account, Select All, and chmod them to 777.
I am still getting the files not writable error message. Help??
EDIT 4: Just because I started geeking with computers in the later 70's I thought
I'd give this one more try. Went back to gFTP and started to drill down through
the layers - chmoding everything to 777 - probably way more than I should have!
Anyhow, problem solved for now. Will have to go back and close the unnecessary
holes in security later. Perhaps someone can post a more concise description of
what I should have changed an not changed for future newbies to Drupal who
read this?
-
Is a Calendar module included in the default Drupal? -
Is a Directions/Map module available yet? -
Is there a Spell Check module in the default?
I am looking forward to learning along with all of the other Drupal church web folks here!
Thanks! doc (Pastor David)

Comments
it's OK to install to a
it's OK to install to a subdirectory.
you might want to do this if you intend to let drupal supplement your static html pages, rather than replace them.
also, it shouldn't be too problematic to move the installation up to the root level later.
Calendar module is not included in the default drupal install, but there are a couple to choose from:
http://drupal.org/project/calendar
http://drupal.org/project/event
For help with the calendar, start by searching the drupal site for calendar.
http://drupal.org/search/node/calendar
Direction/Map modules:
Check out the Location category in the modules list
http://drupal.org/project/Modules/category/65
Spell Check module:
no, not in the default. However, Firefox does some live spellchecking in normal textarea fields. I think the Google toolbar adds that to the IE browser.
If you need more, check the filters/editors category of modules
http://drupal.org/project/Modules/category/63
or search the drupal site for "spellcheck"
One good way to find modules is the search box on the drupal site.
Go to
http://drupal.org/search/node
and expand "Advanced Search"
and limit your search to "only in the category" -> Projects -> Modules
Searching for spellcheck there showed me this:
http://drupal.org/project/spellcheck
One final thing, it's always a really good idea, especially when you're getting started with drupal, to have a separate installation to play with, test out, mess up, throw away and start over with. That could be on a server on on your own computer.
Hope that's enough to get you rolling!
"it's OK to install to a
"it's OK to install to a subdirectory.
you might want to do this if you intend to let drupal supplement your static html pages, rather than replace them.
also, it shouldn't be too problematic to move the installation up to the root level later."
It was midnight and I wanted something to appear on the church site so I cut and pasted some
old HTML and Java: http://firstbaptistchurchsh.com/
Now I would like to move a simple first Drupal page I created to where someone logging on
to that URL may see it. Meanwhile I will cut and paste the text into the existing index.html
page up there for now - it includes an announcement of our "Cantata" this Sunday and next.
The home page design is to present several pictures with mouseover drop-down menus for each
key ministry area - each served from our central theme image of a passport.
I know how to do some of that using HTML and Java but want to do it in Drupal so I have
use of Drupal CMS features such as multiple sub-site maintainers, etc.
Thanks!
http://thebridgechristianlifecenter.com
Pastor David
Some additional notes...
Some additional notes...
Here's a list of Drupal learning resources I recently compiled (I plan to organize it into a section on my site later):
http://forums.neverside.com/post/806952/#post806952
To get Calendar module working, you'll also need the Views module and the Date module, and the CCK module. This combo of modules makes for extremely customizable calendars, though it requires a bit of knowledge about working with CCK and Views. I also found a cool post the other day that does a good job of communicating the purpose and use of Views and CCK, the modules which serve as the primary building blocks in Drupal for... just about everything: http://www.johnandcailin.com/blog/john/fantastic-four-drupals-unofficial...
I haven't used it, since it is said to be on its way towards being phased out in favor of the above solution, but you may consider the Event module, as it is evidently easier (though less flexible and powerful). The above setup is not "too" hard though - have a look at the first few guides listed here for step by step instructions: http://drupal.org/search/node/calendar
It can be themed to look different, though here's an example from my site of the calendar: http://www.aguaviva.com/calendar
So far as file permissions... as you have a linux/unix server running cpanel it should be a pretty standard setup. Outside of the "files" directory, no files or folders in Drupal should ever need to be chmodded - the standard permissions as uploaded are correct... 644 for files and 755 (or less) for directories should do fine. Definitely don't make everything 777 though. The files directory "might" need adjusted permissions depending on the server's settings, though often no change at all is required. If I were you I would go ahead and delete Drupal's files (being sure not to delete your own files, such as the files directory, and the sites directory), and upload a fresh copy to ensure all your permissions get back to default - then if there's a problem, report back here and we can try to sort it out the right way. By the way, make sure that your personal modules and themes are stored in: /sites/all/modules and /sites/all/themes ("not" in the modules and themes directory in the Drupal root directory. Keep them separate so you'll have an easier time upgrading in the future).
Cpanel's file manager should be capable of editing the user/group and permissions of the .htaccess file if necessary. If not and you need to edit or delete it, see if your host offers Shell access... if so a few quick commands should get it set right (chmod, chown, etc).
The "files" directory Drupal is referring to is located in the root directory of the Drupal install... e.g. not in the root of the server. Drupal creates the directory automatically when you go to the File system page, at for instance: /public_html/drupal/files
I would recommend against installing Drupal in a subfolder if you plan on moving it into the root later.... you may run into various path problems, particularly with any uploaded images or other files.
If you don't have one yet, I can't recommend highly enough that you get a local development environment on your computer... it is soooo much faster to work with, and learn how to use Drupal. Depending on your OS, look up: LAMP, WAMP, MAMP, XXAMP ... it's as easy as pie to setup - just download the file, install it, and you have a copy of Apache, PHP, and MySQL running on your own computer.
Hope this helps :)
> Here's a list of Drupal
Thanks for this!
I am running Puppy Linux. Do I need LAMP?
I have already installed Drupal to /public_html/drupal
Is there a way to uninstall or back out and reinstall now that I have discovered how to use gFTP to chmod/777?
I am guessing that may be the best way to go - or since I have only created one page and done little else
can I manually relocate things?
Thanks! doc
http://thebridgechristianlifecenter.com
Pastor David
extra info
theres a module called poormans cron that will do the cron function for you if you dont have access to the cron in the server
you dont need to 777 every folder, but every folder that drupal needs and the sub folders in those folders will need it
so the files and tmp folder, image and audio import and any user upload folders and associated sub folders
i would recommend the event module for calendar
check out the church websites we have built
www.hopecommuntychurch.org.nz
www.lifezone.org.nz
www.riversbaptist.com
let me know if you want any more help - we specialise in not for profits and church groups
OK, I uninstalled Drupal and
OK, I uninstalled Drupal and re-installed it to the default site.
It wiped my static HTML page which now looks like this:
http://firstbaptistchurchsh.com/ unless I force it to show
my manually coded index.html using this address:
http://firstbaptistchurchsh.com/index.html
Can I cut and paste my source into a Drupal Page or Story or am I approaching
this the wrong way?
Do I need some more modules, themes, or something>
If I can just get one page up with a theme and some contant like http://firstbaptistchurchsh.com/index.html
then I could hit the development running after that because my kinesthetic learning mode would have been
satisfied by making one successfully.
Thanks! :-)
http://thebridgechristianlifecenter.com
Pastor David
I have backed up and
I have backed up and reorganized.
I have printed 10 pages of the Drupal 5.1 (version on my host server) Documentation
relevant to getting started. I am reviewing that carefully.
After poking around and making a mess I have uninstalled Drupal and will reinstall as
soon as I have some clarifications.
First Clarification - Are these resources appropriate or do I need to ask my server host
to upgrade any of them, such as PHP to 5.2 perhaps?
General server information:
Operating system Linux
Service Status Click to View
Kernel version 2.6.9-023stab043.1-smp
Machine Type i686
Apache version 1.3.37 (Unix)
PERL version 5.8.7
Path to PERL /usr/bin/perl
Path to sendmail /usr/sbin/sendmail
Installed Perl Modules Click to View
PHP version 4.4.4
MySQL version 4.1.22-standard
cPanel Build 10.9.0-RELEASE 10737
Theme cPanel X v2.6.0
Thanks!
http://thebridgechristianlifecenter.com
Pastor David
baby steps
If job #1 is to replicate your static page in drupal in the EasiestWayItCouldPossiblyWork then this is what I would recommend:
BONUS POINTS:
A. Set your site settings to have the default front page to be node/xxxx - whatever node is the page you created.
B. If you don't prefer the Garland theme - you can:
- copy the themes/garland directory contents to a mytheme directory
- modify page.tpl.php file to suit what you want. (and the style.css and node.tpl.php)
- make sure you at least include the $sidebar_left and $sidebar_right stuff - otherwise you will lose your menus and have to remember the http://mysite/admin/build/themes URL in order to go back to the garland theme!
- I'd recommend copying, changing to the new theme, and then changing one thing in the file at a time and refreshing your page so you can be messing up only one thing at a time and have an easy 'undo' option availalbe.
C. Change your site settings to use your mytheme
> 1. Install Drupal - using SOLVED
OK. (Included the need to chmod "files" and "public_html", and to run chron)
Here are the Garland settings in Administer - Site Building - Themes
(as accessed from the Admin, not the user, account.)
Toggle display
Enable or disable the display of certain page elements.
[x] Logo
[x] Site name
[ ] Site slogan
[ ] Mission statement
[ ] User pictures in posts
[ ] User pictures in comments
[x] Search box
[x] Shortcut icon
NOTE: It will not allow me to toggle on "User pictures in posts" or
"User pictures in comments"
OK.
This is a little murky. I stumbled through but it would be really helpful to have a short
list of the critical minimum of what to change. Also, to clarify for others, the place this
is done is called "Site Information" (at least it is in Drupal 5.3)
QUESTION 1: Where it asks about Default Front Page I left it as "node". Is that
best or should I specify "public_html" since that is where my index.html was
located (I renamed it old-index.html) and is also where the Images folder is for
the pictures I called from the Front Page (more commonly called the Home
Page previously created from my index.html).
OK.
OK.
No pictures are being displayed.
QUESTION 2: Does this have to do with my Question 1 re. the location of thr Front Page?
Once I Log Out and Log In all of the My Account and Admin options disappear from the User.
QUESTION 3: Do I need to change something related to uses from the Admin account?
QUESTION 4: I switched to the original Admin account and opened Administer then Site Configuration
then scrolled down to Input Formats then chose Full HTML then saved. That worked but
and image HTML is still being ignored, why? Do I need to add a Module?
OK. I have a text-only Front Page (Home Page) now in place of my old Index.html page which
included pictures.
Doesn't work.
Will try this after I have pictures working.
This sounds like a significant new learning area - will save this for later.
Oooops! I changed them to "Content".
OK.
OK, when I get there ... later. :-)
http://thebridgechristianlifecenter.com
Pastor David
List of tags for HTML Filter, and .htaccess tips
Here's a list of the majority of tags you'd ever need for your HTML Filter (you can of course add more if you want):
<a> <em> <i> <strong> <b> <u> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <p> <br> <h1> <h2> <h3> <h4> <h5> <h6> <div> <span> <blockquote> <img>Paste that list into "Allowed HTML Tags" at yoursite.com/admin/settings/filters/1/configure (which is the Configure page for the Filtered HTML Input format). If you plan on adding tables (for tabular data, not layout of course) to your pages, you should add the various table tags to the list as well (I usually don't bother with this, because if it's tabular data more likely than not its being dynamically generated by Views, not a manually created table). If other people besides yourself are going to be having accounts and editing pages, it would probably be wise/safer to go this route rather than bypassing the HTML Filter.
Also, if you are trying to reference images that are uploaded into any folder besides the "files" or "sites" directory, then there's a good chance that the rules in the .htaccess file included with Drupal will prevent the server from displaying those URLs, and instead go to Drupal's 404 error page. This is because Drupal is setup to handle all of the URL paths below its root directory (for instance, what would happen if you made a folder called "hello" but then you also made a page with Drupal called "hello" - without this protection, there would be two instances of yoursite.com/hello). Drupal also restricts this for security reasons. You can add additional "approved folders" to the .htaccess file though (the .htaccess file is in Drupal's root directory... it may be invisible since it begins with a . so you may have to manually open it... worst case if your editor can't see it, open a shell/terminal window and type, without the quotes: "nano -w /path/to/drupal/.htaccess" to edit the file). Also, many FTP programs have an option to show hidden files, so look for that option if you can't see the file.
Here's an example from my .htaccess file, which allows the folders and contents of these 2 non-Drupal folders to work without Drupal's intervention:
# Custom folders/paths to allow throughRewriteCond %{REQUEST_URI} "/eGoodNews/" [OR]
RewriteCond %{REQUEST_URI} "/other/"
RewriteRule (.*) $1 [L]
That is pasted directly after this pre-existing line in the .htaccess file (I believe the location of where you place the above lines do matter in this case):
# RewriteBase /Just change the folder names in the above code as needed... you can add more than two by continuing the same pattern. I recommend you keep the extra folders to a minimum as it will make upgrading more difficult and confusing if you have a mess of folders and files to sort though and remember which belong to Drupal and which are custom (which is why in my case I used the generic "other" to hold everything).
Hope this helps.
some answers - thanks for hanging in there!
Required Site Settings:
- Name
- Email Addresses
Default Home Page:
- I'd leave it as node until you get it working - then you can change it
Missing Images:
- I looked at your page source and it looks like the image tags have been stripped out by the input filter
- This means that the problem is probably that you need to be able to adjust your input filters to not strip out the HTML tags
- I'm trying to remember what comes with a stock install. But here's the basic steps to make sure image tags are allowed
1. Go to admin/settings/filters
2. Click on the configure link by whatever is your default filter (probably Filtered HTML)
3. Click on the Configure tab at the top
4. In the Allowed HTML tags, add the tags you use in your page (like img and image)
5. Click Save Configuration
Now try to view your page again and see if the tags are showing
The recommended alternative would be to create a new input format that does not have the HTML filter checked/enabled. Give the authenticated user role access to it. Then you can use this filter when you want to just dump in raw HTML.
Missing My Account options:
- your new user is an authenticated user (role) - which by default does not have access to a lot of these settings
- go to admin/user/role and add a new 'admin' role
- go to admin/user/access and check off the permissions you want admin users to have (everything under node, system, and user modules at least)
- go to the new user you created and check them off as an admin user
Let me know how those things go.
Keep hanging in there - it will be more than worth it once things start clicking!
> Missing Images: > - I
I went to: Administer - Site Configuration - Input Format
I had previously selected Full HTML.
QUESTION: Should the Full HTML setting pass all of the HTML,
especially that for images?
I tried reverting to Filtered HTML and changed the setting to "escape all tags"
to no avail.
QUESTION: Do I need to re-paste my old HTML into the Page and Re-Publish
after making changes? If the HTML for images had been stripped then would
a simple Page Refresh cause it to be rescued after the changes or is it gone and
needs to be restormed manually in Content?
Here are the current settings:
Filters
Choose the filters that will be used in this filter format.
[ ] HTML filter
Allows you to restrict if users can post HTML and which tags to filter out.
[x] Line break converter
Converts line breaks into HTML (i.e.
and
<
p> tags).
[ ] PHP evaluator
Runs a piece of PHP code. The usage of this filter should be restricted to administrators only!
[x] URL filter
Turns web and e-mail addresses into clickable links.
http://thebridgechristianlifecenter.com
Pastor David
Fun with Filters
As I've come to understand it - despite the name - input filters only affect what is OUTPUT to the page - what you actually type into the content form stays untouched.
So when you edit that page - in your Body field you should see ALL of your HTML - including the image tags.
If not - try pasting it in again, submitting, the clicking Edit again to verify that they are still there.
Are you using any WYSIWYG editors(like TinyMCE, FCKEditor, etc)? - or just the straight text input box?
Are the settings in your last comment from the Full HTML filter? What roles are checked off for that filter?
It looks intact. Yes, it is
It looks intact.
Yes, it is from "Full HTML"
I am using the default Drupal editor - I usually use Leafpad for HTML.
Perhaps I need to add TinyMCE or something to my Drupal install?
What would you recommend as the best way to integrate a WYSIWYG editor?
NEW QUESTION: How do I get rid of the Teaser? I know I saw that toggle
somewhere but cannot find it now. It is distracting on the Front/Home Page.
Thanks!
http://thebridgechristianlifecenter.com
Pastor David
now is the time to change the default front page
Sorry I didn't respond earlier - I was busy caring for several kids + Mom who have come down with colds :(
/node will show only the teaser - and you can't really change it.
But now that your page is displaying correctly - you can change you default home page to be this page (node/1)
Regarding WYSIWYG - if you are comfortable with HTML you probably are fine without one for now.
There are many of them, and there is some learning curve to configuring them - so until you really need one (for users who are not familiar with HTML) - you probably want to figure out some other parts of your site first.
Went through the same thing
Went through the same thing with family down with cold/flu,
I was the past to get it due to too-short nights of sleep!
How do I cause my default home page to be this page node/1, please?
Thanks!
Blessings to all from sunny Florida!
http://firstbaptistchurchsh.com
Pastor David
http://thebridgechristianlifecenter.com
Pastor David
admin/settings/site-information
go to the url admin/settings/site-information in your site (Administer -> Site Configuration -> Site Information) and set "default front page" to "node/1"
admin/settings/site-information SOLVED
Thanks! This solved that problem!
On to the next ... ;-)
Blessings to all from sunny Florida!
http://firstbaptistchurchsh.com
Pastor David
http://thebridgechristianlifecenter.com
Pastor David