The 100% Open Source Intra-Extra-Web-CMS site: Part 7 February 3, 2006Posted by techandother in HowTo, My Projects, OSS ÜberSite, Web Applications.
At this point, we have a perfectly-functioning web site:
with a great backend:
password: whatever you put in when you installed Joomla
We’re looking pretty good with all of our sample data in there, but it’s time you learned how to administrate Joomla. Lucky for you, they have a manual for the Administrator backend.
Un-publishing the sample data
I want to keep the sample data in the site so I can look at it later if I need help figuring out how to make a menu, or if I want to copy off of something. But I don’t want to have people see it.
It’s easy to ‘un-publish’ these pages in Joomla. They’ll still be there in the admin backend, but not be published to the frontend.
Log in to the admin backend.
Click ‘Content Items Manager’ (news). Click the checkbox at the top of the list to select all of the stories. Click the ‘Unpublish’ button on the top-right menu.
On the top-left menu, do the same for:
Content > Static Content (web pages)
Modules > Site Modules (we’ll turn a few back on in a sec – modules are how components display stuff on the web site. think of component-module as computer-screen)
Menu > mainmenu (except leave ‘Home’ published)
Menu > othermenu
Menu > usermenu (except ‘Logout’, if you take this away and publish the ‘login’ site module, users won’t be able to log out..)
Menu > topmenu
OK, have a look at the site now. All clean. But wait – we told the main menu to publish the ‘home’ link! Well, the menu itself isn’t published. On the admin backend, go back to the site modules and publish the main and user menus.
Now the site is ready to be made your own.
Check out the default site modules, and see if you’re lucky enough to be able to use some of those. I went with mainmenu, usermenu, login form, syndicate (RSS feed maker), and template chooser (just for now, so I can easily test all of my templates as a user). I also went and published one example news item, and set it to display to the frontpage. Since I’m not going to be using the news archive, all of my news will have to be on the front page to be visible. However, it is possible to navigate to a published, non-front-page news story from within a published front-page news story. Bottom line, don’t publish it if you don’t want it out there.
At this point, the junk is not being displayed on the web site, and before I install any third-party components and modules, I want to decide on how my site will look.
If you haven’t found a template you want to use, or want to use the default templates, either go find one or skip ahead…
In the admin backend, hit Installers > Templates – Site (because we want to change the look of the web site, not the admin backend)
Hit ‘browse’ and find the .zip file you downloaded for your template. Click ‘upload and install’. It’s that easy. (Note: Joomla looks for a specifically-put-together zip file. Sometimes people have the template zip file along with a README or something inside of another zip file. Joomla doesn’t like this, you’ll have to get to the bare template .zip file.
Hit ‘Continue’ and repeat for all of your templates. When you’re done, log out and go to the web site frontend to play with the templates. Choose your favorite.
I decided on one that is called apple_com. It basically looks exactly like the http://www.apple.com web site. I figure I’ll put a real apple on top and have a humorous educational site… :-)
Now you can unpublish the template chooser module, and go to site > templates > site templates. Select your template of choice and choose ‘default’. ‘assign’ is used if you want different templates for different parts of your site.
Note: I noticed what may be a bug, in that, if you leave template chooser on a template, it will use that template, even when the template chooser module is unpublished. No matter what template to tell the site to use in the admin backend. ??? Workaround: make sure your template is chosen when you un-publish the template chooser module, and then set the default template in the backend.
Time spent in article: 60 minutes (30 minutes to read admin manual)
Time left for project: 295 minutes (over halfway done on time, and looking great!)
- Learned how to use the admin backend
- Cleaned up the Joomla installation, while retaining valuable references
- Selected which default modules to use
- Selected the site design via template