Hi, i have been searching for the source where i can remove the blank line above the "Guestbook" see picture:
Greetings Ton
Can you help me please?Remove blank line above "Guestbook"
- Jan
- Phoca Hero
- Posts: 48689
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Remove blank line above "Guestbook"
you can try to change some padding or maring in css or delete some html tag:
css:
components\com_phocaguestbook\assets\phocaguestbook.css
html:
components\com_phocaguestbook\views\phocaguestbook\tmpl\default.php
Jan
css:
components\com_phocaguestbook\assets\phocaguestbook.css
html:
components\com_phocaguestbook\views\phocaguestbook\tmpl\default.php
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 28 Jun 2008, 17:39
Re: Remove blank line above "Guestbook"
Hello Jan,
I tried everything made changes in phocaguestbook.css and deleted lines in
default.php but i can't figure out where and what i should change? Nothing helped
Perhaps you can give a clue (line)
TIA
Ton
I tried everything made changes in phocaguestbook.css and deleted lines in
default.php but i can't figure out where and what i should change? Nothing helped

Perhaps you can give a clue (line)

TIA
Ton
- Jan
- Phoca Hero
- Posts: 48689
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Remove blank line above "Guestbook"
If the Phoca Guestbook html or css changing didn't help, maybe some changes must be done in template css (maybe some tags - margin, padding - div, p, ...)
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 13
- Joined: 07 Feb 2008, 18:38
- Location: Switzerland
- Contact:
Re: Remove blank line above "Guestbook"
Hi Jan,
i am having the same problem with the blank line above "Guestbook". This blank line is only showing up on PhocaGuestbook-Component and no other Title/Component-Heading. Link to page: http://dunum.ch/en/guestbook.html
If you mark the title "Guestbook" and the "blank line above" when browsing with the browser chrome/iron or InternetExplorer, it really looks like a "blank line" and no margin, padding etc.
So i think it has something to do with the PhocaGuestbook-Component and cant be changed in the templates css...
If you have time to help us with this, i would be very happy
Best Regards
PhocaUser
Ps: The "blank line" is also shown, when the title ("Guestbook") is not displayed...
Edited:
It looks like there is an empty string before the title/content of the component:
(see marked line on the screenshot below)
[attachment=0]phocaGuestbook.JPG[/attachment]
i just ckecked your demo of the guestbook-component (https://www.phoca.cz/phocagallery/demo/i ... tbook-demo) and there is the same issue with the "blank line" above "Phoca Guestbook Demo"
OFF-Topic: The Captcha-Image isn't displayed at your demo-guestbook.
i am having the same problem with the blank line above "Guestbook". This blank line is only showing up on PhocaGuestbook-Component and no other Title/Component-Heading. Link to page: http://dunum.ch/en/guestbook.html
If you mark the title "Guestbook" and the "blank line above" when browsing with the browser chrome/iron or InternetExplorer, it really looks like a "blank line" and no margin, padding etc.
So i think it has something to do with the PhocaGuestbook-Component and cant be changed in the templates css...
If you have time to help us with this, i would be very happy

Best Regards
PhocaUser
Ps: The "blank line" is also shown, when the title ("Guestbook") is not displayed...
Edited:
It looks like there is an empty string before the title/content of the component:
(see marked line on the screenshot below)
[attachment=0]phocaGuestbook.JPG[/attachment]
i just ckecked your demo of the guestbook-component (https://www.phoca.cz/phocagallery/demo/i ... tbook-demo) and there is the same issue with the "blank line" above "Phoca Guestbook Demo"
OFF-Topic: The Captcha-Image isn't displayed at your demo-guestbook.
- Jan
- Phoca Hero
- Posts: 48689
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Remove blank line above "Guestbook"
Hi, thank you for the info about not showing the captcha on the demo (my webhosting operator did some changes in php,the imagecreatefromjpeg is not enable)
I have checked the blank line... The line is here becase in this line system messages will be displayed... e.g. if you add a wrong captcha then the system message will be displayed... it is saved in td tag element to get the unified form ...
Jan
I have checked the blank line... The line is here becase in this line system messages will be displayed... e.g. if you add a wrong captcha then the system message will be displayed... it is saved in td tag element to get the unified form ...
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 13
- Joined: 07 Feb 2008, 18:38
- Location: Switzerland
- Contact:
Re: Remove blank line above "Guestbook"
[quote="Jan"]I have checked the blank line... The line is here becase in this line system messages will be displayed... e.g. if you add a wrong captcha then the system message will be displayed... it is saved in td tag element to get the unified form ... [/quote]
Sorry to ask again... is there a way to remove that line or move it to the buttom of the page? Could you tell me in which file such change could be done?
Sorry to ask again... is there a way to remove that line or move it to the buttom of the page? Could you tell me in which file such change could be done?
- Jan
- Phoca Hero
- Posts: 48689
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Remove blank line above "Guestbook"
yes in php/html
components\com_phocaguestbook\views\phocaguestbook\tmpl\default.php
---
https://www.phoca.cz/development/
components\com_phocaguestbook\views\phocaguestbook\tmpl\default.php
---
https://www.phoca.cz/development/
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 13
- Joined: 07 Feb 2008, 18:38
- Location: Switzerland
- Contact:
Re: Remove blank line above "Guestbook"
...thats where i was looking for (components\com_phocaguestbook\views\phocaguestbook\tmpl\default.php), but i don't think it can be changed there. I cant find any code there thats related to the "blank line".
Also when when you look at the "Inspector-Screenshot" i posted in my previous post, the empty string "" shows up just after <div id="component"> and even before the javascript...
my guess is, that it comes from one of these files: (its just a guess
)
jimport('joomla.utilities.date');
require_once( JPATH_COMPONENT.DS.'helpers'.DS.'phocaguestbook.php' );
you wrote: "it is saved in td tag element to get the unified form ..."
somehow i cant find that td tag element....
Can you help me please?
Best Regards
PhocaUser
Also when when you look at the "Inspector-Screenshot" i posted in my previous post, the empty string "" shows up just after <div id="component"> and even before the javascript...
my guess is, that it comes from one of these files: (its just a guess

jimport('joomla.utilities.date');
require_once( JPATH_COMPONENT.DS.'helpers'.DS.'phocaguestbook.php' );
you wrote: "it is saved in td tag element to get the unified form ..."
somehow i cant find that td tag element....
Can you help me please?
Best Regards
PhocaUser
- Jan
- Phoca Hero
- Posts: 48689
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Remove blank line above "Guestbook"

If you find Phoca extensions useful, please support the project