Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 05:50:59 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155555 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Subfolders in media folder issue  (Read 580 times)
g03l

Offline Offline

Posts: 2


« on: October 23, 2007, 09:30:56 AM »

Hi,
I have an issue with subfolders in any of my WB instalations (2.6.7, 2.6.5). The thing is that names of the subfolders don't have the slash sign to divide them, ex.: it's not "/media/test" but "mediatest" (see attached image in the zip file).

Please help as I can't organize anything in subfolders in the media folder.

Kind regards,
g03l
Logged
g03l

Offline Offline

Posts: 2


« Reply #1 on: February 26, 2008, 07:43:05 PM »

Ahhh, I finally managed to correct the issue I had with the media subfolders.

The solution is not perfect but it works.

I modified the "index.php" in "/admin/media" folder.

In line 47 which looked like this:
"$template->set_var('NAME', str_replace(WB_PATH, '', $name));"

I added only one / and the line now looks like this:
"$template->set_var('NAME', str_replace(WB_PATH, '/', $name));".

Attached you have the index.php file with this small correction (comes from v 2.6.7)

That solved the issue for me. There is only one thing - now when you look at the folders list you can see more then one "/" sign (see attachment) but despite that it works.

I hope this will be useful for other people.

Kind regards,
g03l
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!