Page 1 of 1
Where did all the images go?
Posted: Wed 10. Mar 2004, 02:33
by lasse
Hello,
I'm trying to learn this interesting piece of software but I'm lost and
can't find any helpful documentation,
please help me with the following issues:
* When I upload a file (trough the phpwcms-backend),
where does it go, and what's more important, how do i point to
it in a layout or template? In the file-manager every file gets a
decent name, but at the file structure on the webserver all I
see is encoded names, (pointers from db-table??)
Can't find out how to get a ./images/mybanner.gif" or similar to work...
* In the admin-meny, what's the file-category function good for?
* If I make a custom css, can I access it through the www-admin?
Thats all so far, thanx!
//

Re: Where did all the images go?
Posted: Wed 10. Mar 2004, 09:20
by Pappnase
lasse wrote:Hello,
I'm trying to learn this interesting piece of software but I'm lost and
can't find any helpful documentation,
please help me with the following issues:
* When I upload a file (trough the phpwcms-backend),
where does it go, and what's more important, how do i point to
it in a layout or template? In the file-manager every file gets a
decent name, but at the file structure on the webserver all I
see is encoded names, (pointers from db-table??)
Can't find out how to get a ./images/mybanner.gif" or similar to work...
* In the admin-meny, what's the file-category function good for?
* If I make a custom css, can I access it through the www-admin?
Thats all so far, thanx!
//

Sorry, but i can't belive it. this text should not be arrogant or something else. but for all questions you had an anser in the forum and on the phpwcms page. i don't can understand this!
short documentation e.g. templates, filemanager
http://www.phpwcms.de/index.php?id=3,0,0,1,0,0
and there is already an css wich you can modify in the backend.
Posted: Wed 10. Mar 2004, 21:13
by lasse
Sorry if You found my message arrogant,
not my intention in any way!
Of course I find documentation in this forum and some at the
homepage of phpwcms, but either I'm stupid or there is something
wrong with my installation, or I'm just lost...
Since I don't speak German the flash file is a bit hard to understand..
My most important question is still:
* What's the correct way to upload files to be shown from layouts?
In the filemanager they are visible under /webadmin/images
but when i ssh the server with "find . | grep webadmin/images"
no such path is found, so where does it go, and what's the best
way of naming images and then pointing to them.
Please let me know if this message also is arrogant in any way.
Best wishes,
Posted: Wed 10. Mar 2004, 21:21
by cyrano
hi lasse,
all uploaded files (images, flashfiles) goes to the folder you have defined or in the main folder for images.
after uploading the images they will be stored in the folder "phpwcms_filestorage/1/ = if you are the admin, so the other folders or for other users, which have access to your admin surface.
The problem is for now, that the system change your name of files.
so go to the folder "phpwcms_filestorage/1/ and sort with "date", so you can find the image back.
I try to copy all the files to my harddisc and open them in a viewer, so i have a short look to the image and it's new filename.
hope this helps you going on...
regards
Posted: Wed 10. Mar 2004, 21:38
by lasse
For images regarding the site layout, maby it's clever to
ftp up a whole directory to a dir outside _filestorage,
so in the layout-design one know what is what?
In the html-source of phpwcms.de or ionrock.umemusic.com
I've noticed paths like '
http://ionrock.umemusic.com/picture/banner.jpg' or
'
http://www.phpwcms.de/picture/cine.jpg'.
Is that the solution then to ftp up this 'layout-images'-directory
with ftp (and of course no ftp-takeover), or are these ../picture/..
paths compiled and created at runtime of the layout?
Best wishes,
Lasse
Posted: Wed 10. Mar 2004, 22:35
by Pappnase
lasse wrote:
Sorry if You found my message arrogant,
not my intention in any way!
Oh my god! sorry no i don't mean your text was arrogant!
i mean that my anser could sound arrogant!
sorry from my side! that was not that what i want!!

Posted: Wed 10. Mar 2004, 23:21
by jmeyknecht
hiho lasse
you can upload your images for layout via ftp in any directory, but you can use for example the picture directory or you create your own in /img/
you can access these uploaded images in the template with the {IMAGE} Replacement-Tag or just with a normal <img ...> HTML Tag
for example, you uploaded your layout images into /picture within your phpwcms directory, you would access these image files for the template in that way:
{IMAGE:mybanner.gif}
the {IMAGE} Replacement-Tag is looking for images in the /picture folder.
if you uploaded your images into, for example, /img/layout/, you can easily modify this by changing the replacement tag to:
{IMAGE:../img/layout/mybanner.gif}
HTH