Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 27, 2012, 05:50:59 AM
1 Hour
1 Day
1 Week
1 Month
Forever
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
WebsiteBaker Community Forum
English
Help & Support
(Moderators:
Argos
,
badknight
)
Subfolders in media folder issue
Pages: [
1
]
Go Down
Author
Topic: Subfolders in media folder issue (Read 580 times)
g03l
Offline
Posts: 2
Subfolders in media folder issue
«
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
Posts: 2
Re: Subfolders in media folder issue
«
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
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
=> Security Announcements
=> Documentation
=> WebsiteBaker Website Showcase
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
=====> Modules / Extensions
===> Suggestions
===> Software bugs
=> Help & Support
=> Modules
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
=> jQuery
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
=> Archive (posts up to 2007)
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
=====> Module / Extensions
===> Vorschläge
===> Softwarefehler
===> Erfahrungs und Testberichte
=> Hilfe/Support
=> Module & Snippets
=> Templates & Design
=> Tutorials
=> jQuery
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...