evertsemeijn

Topic: Changing "this is the homepage title"

To change the default pagetitle (this is the homepage title) open page_home.php.

Change

Code:
$smarty->assign('seo_title', "This is the homepage title");

into

Code:
$smarty->assign('seo_title', "This is a better homepage title");

And now that you've page_home.php opened you might want to consider to change

Code:
smarty->assign('seo_desc', "A proper description of my website because I love search engines");
Code:
$smarty->assign('seo_keys', "tell, the, search, engines, in, a, few, tags, what, your, site, is, about");

just below seo_title

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

benobo

Re: Changing "this is the homepage title"

You'd better edit it into _includes/translations.ini file

Last edited by benobo (2009-02-02 01:15:00)

evertsemeijn

Re: Changing "this is the homepage title"

@benobo If you had checked _includes/translations.ini you would have know it's not in there. It's only hardcoded!

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

cardeo

Re: Changing "this is the homepage title"

I think a new version might have come out since these replies were posted. Here's what I see when I view page_home.php

$smarty->assign('seo_title', $translations['homepage']['seo_title']);
$smarty->assign('seo_desc', $translations['homepage']['seo_description']);
$smarty->assign('seo_keys', $translations['homepage']['seo_keywords']);

the <title> tag on my homepage currently reads Jobberbase and I'd like to change it to my website's name. Is this where I do it? If so, does this look correct?

$smarty->assign('seo_title', "my website name");

navjotjsingh

Re: Changing "this is the homepage title"

Open _includes/translations.ini and Find

Code:

[homepage]
; be sure to write meaningful text for the following 3 attributes
; as they are used by the search engines to index your site

seo_title = "Jobberbase" ; this will also appear in the browser's title area
seo_description = "jobberbase is an open source job board" ; a short description for your site
seo_keywords = "jobberbase, jobs" ; a list of comma separated keywords that best match your site

And replace the default text with yours. You need not change the page_home.php for this.

cardeo

Re: Changing "this is the homepage title"

Thanks! That worked. Can additional fields in translations.ini be edited as well? For example:

[header]
name = "jobber"
title = "IT jobs"

changed to my website name and title?

navjotjsingh

Re: Changing "this is the homepage title"

Yeah, you can customise translations.ini as per your needs.

cardeo

Re: Changing "this is the homepage title"

awesome, thanks for your help!