Colors and width config

Phoca Guestbook - creating guestbooks in Joomla! CMS
Gargarospo
Phoca Member
Phoca Member
Posts: 10
Joined: 04 Dec 2007, 18:22
Location: Italy

Hello there everybod

Post by Gargarospo »

Hello there everybody and Jan.

I'm porting a "standalone" PHP website to Joomla 1.5 RC3 and I'm trying to handle guest comments with your Phoca Guestbook.

Everything is going fine, except that I didn't understand if and how I can set up the width of the guestbook items (input form and output tables), since they come up with certain fixed values.
I can't find any setting in the administrator panels, so I'm tempted to go and change the php files of the guestbook directly...

Keep up the good work!
Michele
Gargarospo
Phoca Member
Phoca Member
Posts: 10
Joined: 04 Dec 2007, 18:22
Location: Italy

It looks like there&

Post by Gargarospo »

It looks like there's no chance to delete a post or a reply...

Bye
M
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

It looks like th

Post by Jan »

It looks like there's no chance to delete a post or a reply...

Where - here in forum or in Phoca Guestbook?
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Only Main Textarea h

Post by Jan »

Only Main Textarea has fixed width, because it uses TinyMCE editor. The Messages have no fixed width...

Jan
If you find Phoca extensions useful, please support the project
Gargarospo
Phoca Member
Phoca Member
Posts: 10
Joined: 04 Dec 2007, 18:22
Location: Italy

Hi Jan

Post by Gargarospo »

Hi Jan

because it uses TinyMCE editor

Ok... I didn't know what TinyMCE editor was, I did a quick search in Google and I found out about it, and about the fact that it's embedded in Joomla.

The fact is that in the demo page of Phoca Guestbook the main textarea is much narrower than mine, but I realized that it colud be a matter of "mischievous" styles... I'm trying to recreate the same look of the previous "no-Joomla" website and I guess that something is wrong with my CSS.

Did you use (and possibly how, if yes) some width in the CSS's of Phoca Guestbook Demo that is inherited by the textarea in the guestbook form?

Bye and thank you for your replies!
Michele

P.S. I wrote some unuseful comment here, because I found the solution of the fals problem with regards to colors of the Guestbook. I wasn't able to delete the unuseful entries here in the forum

P.P.S. in the model of the guestbook itself (file /components/com_phocaguestbook/views/phocaguestbook/tmpl/default.php) a '<table border="0" width="500">' encloses the form of the guestbook. Isn't that width="500" a bit dangerous?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Isn't that

Post by Jan »

Isn't that width="500" a bit dangerous?

YES, YOU ARE RIGHT, IT IS VERY DANGEROUS. I spent two days with solving this problem and at the and I added the "dangerous" value to the HTML code. The question is: Why?
The answer is: People are still using nonstandard browsers

... I hope I must not explain it in more detail...

Jan
If you find Phoca extensions useful, please support the project
Gargarospo
Phoca Member
Phoca Member
Posts: 10
Joined: 04 Dec 2007, 18:22
Location: Italy

LOLYes,

Post by Gargarospo »

LOL

Yes, I know that sometime it's like going on hitting ourselves head against a wall, a deaf and blind wall!!

And no, you don't need to go into deeper details, I understand it all now.

Thanks
Michele
Post Reply