Page 1 of 1

Files & Folders HOWTO

Posted: Mon 24. May 2004, 13:36
by pixeldude
Hello,

After playing with phpwcms for a few days and bringing my knowledge of CSS to a higer level I am just about to fire up my first site :o

Now there is some confusion about the file handling in phpwcms:

1. Picture Locations after upload:

a)Wether I upload a file via phpwcms or via ftp to /phpwcms:ftp, the files are renamed and stored in /phpwcms_filestorage, correct?

b)Upon usage in a content part, they are moved to /content/images

c)There are some postings about the /pictures folder, but so far not one file showed up there, when will it come to use?

2. Paths general:

I applied new styles in frontend.css to hold the graphics for my navigation / header area, but I cannot locate the pictures.

My steps:

I uploaded the pics to /img
I changed the paths in frontend.css for the corresponding background-images (which is ../../img/elotec/)
The first navigation pic shows up the others do not...

Any idea?

Re: Files & Folders HOWTO

Posted: Mon 24. May 2004, 14:56
by Pappnase
pixeldude wrote:Hello,

After playing with phpwcms for a few days and bringing my knowledge of CSS to a higer level I am just about to fire up my first site :o

Now there is some confusion about the file handling in phpwcms:

1. Picture Locations after upload:

a)Wether I upload a file via phpwcms or via ftp to /phpwcms:ftp, the files are renamed and stored in /phpwcms_filestorage, correct?

b)Upon usage in a content part, they are moved to /content/images

c)There are some postings about the /pictures folder, but so far not one file showed up there, when will it come to use?

2. Paths general:

I applied new styles in frontend.css to hold the graphics for my navigation / header area, but I cannot locate the pictures.

My steps:

I uploaded the pics to /img
I changed the paths in frontend.css for the corresponding background-images (which is ../../img/elotec/)
The first navigation pic shows up the others do not...

Any idea?
hello your questions would be answerd if you download the pdf file from sourceforge! it's an tutorial wich is bases on wcms rc2 but it think it will solfe all your image questions. sorry but this pdf file is only avib. in german.


http://prdownloads.sourceforge.net/phpw ... f?download

Re: Files & Folders HOWTO

Posted: Mon 24. May 2004, 15:00
by frold

:oops: :oops: :oops: I have never seen that docu - but where to find it in english? have anyone made a translation?

My german is poor!! But maybe better after reading it?

Posted: Mon 24. May 2004, 15:05
by Pappnase
hello frold

no at the moment there is no english version but it will come. also i write it based on the rc2 version. sorry

Still unclear

Posted: Mon 24. May 2004, 15:45
by pixeldude
Hallo Pappnase,

Read it already, but I could not find any answers to my questions above

Posted: Mon 24. May 2004, 16:23
by pSouper
a)Wether I upload a file via phpwcms or via ftp to /phpwcms:ftp, the files are renamed and stored in /phpwcms_filestorage, correct?
yes... (after using ftp_takeover)/phpwcms_filestorage/userid/userid_incrementalInteger.ext
b)Upon usage in a content part, they are moved to /content/images
no... they are COPIED and given a new name: filestoragename_random10letters.ext.
c)There are some postings about the /pictures folder, but so far not one file showed up there, when will it come to use?
This is just a folder you may ftp images to. they are not included in the database and therefore not seen by any database functions. they retain thier origonal names throughout and may be called directly either by code or by using the {IAMGE:} {IMAGE_LEFT:}{IMAGE_RIGHT:} replacement tags.
I applied new styles in frontend.css to hold the graphics for my navigation / header area, but I cannot locate the pictures.
My steps:
I uploaded the pics to /img
I changed the paths in frontend.css for the corresponding background-images (which is ../../img/elotec/)
The first navigation pic shows up the others do not...
your .css file should be 'included' and using this line/path: background-image: url(../../img/elotec/myImage.ext);

I get it..

Posted: Mon 24. May 2004, 16:56
by pixeldude
Thanx pSouper!

Please explain a little more:
your .css file should be 'included' and using this line/path: background-image: url(../../img/elotec/myImage.ext);
I moved the files to /picture and corrected the paths in frontend.css.
Do you mean to include my css file into frontend.css?
If yes, how?