By fighella on
I just (almost) finished this one.
Still has a few bugs. But it's my first Drupal 6.0 website!
http://www.reefnoutback.com.au
A few other drupals 5's I also just completed:
http://www.brettcrabtree.com
http://www.byronbayboardriders.com
All feedback is greatly appreciated...
Thanks.
JD
Comments
Constructive feedback
Heaps of content, so I think you've got a good system for managing it all.
Yep, a pretty good result!
.dan.
if you are asking a question you think should be documented, please provide a link to the handbook where you think the answer should be found.
| http://www.coders.co.nz/ |
.dan. is the New Zealand Drupal Developer working on Government Web Standards
feedback
Wow. Thanks for the analysis! Great stuff...
I will hit that stuff as mentioned. Thanks so much...
I will get back to you when Im done!
jd
A Great Tour Website
Hi I am new both to drupal and this forum. I really like your reefnoutback website, and hope i can one day visit there using your website. a quick question: how did you create the Enquiry Now form page, (http://www.reefnoutback.com.au/tour/12-days-gulflander-savannahlander?ke...)?
it looks at the contact form... so did you create your form based on the contact form, modifying the php codes, or used the Drupal built-in configuration.
thanks! shanben
Enquiry Trick
Hi Shanben,
To start off, Im pretty bad at PHP stuff, so most of the stuff is right from Drupal.
To make the enquiry form, I used Webform, CCK and Node Reference. (oh and Tabs)
Because most of the tours will have similar contact forms, but some might have specific forms (to match the details of the tours)... I allowed the client to create as many custom webforms as they liked and then allowed them to reference the form accordingly using a CCK Node Reference Drop Down.
I pass the tour path variable into the form through the URL and have a hidden field in the form so that she can tell where the enquiry has come from. Im sure there is a better way to do this, I just havent figured it out...
It is also dangerous (VERY) ... because if someone makes a mistake on the form, they are kicked out of the NODE and straight to the enquiry form itself.
I have temporarily got around this by making sure no fields in the form are mandatory... (and hoping for the best)... but this is DEFINATELY one of my biggest concerns regarding this...
If anyone knows how I can pass the path into a hidden form field? let me know, without having to create a variable (ie: ?key=tour/path )...
Ideally I would like to pass the date variables into the DATE drop down for the tour so that when she puts available dates into the tour, it will prepopulate the drop down and presto! But I havent got that far yet.
I managed to do a few tricky bits with the TABS, as I let drupal spit out the content templates by itself, I then stole the source and stuck it back into the custom content templates and I was given all the good stuff for the javascript tabs etc... (scripts, div ids etc)...
I then whacked in the content template variables under each tab and it seemed to work out.
Im pretty sure what I've done is pretty dodgy and anyone who knew what they were doing might cry if they saw it. But I usually just try and do things with the tools I got... and hope for the best.
Glad you like it. If you need to know any more, don't hesitate to ask...
JD
Hallo,
Hi,
I am new to drupal: so what is CCK? Is there a central module for the CCK? because i find there are about more than 100 cck modules, and cannot see a major, central module for it from drupal.org download center. But it seems from your description there is a main Content Construction Kit (CCK)? tHANKS FOR SHOWCASING YOUR COOL SITE. Thanks!!
Hujia
CCK
CCK is a Kit with various modules that each allow different types of functionality...
Not really one specific module...
Here are the modules I used: (some in beta)
CCK Blocks 6.x-1.1
CCK Fieldgroup Tabs 6.x-1.x-dev
Content 6.x-2.x-dev
Content Copy 6.x-2.x-dev
Content Permissions 6.x-2.x-dev
Content Taxonomy 6.x-1.0-beta3
Content Taxonomy Autocomplete 6.x-1.0-beta3
Content Taxonomy Options 6.x-1.0-beta3
Content Taxonomy Tree 6.x-1.0-beta3
Content Templates 6.x-0.1
Fieldgroup 6.x-2.x-dev
FileField 6.x-3.x
FileField Meta 6.x-3.x
FileField Tokens 6.x-3.x
Flexi Field 6.x-1.x-dev
ImageField 6.x-3.x-dev
Node Reference 6.x-2.x-dev
Number 6.x-2.x-dev
Option Widgets 6.x-2.x-dev
Text 6.x-2.x-dev
Text with comma 6.x-1.x-dev
User Reference 6.x-2.x-dev
View Reference 6.x-1.2
--
But basically it equates to Content Templates... which also allow you to add different content types, different fields to these content types and then manipulate the output in the teaser, body and RSS.
Hope this helps.
a dummy question
Hello,
this might be a dummy question (although it might help me greatly): what are the main functions they are getting from the modules you listed? I am new for drupal, although i used a lot of other php cms). I trust the majority tasks you achieve will very likely to be challenges i am facing, or will face, trying to build a not so simple website, similar to yours, with flash, image, and so on... truly appreciate your sharing of these knowledge. huj
rails breakdown....
Thanks for the questions...
Why do I use Drupal?
Sometimes I find Drupal can do way more than is needed... but everytime I build a site with Drupal I know I will learn something new for my next site. Thats why I stick with it.
I will use Wordpress for the most basic site. But ANY site I know will want to expand with the web (and go more 'social' ), needs DRUPAL.
For example, I know that this client will want to eventually allow user reviews, customer testimonials, customer submitted photos, online bookings and hopefully have multiple admins across the globe so they can expand to other markets.
Why should you use Drupal?
The best part about Drupal is not only the flexibility of the content, but also the user control, user interaction and user management. These factors immediately makes your site much more flexible and set them up to do alot more down the track, than say a Joomla or Plone. (from my experience only, I could be wrong.. sorry Joomla)
So what is it? In English please.
So keep in mind, I am no expert, but not too long ago I was asking these same questions, so I will try to answer them from my point of view, which definately won't be 100% right, but I feel just putting it out there might allow some people to correct me. And ultimately make me a better Drupal ninja.
Before I explain what each module does, I guess I need explain that (to me) Drupal runs on a node principle. Every piece of content is essentially a called " A Node." (... errr basically...)
Blocks, Views and Panel are all different ways of displaying these nodes.
Break Down: Some of the Main Modules Used in http://www.reefnoutback.com.au
Block Reference - This module is used to call a Block into a node.
An example of a Block on reefnoutback.com.au is on the right hand side of the Home Page... All the square boxes in the right column are Blocks.
The Contact Box is a BLOCK, The "Special Offers" is a BLOCK, The "Pick of the Bunch" , is a block.
So lets say you have a Block created which is a list of Tours in the Outback, and you've created a new tour which goes through the outback also, well you may want to specifically reference this BLOCK and call it into your Node. CCK node allows you to pick and choose which Block you'd like in the node.
I did this so the client could call Destination guide blocks into Tours when they have been created.
So they may create a Block that has the titles of 10 Destinations and they will want to call those Destinations inside a specific tour... with a nicely layed out block that includes an image and title, linked to the nodes they represent.
CCK Fieldgroup Tabs 6.x-1.x-dev
Fieldgroup Tab allows you to not only TAB out your admin screens, but also your displayed content.
You will see how I used this on the Tours. (Tour Itinerary, Photos, Contact etc)
Its a great way to break up huge Input Field Filled admin screens. Fox example the tours content type has about 40 fields to be entered. So the tabs allow me to break it up.
Content 6.x-2.x-dev
Content is one of the basis' of CCK. It basically allows you to create other content types etc.
Content Permissions 6.x-2.x-dev
Control what users see based on their roles and the content types.
Content Templates 6.x-0.1
Allows complete manipulation of the Output of a node.
Use CCK to create different fields for your content. and use Content Templates to completely rearrange the content.
Node Reference 6.x-2.x-dev
Reference a different node from inside a node. Similar to the Block module.
User Reference 6.x-2.x-dev
Reference a specific User in a node. For example a specific user is a tour operator and you have written a story about a tour they run, wouldnt it be great to be able to include the users profile in that same node?
Views
Simply put: a way of displaying multiple nodes differently, using filters and arguments. But believe me it gets alot more complicated than that.
View Reference 6.x-1.2
Similar to Node, User, Block referencing... Just call up a specific View.
I hope this helped and didnt confuse you.
The drupal.org site will offer much better and more accurate answers to those questions, but this might help you get an idea for the way I approached it. I know it definately helped me look back on how I did it.
So, Thanks.
JD
Nice! How'd you do it? :)
That really looks nice! Could you give some insight into how you did it?
Cheers,
---
Tom Geller * San Francisco
Author/Presenter, "Drupal Essential Training" video series at Lynda.com
TomGeller.com * GellerGuides.com * SaveMyHomeBook.com
---
Tom Geller * tomgeller.com * Oberlin, Ohio
See my lynda.com videos about Drupal
How it was done.
Hi Tom,
The basis of most of my Drupal work is usually by using what Drupal already gives me, as I am a pretty hopeless programmer and like quick results! I get paid by the job, not by the hour. So it's gotta be fast...
For this Drupal 6.0 site, I used heavy CCK (Content Construction Kit), Content Templates, Views (lots) and Image Cache.
Theme
I prefer to strip the theme right back (it was Bluemarine at one point) and let the Content Templates do the work as far as general layout was concerned. I usually pull all the extras out of the node.tpl , block.tpl and page.tpl and then put in whats needed in the Page, Story etc templates.
Content Organization
To start out, I knew the client was going to have hundreds of tours in various categories, and eventually they will want to be able to sort and filter. (When they get more tours posted). So I knew I had to get organized with the Taxonomy straight off the bat and I knew that the different Content Types would really help me with the views and with creating different styles for the different levels of Categories/Tours etc.
So I set up the Categories first and then worked on making some views that would allow the site to expand.
Views
I used mostly Views Arguments to make sure when the client adds sub categories and then adds a sub category description, a View will be created and any tour in that new sub category will automatically appear under the "Body" version of the sub category description. The only problem here is that when the client adds a new sub category, I have to get them to manually add the Sub Category under the manually created "Full Category" view... which is fine, because many times they will want to develop a sub category before making it accessible... but it isn't ideal because I tried my hardest to allow the client not to deal with any heavier admin stuff like this.
(I know there is something in Drupal with CCK Taxonomy Fields, and I have tried to use it before, but I couldnt figure it out to save my life. Im pretty sure that in there somewhere is the answer to my prayers here...)
Another feature I really wanted to be able to do, but couldnt figure out, was CCK (& custom templates) for Taxonomy descriptions...
Imagine this. The user creates a new Category and while doing so adds an image and description. The can also join this Category to a parent etc and it all does it's thing. Im pretty sure this is how it's supposed to work... but I couldnt figure it out.
So creating the other content type (SUB CATEGORY DESCRIPTION) is going to cause me trouble real soon, because I have basically made the views SORT the "quasi taxonomy descriptions", to the top of the view. But when it comes to FILTER I am going to end up with the search box above the description and not in between the description and the SORTABLE tours below.
I have got around this before, but it requires hard coding the filter boxes (and thats REALLY ugly).
Custom Content Templates
Probably my favorite part of making Drupal sites is the Custom Content Template stuff... It makes me feel like I know what I am doing, but it gives me all the variables right there.
I can then just grab the variables I need and use and abuse them however I like.
One variable I couldnt find, is the taxonomy.... So I have had to do this little hack. (which I know isnt pretty) .. to give me the taxonomy number required to make the link to the view...?!
I have made it so that the content of this type only has ONE taxonomy value.. between 1 - 200... so this seems to get my by.
Anyone got a solution here?
Category Teaser Images
I used image cache to create smaller 300px wide images.. and then used the Content Templates to call the path of the Image Cached image into the background image of a PNG.
Definately not the ideal way to do this... but I always wanted to try it.
Im just worried Im going to get penalized for giving 1000 alt tags to the same image???
Other Modules
So there you have it.
Thats how I put together http://www.reefnoutback.com.au ... I open to all suggestions.. and I would love to be told any better ways to get around some of the sketchy stuff I have done...
JD
Thanks!
Thanks so much -- this is very informative. Once again, congrats on a great site!
---
Tom Geller * San Francisco
Author/Presenter, "Drupal Essential Training" video series at Lynda.com
TomGeller.com * GellerGuides.com * SaveMyHomeBook.com
---
Tom Geller * tomgeller.com * Oberlin, Ohio
See my lynda.com videos about Drupal
How did you createthe
How did you createthe multiple fields for your webform, especially the pulldown list menu for Country variable your Enquiry page here?
http://www.reefnoutback.com.au/tour/21-days-magnificent-europe-paris-and...
could you explain a little bit please?
i've trying to do the similar thing, but no clue...
thanks nice job! H
Select List Drop Down
The select list is just text data.
I used CCK and added a Text Field with Select List, I then went to : http://www.iso.org/iso/country_codes/iso_3166_code_lists/english_country...
and grabbed the flat list of countries.
And cut and paste the countries list into the drop down select box.
And thats it.
JD
Search by Taxonomy and Keyword?
Hi JD:
Have you used the taxonomy/category for search, together in combination with a keyword search? You know, it is like find a group of the articles or pages, and narrow them down to a keyword related ones? thanks and it has been my pleasure to discuss with you on your great site and learn a lot from you...
hujia
congrants on all the fine
congrants on all the fine work!
only thing is there is some kind of second menu at the bottom that throws the pages off.
thanks for the write-up in responding to questions. always helpful.
excellent site. I'd put a
excellent site. I'd put a little padding on the main content area for pages with lots of text - ie the itinerary pages. Maybe padding all the way around, but certainly padding-right: 15px; or so.
Terry