4images Forum & Community
4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: ndj5 on November 05, 2006, 03:01:50 PM
-
Hello Community,
I'm a long time user of 4images and have typically been able to find resolutions to my problems in this forum. I can not, however, figure out how to change the category separator in my click stream.
Example: home/cat/subcat/image
I would like to change it to: home | cat | subcat | image
I found in the details.php under clickstream, I can manually modify the "category_separator" to the |, but I can never get all of them. There must be an easier way. I think it is defined somewhere but can not find it. Any ideas?
Thank you,
Nate
-
Hello;
go to your Admin Control Panel, then "Settings" and "Page and Nav settings". There you can do the changes you need in "Category delimiter (in category paths)".
-
Thank you manurom. Not sure why I didn't think to look there, I guess I thought it was too easy. Thanks for the reply, appreciate your help.
Nate
-
Yep, i know this is an old topic, but i have a small (maybe not very important :P ) question and i can't the answer: if you change the separator from Control Panel, the menu will look like this: Home|Category|Picture name... how do i make it to look like this: Home | Category | Picture name... (with space between separators and text)?
Thanks!
Later edit: i know this solution: | but i don't find it useful because i also use the menu as title tag and it doesn't look very nice... Home | Category | Picture name ...
-
yes, i want to do same thing, with a space(Eje: Chicas | lindas ), but without using , where is defined that variable in php code?
-
In admin/settings.php file,
find:
foreach ($setting_item as $key => $val) {
$val = trim($val);
replace:
foreach ($setting_item as $key => $val) {
if ($key != "category_separator") {
$val = trim($val);
}
In global.php file,
find:
$config['allowed_mediatypes_match'] = str_replace(",", "|", $config['allowed_mediatypes']);
add after:
$config['category_separator'] = preg_replace("/\s/", REPLACE_EMPTY, $config['category_separator']);
;)
-
For me it still doesn't work :(
-
What is 4images version use ?
-
The latest version i think...
-
I try with fresh 4images and is work purfect ...
-
it works perfect, thank you so much!
-
can I chnage the separator with an image?
Sory for the question, but I manage to solve the problem:
in Admin | General | Settings | Page and Nav settings | Cetegory delimiter (in category paths)
I put the following code:
<img src="{template_url}/images/spacer.gif" width="10" height="10" alt="" />