Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Apache Roller 4.0 - Beginner's Guide

You're reading from   Apache Roller 4.0 - Beginner's Guide A comprehensive, step-by-step guide on how to set up, customize, and market your blog using Apache Roller

Arrow left icon
Product type Paperback
Published in Dec 2009
Publisher Packt
ISBN-13 9781847199508
Length 388 pages
Edition 1st Edition
Concepts
Arrow right icon
Toc

Table of Contents (16) Chapters Close

Apache Roller 4.0
Credits
Foreword
About the Author
About the Reviewers
1. Preface
1. An Introduction to Weblogs FREE CHAPTER 2. Installing Roller on Windows 3. Installing Roller on Linux 4. How to Start Working with Roller 5. Spicing Up Your Blog 6. Roller Themes and Blog Promotion 7. Working with Templates 8. Comments and Trackbacks Pop Quiz Answers
Index

Time for action - editing the weblog template


In this exercise, you'll learn how to edit the weblog.vm template in your Roller theme, to add a side bar and some other elements:

  1. Open your web browser and type http://yourhostname/roller/roller-ui/menu.rol to log into Roller. In my case, the complete URL is http://alromero.no-ip.org/roller/roller-ui/menu.rol:

  2. Once you're logged in, click on the Settings link in your weblog to go to the Weblog Settings page:

  3. Once you're in the Weblog Settings page, click on the Design tab and then on the Stylesheet link to see your custom stylesheet code:

  4. Scroll down the stylesheet code window and add the following lines at the end:

    .rCategory li {
    font-size: 80%;
    display: inline;
    list-style-type: none;
    padding-right: 20px;
    }
    li.selected {
    font-weight: bold;
    }
    
  5. Click on the Save button and then select the Front Page link to see how this code affects your weblog's main page:

  6. Now click on your web browser's Back button to return to your stylesheet code, and add...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image