Advertisement:

Author Topic: [SOLVED] change title breadcrumb  (Read 4142 times)

Gabender

  • Jr. Member
  • **
  • Posts: 53
[SOLVED] change title breadcrumb
« on: April 01, 2014, 02:43:20 pm »
Hello guys, I would like to change the first item in the breadcrumb, or, change the title of the site with the text "Home".

how can I do?  :)
« Last Edit: April 02, 2014, 12:01:47 am by Gabender »

strata

  • Sr. Member
  • ****
  • Posts: 411
  • Always good, always...
Re: change title breadcrumb
« Reply #1 on: April 01, 2014, 07:03:49 pm »
Just to go to admin area :
 Show more > Setting > General and change page title to Home
it will make your first breadcrumb become Home

aide2001

  • Guest
Re: change title breadcrumb
« Reply #2 on: April 01, 2014, 10:59:35 pm »
Sorry @strata that my friend would be a bad idea for search engines and alike.
Its probably best to amend the core file so be careful about this guy n girls
Search for this in Breadcrumb.php (path of file is \oc-includes\osclass\classes):
then search for
public function init()
        {
            if( in_array($this->getLocation(), array('item', 'page', 'search', 'login', 'register', 'user', 'contact')) ) {

Change title to Home or whatever you want to call it.
Simples 8)
This is all down to @SlicK post on 22.06.2013  ;)

Gabender

  • Jr. Member
  • **
  • Posts: 53
Re: change title breadcrumb
« Reply #3 on: April 02, 2014, 12:01:30 am »
 :D

VEEERY GOOOD  aide2001 SOLVED

Sorry @strata that my friend would be a bad idea for search engines and alike.
Its probably best to amend the core file so be careful about this guy n girls
Search for this in Breadcrumb.php (path of file is \oc-includes\osclass\classes):
then search for
public function init()
        {
            if( in_array($this->getLocation(), array('item', 'page', 'search', 'login', 'register', 'user', 'contact')) ) {

Change title to Home or whatever you want to call it.
Simples 8)
This is all down to @SlicK post on 22.06.2013  ;)

strata

  • Sr. Member
  • ****
  • Posts: 411
  • Always good, always...
Re: change title breadcrumb
« Reply #4 on: April 02, 2014, 04:29:44 am »
Sorry @strata that my friend would be a bad idea for search engines and alike.
Its probably best to amend the core file so be careful about this guy n girls
Search for this in Breadcrumb.php (path of file is \oc-includes\osclass\classes):
then search for
public function init()
        {
            if( in_array($this->getLocation(), array('item', 'page', 'search', 'login', 'register', 'user', 'contact')) ) {

Change title to Home or whatever you want to call it.
Simples 8)
This is all down to @SlicK post on 22.06.2013  ;)
Nice advice too :)

Aficionado

  • Guest
Re: [SOLVED] change title breadcrumb
« Reply #5 on: April 02, 2014, 05:58:37 am »
Actually this should be also FIXED in the core at some point, and be replaced by HOME. 

Valeriu

  • Newbie
  • *
  • Posts: 36
Re: change title breadcrumb
« Reply #6 on: October 23, 2014, 03:07:37 pm »
Sorry @strata that my friend would be a bad idea for search engines and alike.
Its probably best to amend the core file so be careful about this guy n girls
Search for this in Breadcrumb.php (path of file is \oc-includes\osclass\classes):
then search for
public function init()
        {
            if( in_array($this->getLocation(), array('item', 'page', 'search', 'login', 'register', 'user', 'contact')) ) {

Change title to Home or whatever you want to call it.
Simples 8)
This is all down to @SlicK post on 22.06.2013  ;)


Hello, can you be more specific about where i must change the title to Home?
I”m using version 3.4.3 and i can`t find where to replace title to Home.

If i replace the term ”tile” with home i get an error.

Thank you. :)

aide2001

  • Guest
Re: [SOLVED] change title breadcrumb
« Reply #7 on: October 24, 2014, 01:04:08 pm »
This original posts was solved using the 3.2/3.3 osclass so this may have changed in the new 3.4.3 version, alot changed in the 3.4 version.
Have you got breadcrumb.php in oc-includes/osclass/classes ?

Valeriu

  • Newbie
  • *
  • Posts: 36
Re: [SOLVED] change title breadcrumb
« Reply #8 on: October 27, 2014, 09:28:36 am »
Yes, i have breadcrumb.php in oc-includes/osclass/classes.
I'm using 3.4.3.


aide2006

  • Guest
Re: [SOLVED] change title breadcrumb
« Reply #9 on: March 18, 2016, 07:27:29 pm »
you dont replace title with home, just what the title -> is
ie 'title' =>osc_page_title() to
'title' => home

humprey

  • Newbie
  • *
  • Posts: 6
Re: [SOLVED] change title breadcrumb
« Reply #10 on: December 12, 2017, 11:40:43 pm »
you dont replace title with home, just what the title -> is
ie 'title' =>osc_page_title() to
'title' => home

Genius. Helped me. Thank you.