- Title: Member
- Status: Offline
- From: Music Land
- Registered: 2008-10-27
- Posts: 64
Topic: Categories are Displayed Uppercase in Category View
USES: display your category correctly. (first letter is uppercase)
QUICK EXAMPLE:
default - Jobs in technology
after - Jobs is Technology
(notice the "T" in Technology is uppercase.)
OPEN: /_templates/category.tpl
Code:FIND:
<h2>
{$translations.category.jobs_for} {$current_category}</a>
</h2>
REPLACE WITH:
<h2 id="none">
{$translations.category.jobs_for} {$current_category}
</h2>
OPEN: /css/screen.css
Code:FIND:
a {color:#0099CC; background-color:transparent;text-decoration:none;}
a:hover {color:#0099CC; background-color:transparent; text-decoration:underline;}
ADD AFTER:
div#job-listings h2#none {text-transform:capitalize !important;} // displays your categories with uppercase letters correctly
DEMO: (after installation)

WARNING! If you Installed The RSS Category Icon on your site please be careful when installing this modification!
http://www.jobberbase.com/forum/topic80
-view.html
*Look below for a better modification that will eliminate al the under-scrolls _ into blank spaces!*
Last edited by N2S (2008-12-01 23:33:19)
- Title: New member
- Status: Offline
- Registered: 2008-11-30
- Posts: 7
Re: Categories are Displayed Uppercase in Category View
N2S, thank you for sharing your improvements with us.
- Title: Member
- Status: Offline
- From: Music Land
- Registered: 2008-10-27
- Posts: 64
Re: Categories are Displayed Uppercase in Category View
NewEnergyJobs wrote:N2S, thank you for sharing your improvements with us.
no problemo mister! (=
Here is a better solution that I use..
use: {$current_category_name}
instead of: {$current_category}
this will eliminate all the under-scrolls _ and replace them with blank spaces
Last edited by N2S (2008-12-01 23:31:41)
- Title: Senior Contributor
- Status: Offline
- From: Netherlands
- Registered: 2008-11-16
- Posts: 378
Re: Categories are Displayed Uppercase in Category View
@N2S To resolve your RSS Category Icon you can add a class to the h2#none (h2 id="none" class="current_category"). You can even add more classes to an element by leaving a space between the two classes (like class="uppercase text-transform current_category")
- Title: Member
- Status: Offline
- Registered: 2009-03-02
- Posts: 62
Re: Categories are Displayed Uppercase in Category View
Is there a way having no Categories at all? I tried removing all categories in admin area but when posting a new job I get an error...
Posts [ 5 ]
Guest posting is disabled. You must login or register to post a reply.