Page 1 of 2
Remove blank line above "Guestbook"
Posted: 02 Sep 2008, 11:33
by rtt
Hi, i have been searching for the source where i can remove the blank line above the "Guestbook" see picture:
empty_line.jpg
Can you help me please?
Greetings Ton
Re: Remove blank line above "Guestbook"
Posted: 03 Sep 2008, 01:25
by Jan
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
Re: Remove blank line above "Guestbook"
Posted: 04 Sep 2008, 15:49
by rtt
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
Re: Remove blank line above "Guestbook"
Posted: 04 Sep 2008, 19:09
by Jan
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
Re: Remove blank line above "Guestbook"
Posted: 07 Oct 2008, 11:43
by PhocaUser
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.
Re: Remove blank line above "Guestbook"
Posted: 07 Oct 2008, 18:50
by Jan
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
Re: Remove blank line above "Guestbook"
Posted: 07 Oct 2008, 21:17
by PhocaUser
[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?
Re: Remove blank line above "Guestbook"
Posted: 08 Oct 2008, 16:46
by Jan
yes in php/html
components\com_phocaguestbook\views\phocaguestbook\tmpl\default.php
---
https://www.phoca.cz/development/
Re: Remove blank line above "Guestbook"
Posted: 08 Oct 2008, 17:18
by PhocaUser
...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
Re: Remove blank line above "Guestbook"
Posted: 08 Oct 2008, 17:25
by Jan

so then it must be some other output ???