- Posts: 12
- Thank you received: 0
Frontpage don't show empty inset
-
rruiten
Inactive member -
Topic Author
- New Member
-
Less
More
14 years 5 months ago #3274
by rruiten
Frontpage don't show empty inset was created 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
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
-
Less
More
- Posts: 6794
- Thank you received: 722
14 years 5 months ago #3275
by milos
Replied by milos on topic Re: Frontpage don't show empty inset
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.
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
-
Less
More
- Posts: 12
- Thank you received: 0
14 years 5 months ago #3281
by rruiten
Replied by rruiten on topic Re: Frontpage don't show empty inset
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.
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
-
Less
More
- Posts: 6794
- Thank you received: 722
14 years 5 months ago #3284
by milos
Replied by milos on topic Re: Frontpage don't show empty inset
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
before
(around line 257) and add this
before
(around line 360).
Code:
<?php if (@$_REQUEST['view'] != 'frontpage') { ?>
Code:
<div class="wrapper6">
Code:
<?php } ?>
Code:
<div style="clear:both"></div>
Please Log in to join the conversation.
-
rruiten
Inactive member -
Topic Author
- New Member
-
Less
More
- Posts: 12
- Thank you received: 0
14 years 5 months ago #3289
by rruiten
Replied by rruiten on topic Re: Frontpage don't show empty inset
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?
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
-
Less
More
- Posts: 6794
- Thank you received: 722
14 years 5 months ago #3290
by milos
Replied by milos on topic Re: Frontpage don't show empty inset
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.185 seconds