Files & Folders HOWTO

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
pixeldude
Posts: 9
Joined: Sat 22. May 2004, 01:39
Location: Lake of Constance / Austria
Contact:

Files & Folders HOWTO

Post 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?
Pappnase

Re: Files & Folders HOWTO

Post 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
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Re: Files & Folders HOWTO

Post 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?
http://www.studmed.dk Portal for doctors and medical students in Denmark
Pappnase

Post 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
pixeldude
Posts: 9
Joined: Sat 22. May 2004, 01:39
Location: Lake of Constance / Austria
Contact:

Still unclear

Post by pixeldude »

Hallo Pappnase,

Read it already, but I could not find any answers to my questions above
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post 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);
pixeldude
Posts: 9
Joined: Sat 22. May 2004, 01:39
Location: Lake of Constance / Austria
Contact:

I get it..

Post 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?
Post Reply