Frontpage don't show empty inset

  • rruiten
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 4 months ago #3274 by rruiten
I want the frontpage to be cleared of the inset.

The smallest i get it is the size of a mailboxopening but i can't seem to remove it.

What i want is the following.
When there is no artikel or module on the inset then don't show it. Is it possible to do that?

With regards,

Robert

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
13 years 4 months ago #3275 by milos
What you mean by "inset"? Do you mean inset module position? It's collapsible, meaning if there are no modules published on it, it would not be shown.

If that's not your problem, please give me your link.

Please Log in to join the conversation.

  • rruiten
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 4 months ago #3281 by rruiten
I've removed frontpage artikel from the inset module but it doesn't collapse. I've removed the headers from the menu and there is no mod linked to the inset, but no collapse. I keep getting the white mailboxslot.

You may take a peek at
Part of the message is hidden for the guests. Please log in or register to see it.


Part of the message is hidden for the guests. Please log in or register to see it.


Part of the message is hidden for the guests. Please log in or register to see it.


It runs ubuntu under vmplayer so it's not that fast, but it's development.

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
13 years 4 months ago #3284 by milos
This is not inset position. Perhaps you'd like to disable entire main content area from the home page. Please edit /templates/hot_restaurant/index.php and add this
Code:
<?php if (@$_REQUEST['view'] != 'frontpage') { ?>
before
Code:
<div class="wrapper6">
(around line 257) and add this
Code:
<?php } ?>
before
Code:
<div style="clear:both"></div>
(around line 360).

Please Log in to join the conversation.

  • rruiten
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 4 months ago #3289 by rruiten
It worked, but now i'm missing the fontselector and the darker red band, and it only works for the frontpage.

Has the problem about not being collapsable something to do with the png's you are putting in there?

If it's possible i would like the inset module not vissible when there are no modules or articels asociated with it?

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
13 years 4 months ago #3290 by milos
What you are trying to hide is not the "inset" module position (I already said it). This is part with main content tag and usually it should not be hidden. I believe my instructions give you the best possible result. You can do further experiments yourself to get even better results, if possible.

Please Log in to join the conversation.

Time to create page: 0.298 seconds
Powered by Kunena Forum