Announcement

#1 2010-06-16 19:41:43

Arturo
Guest

How to replace "/" in div browsePath!

Hello again I would like to know if there's a way to replace the forward slash in the browsePath div. I have noticed that it is in included in the var {$SECTION_TITLE}(?) and {$LEVEL_SEPARATOR} in a template file!...it show something like home / categoryname / filename. I do not want the slashes just >!

Thanks for any help!

 

#2 2010-06-16 19:51:53

VDigital
Former Piwigo Team
Paris (FR)
2005-05-04
17680

Re: How to replace "/" in div browsePath!

[extension by Piwigo Team] LocalFiles Editor (activated)
first tab "local conf", insert the following code:

$conf['level_separator'] = ' ! ';


Piwigo.com: Start and run your own photo gallery. Signup and get 30 days to try for free, no commitment.
8-)

Offline

 

#3 2010-06-16 19:53:17

tosca
Former Piwigo Team
Cévennes (France)
2006-09-23
567

Re: How to replace "/" in div browsePath!

If you are looking for these '/' (see screencopy) use Plugins -> LocalFilesEditor then tag Local Config to edit local/config/config.inc.php.

Click on the link Display reference file: "config_default.inc.php".
From this file copy/paste the following lines :

Code:

// level_separator : character string used for separating a category level
// to the sub level. Suggestions : ' / ', ' » ', ' → ', ' - ',
// ' >'
$conf['level_separator'] = ' / ';

to your local/config/config.inc.php.

Change the separator to your liking, then click on Save file.


My galleries : Photos, Watercolours, Recipes

Offline

 

#4 2010-06-16 20:55:08

Arturo
Guest

Re: How to replace "/" in div browsePath!

Thanks a lot!!! it worked perfectly!!

 

#5 2010-06-16 21:12:06

tosca
Former Piwigo Team
Cévennes (France)
2006-09-23
567

Re: How to replace "/" in div browsePath!

May I set the topic to "solved"?
(you could do it yourself, were you registered ...)


My galleries : Photos, Watercolours, Recipes

Offline

 

#6 2010-06-16 21:56:25

Arturo
Member
2010-06-16
13

Re: How to replace "/" in div browsePath!

I got registered! one more thing! how do I change the languages menu through the gallery e.g. if i want to move it to the header!

Offline

 

#7 2010-06-16 22:17:31

tosca
Former Piwigo Team
Cévennes (France)
2006-09-23
567

Re: How to replace "/" in div browsePath!

Arturo wrote:

how do I change the languages menu through the gallery e.g. if i want to move it to the header!

Could you be some more specific:
Do you use [extension by Piwigo Team] Language Switch ?
What do you mean by "change the languages menu"? You want to put it elsewhere?
What theme do you use?
Can you provide a screencopy? And, if possible, a link to the gallery?

PS: next time, I will ask you to open another topic, as this question as no relation with the previous matter.


My galleries : Photos, Watercolours, Recipes

Offline

 

#8 2010-06-16 22:22:26

Arturo
Member
2010-06-16
13

Re: How to replace "/" in div browsePath!

tosca wrote:

Arturo wrote:

how do I change the languages menu through the gallery e.g. if i want to move it to the header!

Could you be some more specific:
Do you use [extension by Piwigo Team] Language Switch ?
What do you mean by "change the languages menu"? You want to put it elsewhere?
What theme do you use?
Can you provide a screencopy? And, if possible, a link to the gallery?

PS: next time, I will ask you to open another topic, as this question as no relation with the previous matter.

no, I dont use any extension, I want to place it elsewhere. I'd post a link but I guess that would not help!
http://tmbn.arutos.com/

Offline

 

#9 2010-06-16 22:40:42

tosca
Former Piwigo Team
Cévennes (France)
2006-09-23
567

Re: How to replace "/" in div browsePath!

Arturo wrote:

no, I dont use any extension, I want to place it elsewhere. I'd post a link but I guess that would not help!
http://tmbn.arutos.com/

You might not be aware of it, but is indeed [extension by Piwigo Team] Language Switch
If you deactivate the plugin from the admin panel, the flags will disappear.

I don't think it will be so easy to put it elsewhere, as it belongs to the top navigation bar.
I'll ask the developer what can be done.


My galleries : Photos, Watercolours, Recipes

Offline

 

#10 2010-06-17 07:29:20

tosca
Former Piwigo Team
Cévennes (France)
2006-09-23
567

Re: How to replace "/" in div browsePath!

tosca wrote:

I don't think it will be so easy to put it elsewhere, as it belongs to the top navigation bar.
I'll ask the developer what can be done.

We might provide a solution.

Could you :
1) open a new topic for that, so we can discuss it at length
2) provide some screenshot indicating where exactly you want to put the language flags.

Thanks.


My galleries : Photos, Watercolours, Recipes

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2021 · Contact