DIV Container problem

  • Topic Author
  • Visitor
  • Visitor
12 years 9 months ago #6904 by
DIV Container problem was created by
Hallo admin,

installed Mod and Plg for JomSocial and it workes well... but sometimes, if the User has not marked his position in the Plugin, my design is a mess. The right modulposition is not where it has to be. It is below the map.

No I was looking in my template if there is any error, because it seems to be a open div-container problem. But in my template I have the same amount of <div> and </div> in a proper order. Everthing is ok.

No I have counted the <div and </div in the geommunitylocator.php plugin.
There I have 22 <div> , but only 21 </div>.

That means that one container keeps open. This open container obviously causes the problem in the design, because it takes any other </div> in other php-file to close the container.

Please can you tell my, where I have to insert the missing </div> in geommunitylocator.php?.

Peter

Please Log in or Create an account to join the conversation.

More
12 years 9 months ago #6905 by nordmograph
Hello
Have you counted in the php file or in the page source code?
It seems to be in the php file right?

In a php file you can eventually have different amounts of <div and </div
Can you point me to the url so I can have a look?
I have no success reporducing it

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.

Please Log in or Create an account to join the conversation.

More
12 years 9 months ago #6906 by nordmograph
Oh I think I have it, can you change line 769:
Code:
$html .='<div style="width:'.$width.';text-align:right\"><img src="'.$juri.$appfiles_path.'favicon.png" alt="Geommunity" width="16" height="16"/> <b>'.$user_username.'</b> '.JText::_('PLG_GEOLOC_HASNOTYET');

to
Code:
$html .='<div style="width:'.$width.';text-align:right\"><img src="'.$juri.$appfiles_path.'favicon.png" alt="Geommunity" width="16" height="16"/> <b>'.$user_username.'</b> '.JText::_('PLG_GEOLOC_HASNOTYET').'</div>';

Let me know

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.

Please Log in or Create an account to join the conversation.

  • Topic Author
  • Visitor
  • Visitor
12 years 9 months ago #6907 by
Replied by on topic Re: DIV Container problem
Hallo

and thanks for the quick reply.

Sorry, but I have to go now.... I will check it tomorrow and will give you the result asap.

Peter

Please Log in or Create an account to join the conversation.

  • Topic Author
  • Visitor
  • Visitor
12 years 8 months ago #6911 by
Replied by on topic Re: DIV Container problem
Hallo admin,

I have put the </div> in the recommended place and ..... bingo..... all is perfect now.

That was defenitely the problem.

I have tried it first on my local PC-installation. Without the additional </div> I got a white page on the perfile page, when the location was not set yet in the plugin. After putting the </div> it workes ok now.

A missing </div> can cause a big problem.

You made my day....
Thanks a lot
Peter

Please Log in or Create an account to join the conversation.

Time to create page: 0.321 seconds
Powered by Kunena Forum
Disclaimer: Nordmograph is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.