jobberBase Community

Welcome to jobberBase Developer Community!

You are not logged in.

Announcement

Announcement for new users: in order to combat the ever increasing spam, we no longer allow new users to post links in the message body. This limitation is automatically lifted once a new user has a specific number of 'valid' posts.

You can post links like google.com which will be rendered as text but you will not be able to post messages that contain complete URLs like www.google.com

Thank you for your understanding!

#1 2008-10-29 03:51:01

N2S
Member
From: Music Land
Registered: 2008-10-27
Posts: 64

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

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

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)
amflh5.jpg

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-02 00:33:19)

Offline

#2 2008-12-02 00:06:07

NewEnergyJobs
Member
Registered: 2008-11-30
Posts: 7

Re: Categories are Displayed Uppercase in Category View

N2S, thank you for sharing your improvements with us.

Offline

#3 2008-12-02 00:29:51

N2S
Member
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-02 00:31:41)

Offline

#4 2008-12-06 00:37:20

evertsemeijn
Senior Contributor
From: Netherlands
Registered: 2008-11-16
Posts: 378
Website

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")


Member of Jobberbase Development Team - Templates/Usability :: Looking for installation and/or custom design? :: Beautiful Wordpress themes

Offline

#5 2009-03-22 03:41:59

nht48823
Member
Registered: 2009-03-02
Posts: 63

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...

Offline

Board footer

Powered by FluxBB