reduce the width

Phoca Guestbook - creating guestbooks in Joomla! CMS
User avatar
Quarterhorse
Phoca Member
Phoca Member
Posts: 39
Joined: 02 Jan 2009, 10:52

reduce the width

Post by Quarterhorse »

Howdy,

I would like to reduce the width of the guestbook. where is this possible?
Hi, i help in german
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48706
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: reduce the width

Post by Jan »

Hi, see parameters, you can set widht of editor and of the table:
https://www.phoca.cz/documentation/categ ... -component

Jan
If you find Phoca extensions useful, please support the project
roeiegans
Phoca Member
Phoca Member
Posts: 23
Joined: 04 Jan 2008, 11:53

Re: reduce the width

Post by roeiegans »

Hi Jan,

It doesn't seem to work. if I change the default table width of 400 in the backend nothing happens in the frontend. However the editor-table does change width. What can be wrong?

See http://www.marcellinusenpetrus.nl/index ... tbook&id=1 for example. The table width of the posts is to big.

Regards, Roel
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48706
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: reduce the width

Post by Jan »

Did you set it in Parameters Component?
If you find Phoca extensions useful, please support the project
roeiegans
Phoca Member
Phoca Member
Posts: 23
Joined: 04 Jan 2008, 11:53

Re: reduce the width

Post by roeiegans »

I have set it in the parameters in the control panel of the guestbook. The editor does change width if I set the default value of 400 to a smaller value. The table (I presume, that is the textbox with the posts?) doesn't.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48706
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: reduce the width

Post by Jan »

I have set it in the parameters in the control panel of the guestbook

You should set it in Parameters Component, in menu link to guestbook, see:
https://www.phoca.cz/documents/16-joomla ... -in-joomla

Jan
If you find Phoca extensions useful, please support the project
roeiegans
Phoca Member
Phoca Member
Posts: 23
Joined: 04 Jan 2008, 11:53

Re: reduce the width

Post by roeiegans »

OK, did that aswell. Still the same result. The widt of the posted messages box doesn't change at all:

http://www.marcellinusenpetrus.nl/index ... tbook&id=1

I got rid of the values at the Global Configuration and added them to the Parameters Component, no result. I have even left parameters at both places blank, no result. The editor on the other hand does change the width.

What would you recommend, de-instal module and re-instal, would that help?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48706
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: reduce the width

Post by Jan »

Hi, I think, reinstalling does't help...

Maybe there can be your smaller width becasue of the icons, you can set custom width, but this will be not displayed if it is less then the width of all icons ???

Jan
If you find Phoca extensions useful, please support the project
roeiegans
Phoca Member
Phoca Member
Posts: 23
Joined: 04 Jan 2008, 11:53

Re: reduce the width

Post by roeiegans »

Don't understand what you mean. I don't have troubles changing the width of the insert textbox with the icons above, where items are added.

I want to change the width of all the boxes with the allready posted items in it (at the bottom the ones with the black border and the grey titlebar). They take the full width of the page, this is what I want to reduce.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48706
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: reduce the width

Post by Jan »

Hi, yes but the full width is made by the form (table + form width)... if you want, it will take not the full width, then you need to set e.g. 80% for the boxex in the css

components\com_phocaguestbook\assets\phocaguestbook.css

or in html:
line 112+
components\com_phocaguestbook\views\phocaguestbook\tmpl\default.php
If you find Phoca extensions useful, please support the project
Post Reply