Hi,
found two minor bugs (I think). Feel free to move this topic, if placed in wrong forum.
1. Placing of the component in the template breaks the template div on top.
See picture.
2. The Footer text float left when the is no article in any category
See picture.
If you want I can arrange a testpage for this. Personally I've solved this, just think you ought to know.
(Template is Shape 5 - Sea of Glas)
Regards
Akerman
Solved! - 2 small Div issues in component
- akerman
- Phoca Member
- Posts: 42
- Joined: 07 Jul 2008, 18:42
- Location: Sweden - Stockholm
- Contact:
Solved! - 2 small Div issues in component
Last edited by akerman on 05 Dec 2008, 22:00, edited 1 time in total.
http://www.AkermansCove.com - CMS Addons! & Royalty Free Images
http://www.InfoClip.se - Swedish site for Practical knowledge.
Ubuntu LAMP / Joomla 1.5.8 / VM 1.1.2 Stable / JoomFish / Mosets Tree
/ Joomsuite / Phoca / JoomGallery /
http://www.InfoClip.se - Swedish site for Practical knowledge.
Ubuntu LAMP / Joomla 1.5.8 / VM 1.1.2 Stable / JoomFish / Mosets Tree
/ Joomsuite / Phoca / JoomGallery /
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: 2 small Div issues in component
Hi,
thank you for this information, I will take a look at it, maybe It will be needed to add clear:box in case, only one or two columns will be displayed... if you have solved it for yourself, please let me know this fix...
thank you, Jan
thank you for this information, I will take a look at it, maybe It will be needed to add clear:box in case, only one or two columns will be displayed... if you have solved it for yourself, please let me know this fix...
thank you, Jan
If you find Phoca extensions useful, please support the project
- akerman
- Phoca Member
- Posts: 42
- Joined: 07 Jul 2008, 18:42
- Location: Sweden - Stockholm
- Contact:
Re: 2 small Div issues in component
Hi,
The footer:
It worked fine with just a 'clear:both'
To make it simple I just took out the styling in the PHP file and placed it in the CSS, calling it with 'class' as usual.
The 'breaking' DIV's
In my case it was actually a cheat! You see, I have created some new position in the top of the content pane and there I put a banner (kind of a category / header banner for the page. As soon as that position is published, and consequently the component is pushed down; the DIV break heals itself. (The template position has a clear:both)
Tell me if I'm unclear and I'll post the coding... but you get the picture I suppose...
Regards
Akerman
The footer:
It worked fine with just a 'clear:both'
To make it simple I just took out the styling in the PHP file and placed it in the CSS, calling it with 'class' as usual.
The 'breaking' DIV's
In my case it was actually a cheat! You see, I have created some new position in the top of the content pane and there I put a banner (kind of a category / header banner for the page. As soon as that position is published, and consequently the component is pushed down; the DIV break heals itself. (The template position has a clear:both)
Tell me if I'm unclear and I'll post the coding... but you get the picture I suppose...
Regards
Akerman
http://www.AkermansCove.com - CMS Addons! & Royalty Free Images
http://www.InfoClip.se - Swedish site for Practical knowledge.
Ubuntu LAMP / Joomla 1.5.8 / VM 1.1.2 Stable / JoomFish / Mosets Tree
/ Joomsuite / Phoca / JoomGallery /
http://www.InfoClip.se - Swedish site for Practical knowledge.
Ubuntu LAMP / Joomla 1.5.8 / VM 1.1.2 Stable / JoomFish / Mosets Tree
/ Joomsuite / Phoca / JoomGallery /
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: 2 small Div issues in component
please let me know the coding...
If you find Phoca extensions useful, please support the project
- akerman
- Phoca Member
- Posts: 42
- Joined: 07 Jul 2008, 18:42
- Location: Sweden - Stockholm
- Contact:
Re: 2 small Div issues in component
For the Footer:
1. Edited the 'phocadocumentation.php'
1a. Inserted new CSS:
2. For the "breaking <DIV>:
Like I said, I just inserted a new module position above component area and published my module (headerimage). The component is pushed down and problem gone.
PS!
I tried to recreate the problem but after a lot of testing, my conclusion is that this ONLY happens if the following is fulfilled:
1. There are less than three Sections published (leaving open space to the right...)
2. There are no 'Most Viewed' entries available (nothing that stops the footer to float left)
3. The original Footer styling is there.
All this 'allows' for the Footer to float up (with the existing CSS), and break the template <DIV>.
(Probably differs a lot between different templates... as always)
It is my belief that if only the Footer CSS above (i.e. clear:both) is introduced, none of the above issues will show up.
Regards
Akerman
1. Edited the 'phocadocumentation.php'
Code: Select all
define( 'PHOCA_DOCUMENTATION_FOOTER', '<div class="phoca-footer">Powered by <a href="https://www.phoca.cz/phocadocumentation/">Phoca Documentation</a></div>');
1a. Inserted new CSS:
Code: Select all
.phoca-footer {
clear:both;
text-align:center;
font-size:0.7em;
color:#ccc;
padding-top:30px;
}
Like I said, I just inserted a new module position above component area and published my module (headerimage). The component is pushed down and problem gone.
PS!
I tried to recreate the problem but after a lot of testing, my conclusion is that this ONLY happens if the following is fulfilled:
1. There are less than three Sections published (leaving open space to the right...)
2. There are no 'Most Viewed' entries available (nothing that stops the footer to float left)
3. The original Footer styling is there.
All this 'allows' for the Footer to float up (with the existing CSS), and break the template <DIV>.
(Probably differs a lot between different templates... as always)
It is my belief that if only the Footer CSS above (i.e. clear:both) is introduced, none of the above issues will show up.
Regards
Akerman
http://www.AkermansCove.com - CMS Addons! & Royalty Free Images
http://www.InfoClip.se - Swedish site for Practical knowledge.
Ubuntu LAMP / Joomla 1.5.8 / VM 1.1.2 Stable / JoomFish / Mosets Tree
/ Joomsuite / Phoca / JoomGallery /
http://www.InfoClip.se - Swedish site for Practical knowledge.
Ubuntu LAMP / Joomla 1.5.8 / VM 1.1.2 Stable / JoomFish / Mosets Tree
/ Joomsuite / Phoca / JoomGallery /
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: 2 small Div issues in component
ok
If you find Phoca extensions useful, please support the project