Roundcube Community Forum

 

Remove double :: from title bar?

Started by jaredyeo, April 01, 2009, 04:44:43 AM

Previous topic - Next topic

jaredyeo

Hello which file exactly stores the "::" string in the title bar? Can i change it to a "-" instead?

Julius Caesar

In the file ./program/include/rcube_json_output.php

Search for 'product_name' and edit the function:

    public function set_pagetitle($title)
    {
        
$name $this->config->get('product_name');
        
$this->command('set_pagetitle'JQ(empty($name) ? $title $name.' :: '.$title));
    }
Julius Caesar

You can download the Groupvice4 theme here.
Sie können Groupvice4 hier he

jaredyeo

#2
Quote from: Julius Caesar;18168In the file ./program/include/rcube_json_output.php

Search for 'product_name' and edit the function:

    public function set_pagetitle($title)
    {
        
$name $this->config->get('product_name');
        
$this->command('set_pagetitle'JQ(empty($name) ? $title $name.' :: '.$title));
    }

Beautiful. Thanks.

edit: hmm doesnt seem to work :(

Julius Caesar

#3
Quote from: jaredyeo;18172edit: hmm doesnt seem to work :(

There is also another file:

./program/include/rcube_template.php

Search for ' :: ' and replace this with ' - ' as well.

And the template for composing messages uses it's own title string: ./skins/default/templates/compose.html
Julius Caesar

You can download the Groupvice4 theme here.
Sie können Groupvice4 hier he

jaredyeo

Quote from: Julius Caesar;18174There is also another file:

./program/include/rcube_template.php

Search for ' :: ' and replace this with ' - ' as well.

And the template for composing messages uses it's own title string: ./skins/default/templates/compose.html

Thank you Julius that's very helpful. Cheers.