- Ubercamp Sessions and Introductions
- Faster module development thanks to Schema
- Commerce Guys Drupal / Ubercart Training Underway
- Painting Top Porch, Days 2 and 3
- Late Nights and Site Updates
- Painting Top Porch, Day 1
- Ubercamp 2.0 Hosted by Drupalcamp Colorado
- Beautiful Poetry, Music, and Truths
- Ubercart 2.0 Reaches Release Candidate for Drupal 6 in a Late Night Hackathon
- Good Friday Service and Songs
This article was posted on my old site on February 2, 2007. To view previous comments, you can visit the old page as long as it stands. The modules have changed, but the concepts should remain. Perhaps I can post an updated tutorial some day... Purpose: Describe the thought processes and modules used to design the front page of Ubercart.org, a site designed to be both an information portal and user/developer community. Modules explained: Drupal's own content type creation, Views, and Panels. Honorable mentions: Deciding on what to display, visual aids, "enhancing" the forums and Navigation menu. Well, the goal of this article is to explain to you how I constructed the front page at http://www.ubercart.org using some awesome contributed modules, a little bit of HTML, and some great free icons. We're preparing the place to be a community site, and a straight list of recent nodes just wouldn't cut it. I also didn't want to settle for a simple node that I update with new information every so often, so I finally got around to downloading the latest versions of the Panels and Views modules and set to work. Preliminaries... Before I actually walk you through the steps, let me explain a little bit of the brainstorming stage. In considering the Ubercart project, I knew I would need a front page that would make information about the project itself easily accessible. To cater to newcomers, I wanted an easy, appealing way to display all the things a member of the community is able to do. For the regulars, I also wanted a way for them to see at a glance the latest happenings at the site. We need a site that will dispense information about Ubercart and help others get involved using and contributing to the project. You'll need to think through similar things as you prepare the front page for your community. Do I need to display information about what's possible at my site? (Often a good idea, rarely a bad one.) If users are contributing content, how can I make sure others have easy access to it? Are there a lot of things to do at my site, and if so how will people ever find out about them? I'll tell you right now that I'm bad at this. I'm extremely happy with the front page there now, but I'm no expert. It took several rough drafts being scratched out on paper before I came up with a division of site activities that I liked. Something a member of the forums there mentioned in the past was to use verbs instead of nouns (he was commenting on the admin interface for Ubercart itself at the time). Use topic headings and links that describe to people what they can do, not what they'll see. So, I decided on the division you see across the top. People can come to Ubercart.org to Learn, Download, Participate, and Share. All verbs, all fairly descriptive, and each accompanied by links to different aspects of the site. Another weak point of mine is graphic design. Visual clues are extremely helpful, though, and make digesting all the text on the page a little easier. I found the Tango Icon Gallery to be extremely helpful for this. They didn't have an Ubercart category for icons, but I went there equipped with my verbs and a general idea of what icons might be used to represent them. I think I only had to tweak the book, as theirs has a nice red @ on the front. No big... it's a lot easier to erase an @ than to draw a book! Once you've got your categories of things to do at your site, I recommend browsing that gallery or some other to add visual clues to your site. (For a great example of using visual aids to describe a site, you really ought to check out what gurpartap's did at his site, http://www.sikhgears.com. He's using Tango icons, too. I also knew I wanted an easier way to display announcements than to keep updating an HTML unordered list on a node! That's what I used at first, and it was getting old. I'm using a CMS after all... surely there was a better way. To fill things out, I also figured I'd add a list of recent forum posts. With all that said, I'll dive into what I did to make this front page happen! Creating a Content Type First, I knew that with Drupal 5.x came the ability to create content types on the fly. This was the perfect solution for my announcements. Browse to admin/content/types and you'll see a link at the top which I clicked to create a new content type. I set the name and type in the form to News and news respectively, and gave a short one-line description for other site administrators to see. Just for kicks I changed the title field label to Headline, unchecked "Promoted to front page", disabled comments and attachments, and hit submit. Now I could browse to node/add and create new News post whenever I wanted. No longer did I have to rely on editing some HTML somewhere... we were rocking announcements with Drupal style. Using the Views Module (overview) But how was I going to list them? I wanted a concise way for users to see the headline, have a link to the article, and maybe see an extra bit of information or two about the post. Guys and gals, this is where Views becomes your best friend. The Views module (http://drupal.org/project/Views) lets you easily create blocks and pages that will format lists of nodes for display. The Views UI module lets you create these lists by specifying the display type, what fields will be displayed, what nodes to filter out, and how to order them. There are more options, but I think that covers all the bases for our site. So, I enabled the Views module, browsed to admin/build/views, and clicked the Add link at the top. At first, the add form can seem a little overwhelming. If you tackle it bit by bit, though, it's not complicated at all. For every View, you can display a page and a block. The page can be browsed to by a custom URL, and the block can be displayed in a sidebar (or in our case, a panel). When you first click add, you simply need to give your view a name and define who can access it. For both the News and Forum Activity sections on our front page, I wanted a block to display just a few nodes and a page to display the whole list. First, I expanded the page fieldset by clicking on the word Page. I checked the box to provide the page view and filled in the URL field. For the News view, I wanted the page to display a standard listing of node teasers, so I chose the appropriate View Type. For the Forum Activity view, I wanted to show a lot more topics in a single screen so I went with the table view. I set the other information as need be and moved on by collapsing the Page fieldset and expanding the Block fieldset. The block for both of these would be just a compact list of nodes, so I set them both to table view. I wanted a More Link that would lead to the page so users could browse the whole list if they wanted, so I checked that box. After filling out the information there, I collapsed the Block fieldset and moved on. Expanding the Fields fieldset displays a table that you can begin to fill up! You simply have to select the fields from the select box that you want to display in your view and hit the Add Field button. For the News view, I started by adding the fields Node: Title, Node: Created Time, and Node: Author Name. The Label for a table view will be displayed in the table's header row. I set these to what you see on our front page. I didn't mess with any of the other settings except the Handler and Option for the Node: Create Time field. I just wanted to display the date, so I set the Handler to As Custom Date and put in the Option m/d/y. To see what syntax to use for custom dates, check out the PHP.net page for the functiondate. (The recent forum activity block uses Comment: Last Comment Time with Handler set to As Time Ago to show when the last person posted.) When all that was done, I collapsed the fieldset. Next I wanted to make sure my views displayed only News type nodes and Forum type nodes respectively. I skipped the Arguments fieldset and expanded Filters. I added the filter Node: Type for each and set it to the appropriate type. Mission accomplished, I collapsed that fieldset and skipped down to the Sort Criteria. To list News items with the latest one first, I added the criteria of Node: Created Time and set its Order to Descending. (For forum posts, I used Comment: Last Comment Date set to Descending.) With that set, I was finished with the views and hit submit! Well.. that was a whirlwind tour of Views that hardly touches on all there is to do. If you've ever thought, "I'd like a block to display ____ type nodes" or "I need a page with a sortable list of ____ type nodes", Views is the module for you! Use my description as a starting point and go to town. You can also view the documentation at Drupal.org (http://drupal.org/handbook/modules/views). Using the Panels Module So, here we are with blocks and pages that display latest additions to the site. How in the world would I get those blocks to display in the content section of the front page? Well, I didn't want to write my own theme, and I knew I wanted another section for general site links... so I recalled hearing about this module called Panels being the updated version of the old Dashboard (which I never used). I downloaded the module from http://drupal.org/project/panels and once again set to work. Installing the module and browsing to admin/build/panels brings you to a basic page that lists the panel layouts you have created. To get started with a new one, you simply click Add at the top and come to a very easy to understand screen. You need to pick which layout to use from those represented. I chose the Two column stacked layout for Ubercart.org and determined not to use the bottom content area. When choosing which layout to use, you should be careful not to use one that will squish your content too much! If you use Google anayltics, you can easily track the screen resolution stats for people browsing your site. I designed our site with people using 1024 x 768 in mind, and that seems to be the smallest resolution that's widely used. (I hope most people have moved on from the glory days of 800x600!) So, clicking on the image brings you to a screen where you can add general information for the layout and then fill the content areas. I gave the front page there a title of "What to Do at Ubercart.org..." and path of "home". What you fill in is largely up to you... those just seemed to work. For the content areas, I first used the Add content form to fill in the left and right columns. To do this, I clicked the Left side radio button, selected the Views - news_block option from the select box, and clicked Add block. I repeated this for the right column by selecting the Right side radio button and Views: forum_block from the select list. I knew I was going to use some sort of HTML table to display the top section. For that section, then, I selected the Top radio button and clicked the Add custom button without entering a title. As you add content to sections, you'll notice that the content forms have been getting filled in with icons and fieldsets for each thing we add. This last time, the word Custom: appeared for the Top content area with a Configure fieldset. Clicking this will display a very simple form to you. Here I simply set the Input format to Full HTML and toyed with the table's HTML until I liked it. If you really want to see what I used, view the page's source. Once the page layout was complete, I saved it and browsed on over to the Site information form at admin/settings/site-information. Here I set the Default front page to home, the URL I chose for my new page layout. Closing Comments and Freebies Well, that's about all there was to it. The whole process took me a few hours, from brainstorming, to creating the views, to setting up the page layout. I hope this write-up teaches you something new or at least brings modules to your attention that you hadn't discovered yet. Two quick notes regarding the site... Because we expect the forums to be crucial to the continued development of the Ubercart project, we weren't satisfied with the standard Drupal forums. We installed and tweaked the flatforum theme/module files to our liking, though there's still room for improvement. If you plan to use flatforum with Garland, be sure to go to your Garland settings page and re-save the configuration after making the changes to styles.css. (The changes you put in that file for flatforum need to be compiled into the stylesheet Garland is actually using for the site.) I also grabbed the User Badges and Private Message modules for our use, and I hope to clean up the badge display and private message user interface in the near future. Also, I highly recommend doing something about the navigation menu for your site. There should be a separation between general content navigation and account action pages. Perhaps I'll discuss this in some other article in more detail... You can see at Ubercart I have simply created a second menu named Navigation that is displayed to all users. Links to content pages or sections of the site are placed in here. The traditional navigation block is still used, it just doesn't display till a user logs into the site and gets access to the links it contains. Once they do, this menu pops up beneath the site Navigation menu with links to their account, private message inbox, content creation links, etc. Don't spice up your front page and leave your menus feeling neglected! Let me know if you'd like to know more about the site setup at Ubercart.org or if I made some sort of glaring mistake in this article. Thanks for reading! Ciao. (I've noticed that the two column layout isn't displaying properly in IE7, so check it out in Firefox to see what it's supposed to look like. I'll try to figure out the IE bug on Monday when I'm back at work...) |
|||



)


whats up with Sikhgears.com
whats up with Sikhgears.com ? Looks like a free parking page...
Yup... It's 2009, and
Yup... It's 2009, and skihgears.com is for sale. Bummer.
Nice write up. Even if
Nice write up.
Even if pretty basic on the modules part, it's always nice to read others experiences.
Views and Panels do rock. And I like the way you wrote it, pretty helpful for the Drupal newbies.
I'm leaving a link here, for those interested in exploring it with more detail: http://drupal.org/node/206792
Regards.
Thanks for post!
Thanks for post!
I have issues with missing
I have issues with missing Views UI when I try to enable the Modules ? how does this happen ? how do I fix this ? I am just trying to learn by following this step.
Thank you
I guess just double-check
I guess just double-check your modules directory to make sure you got the file uploaded in the first place.
excellent write up. thnaks!
excellent write up. thnaks!
comment6 kelley blue
comment6
kelley blue book
joe piscopo movies
mozillo
shawni lucier
ocean key resort
sanford emails
dennis edwards
governor sanford south carolina
scholastic
paul mccartney fenway
megyn kelly
jamenei
audrina patridge nudie pics
wii bowling ball
usa vs. spain
parkersburg shooting
belmont stakes site youtube.com
koop strange love
mermaid syndrome
asoiaf
promise piercing
mandy ashford
brett favre
ticketmaster michael jackson
john carradine
emisoras caracol en vivo
rachel mullenix
mermaid syndrome
blue foot
krispy kreme national doughnut day
green dot card
jennifer milan
belmont stakes trifecta payout
impact mini series
sirenomelia
jody whatley
usa egypt highlights
rep. issa
belmont payouts
elisabeth hasselbeck survivor
brain aneurysm
aplington parkersburg iowa
paccs
mike miller
musician and inventor paul
discovery green park houston
audrina patridge
transformers
debbie hersman
cedar rapids gazette sports
bacterias aerobias
mexico vs venezuela en vivo
life is hot in cracktown
parp inhibitors breast cancer
shaq trade
cg pay 0306
dulko gisela
avatar the last airbender aang
david carradine interview
noaa weather
eastern basketball alliance
ventless fireplace
governor mark sanford
neda agha sultan
south carolina governor
elephant nose fish
the secret
manzo family
sacramento weather forecast
south carolina governor mark sanford
fight night round 4 soundtrack
katu weather
epsilon wheels
jackie kennedy
pakistan vs srilanka t20 final
vx744
make it or break it torrent
transformers 2 revenge of the fallen
bruce paltrow
gina torres
sugarmegs
royal pains
silpada catalog
usa soccer
spain newspaper
ben harper tour dates
christian koegel
ginger people
belmont betting odds
emily mcdonald
oliver anne
tim howard
countrywide reo
fed meeting schedule
cash for gold
royal pains usa
gisela dulko biography
girls gone wild finally 18
the hangover soundtrack
paris catacombs tours
gazzetta.gr
cap and trade legislation
universidad santiago de cali
jenny sanford pics
interactive brokers group
how long to boil eggs
sophia fiori
defenestration of prague
abc impact
greenville south carolina newspaper
sam champion married
oregonian
jezebel
voyeur italy
jackie norris
elliot williams
tesla motors inc
still small voice scripture
brown v board of education
virgin atlantic jobs
Good time. , big black dicks
Good time. , big black dicks in white pussy, [url="http://alexbarnett.net/blog/members/un2k6p3.aspx"]big black dicks in white pussy[/url], http://alexbarnett.net/blog/members/un2k6p3.aspx big black dicks in white pussy, college fuck fest anal, [url="http://forums.developertutorials.com/members/ov2t6c3.html"]college fuck fest anal[/url], http://forums.developertutorials.com/members/ov2t6c3.html college fuck fest anal, nude yoga gallery, [url="http://forums.thedailywtf.com/members/gv2h6p3.aspx"]nude yoga gallery[/url], http://forums.thedailywtf.com/members/gv2h6p3.aspx nude yoga gallery, hot wwe divas naked, [url="http://www.realraptalk.com/members/iu2k6n3-945592"]hot wwe divas naked[/url], http://www.realraptalk.com/members/iu2k6n3-945592 hot wwe divas naked,
comment5 arsenal squad
comment5
arsenal squad 2009
koszty uzyskania przychodu 2009
jhb fashion week 2009
fiesole retreat 2009
earth day 2009 san antonio
2009 ninja 250 black
2009 calendar list of
edina minnesota 2009
tiger woods 2009 no dvd
obgc capital cup 2009
bachatas nuevas 2009
2009 hyperlite wakeboards
rowing world championship 2009
lethal weapon 2009
asia cup 2009 videos
13th february 2009
ato weekly tax tables 2009
date of christmas 2009
juvenile crime 2009
rugby union fixtures 2009 9
2009 hybrid models
bwf super series 2009
vikings 2009 draft
fiestas pitic 2009
vaigyanik protsahan yojana 2009
solsuite 2009 version
resulta brevet 2009
powertools 2009 1.8 0.457
basingstoke live 2009
sholarships for 2009
scte cable tec expo 2009
republican convention for 2009
when is easter on 2009
bocoran soal uan 2009
b ed result 2009 mumbai
visual studio 2004 2009
pastelui ortodox 2009
quantum mechanics 2009
microsoft digital image suite 2009
movies relesing in 2009
marc cohn may 2009
mislisa 2009 rezultati
2009 golf products
buffalo big board classic 2009
of wearable arts 2009
server 2009 to workstation
laidback luke 2009
edexcel maths exam 2009
poetry writing contest 2009
new business ideas 2009
cd for xp 2009 15.06
vampire movies of 2009
pastele evreiesc 2009
grammar downlands 2009
literatura universala 2009
isetan private sale 2009
albert hammond 2009
the golden army 2009 special
spongebob movie 2009
historic preservation month 2009
filfare award 2009
nda exam result 2009
bar harbor maine 2009
disney on ice melbourne 2009
idle talk grand national 2009
2009 mileage ratings
top 50 accountancy firms 2009
pretemporada apertura 2009
baseball season opening day 2009
syngress 2009 security library
crystal apple 2009
finale notepad 2009 free
legal salary guide 2009
driving laws as of 2009
2009 oneida county
word 2009 landscape
lakhme fashion week 2009
trail running 2009
jonathan frakes 2009
kemasukkan matrikulasi 2009
new shield deluxe 2009
date of ash wednesday 2009
hsmp calculator 2009
aieee 2009 questions
the living end 2009
basketball tournamet 2009
top dvd movies 2009
autodesk inventor suit 2009
top movies in 2009
smackdown vs raw 2009 unlockable
deakin university 2009
2009 all star snubs
popular vote for 2009
madden 2009 roster update
dd form 1351 2c 2009
brasileirinhas carnaval 2009
daylight savigns 2009
netroots conference 2009
seaside heights nj 2009
resultats cantonales 2009
2009 large softcover weekly
colegios electorales 2009
pc satellite tv 2009
opening day of baseball 2009
swansea uni summer ball 2009
student bank accounts 2009 09
visual studio 2009 qfe
the disco brisbane 2009
soal unas smp 2009
falling for you 2009
gelsey kirkland 2009
wacken 2009 line up
2009 conforming loan
qest 2009 conference
skiatos letovanje 2009
eurovision 2009 official
vinayaka chaturthi 2009
average weekly wage 2009
2009 macomb community college
slendor in the grass 2009
comment6 processing icip
comment6
processing icip 2009
fm genie scout 2009 full
formula 1 july 2009
eurovision 2009 norway
2009 tax rebate limits
oscars 2009 performances
polska czechy 2009
sql server 2009 report
bermuda cruises 2009
reuters extel survey 2009
2009 triumph street triple
european triathlon 2009
eagles cap room 2009
top songs in may 2009
premio tv y novelas 2009
xray_2009 01 22a v11
french movies in 2009
icfaitech results 2009
april fool's day 2009
2009 bmw 135i test
2009 ncaa basketball bracketology
visual studio 2009 context menu
new 2009 military pay
international students conference 2009
2009 o reilly auto parts
lake brantley high school 2009
top rock songs in 2009
princess margaret lottery draw 2009
hampton court palace festival 2009
chopped and screwed 2009
ohio primary election date 2009
rock eistedford 2009
rugby super league 2009
first day of lent 2009
petertide ordinations 2009
strawberry jam 2009
wiso steuer office 2009
results of election 2009 pakistan
christmas lunch 2009 in
fk crvena zvezda 2009
ship simulator 2009 videos
installer 2009.0 _beta2
ibiza festivals 2009
2009 activities for students
eurovison 2009 russia
full moon calendar for 2009
sambucca 2009 up norf
ibrahim april 2009
calendar april 3 2009
big brather albania 2009
v2k5 09.03 xt_25_jun_2009 rar
moon sign horoscope 2009
second chance 2009
2009 ncaa mens final
championship manager 2009 manual
glastonbury registrations 2009
crystal reports 2009 web service
dance oireachtas 2009
bahasa melayu 2009
stajdohar beli jablan beovizija 2009
student support 2009
ulcerative colitis 2009
final fantasy xiii 2009
udietoo median 2009
in baselworld 2009
halloween horror nights hollywood 2009
angelina brad 2009
summer movies of 2009
haatzmaut celebration 2009
schwimmen berlin 2009
telegraph fantasy football password 2009
ilha do ermal 2009
ohio polls election 2009
media player software 2009
roberto cavalli 2009
oferte turcia 2009
george jensen 2009
compare minivans 2009
visual studo 2009 express
bruce springsteen tickets 2009
office 2009 home student
john leguizamo 2009
new releases dvd july 2009
finance conferences 2009
emcet 2009 counselling
ebert and roper 2009
2009 playoff picks
2 the streets 2009 dvdscr
bet awards 2009 live
i want you back 2009
marianske lazne 2009
gervase phinn tour 2009
most lucrative degrees 2009
singles uk 04.05 2009
hillsborough county schools 2009
icel conference 2009
2009 lancer commercial
fiit jee iit jee 2009
media 2009 election
the black union 2009 panelists
truckfest 2009 pictures
le race 2009 photos
daylight saving europe 2009
nama petugas tkhi 2009
horoscope for the 2009
laptop processor 2009
insurance information act of 2009
lottery numbers 14 june 2009
wettelijke rente 2009
cheltenham preview evenings 2009
reenlistment bonus for 2009
stock splits for 2009
ca propositions 2009
2009 frozen four schedule
2009 malibu manual
maths paper 2 2009
boat race 29 march 2009
discover magazine july 2009
egipat septembar 2009
democratic vp candidates 2009
comment1 el nuevo
comment1
el nuevo diario
gone with the wind 1939
diana ross theme from mahogany
tom barrack colony capital
villa certosa berlusconi
wimbledon live coverage
stanley cup game 6
conan o brien ratings
michael anthony
grosse pointe news
at t golf
baden powell
southern living at home parties
james bond bikini
urine off
jenna wolfe
drake video
plenty of fish
halo download
abc diet
june 8 birthdays
shane sparks sytycd
baby face nelson
chris evans
michele malkin
nba lakers
what happened to farmtown
july 2009 calendar
art bell website
fchan
carina rosa
el cartel
publius lentulus
espn cricket live
buchenwald photos
belmont
mythic
superpoke pets
belmont results 2009
general s daughter
hydromorphone toxicity
billy bob thornton daughter
la fontaine de mars paris
starscape 2009
rafael nadal wiki
artest lakers
prototype game
jerry herman bio
bay area earthquake
zach galifianakis quotes
the hangover wiki
foodnetwork
danny glover hugo chavez
mozilla firefox 3.5 download
alixpartners
mandalay aspen
the big empty
andy murray wimbledon
dixie highway yard sale
riverbend music center cincinnati oh
lakiha spicer pics
jonas brothers sos
tagged photos
paraguay chile en vivo
georgia aquarium tickets
obama cairo speech time
sesame street park
nhl game 6
five points
preston castle haunted
7 news denver
drew grant s blog
cafe astrology
robbie lawler
jon gosselin today show
poptropica astro knights cheats
amerie pics
donovan tate baseball
kristen chenoweth pushing daisies
belmont
cedar point ohio
kgw.com
pay czar
michael jackson cnn
daniel craig homeless
idle hands soundtrack
puerto rico flag
kathy griffin marriage
vancouver
annasophia robb
americas got talent youtube
jerome burnett nfl
weeds s05e01 rapidshare
penske corporation
new jack city soundtrack
visa bulletin for july 2009
shoprite
rodney dangerfield
regular guys
the listener nbc
argentine ants
sherri moon zombie
callejeros cuatro
magicjack support
pearl fryar topiary
angelina jolie celebrity
matt baker waco
breach movie
ice road truckers 2009
michael jackson casket
bff day
hitman 2 silent assassin walkthrough
vdo gauges
dvlottery
al malnik mob
charcon block paving
fiat 500 cabriolet
donna feldman photos
rod laver
belmont stakes post positions