If you are publishing a component in a custom module area, to have it as the main component of your home/start page, then why does it also appear in the main area? Do you have any idea why this is happening?
Custom module area being shown twice !?
soren9000dk To be more precise and avoid confusion/ambiguity in addressing your query, Kindly provide further details to troubleshoot closely :
1) Component which you had tried adding in custom module
2) Method employed in deriving the same as the same can be derived through 3rd party extension also
- Edited
I just create a Custom HTML module to show an article or "Hotspot Pro" component. Then I assign that to the Menu Item to appear in position GRID1. For unknown reasons its shown twice, as the MAIN area emerges below GRID1 area.
The areas has been colored to be identified:
GRID1 = pink
MAIN = green
soren9000dk Hi. I'm sorry, but I do not understand. I've just visited Your site and see no module displaying twice:
Can You please explain or show use the problem described?
- Edited
Please try one of the Menu Items and you'll see what I mean:
- Edited
soren9000dk Hi
Apparently, Things seem bit confusing as most of modules rendering appear to be quite similar
You may also hide the main content (area) block -component for specific page following page class suffix tutorial if wishing to hide the component area for specific page
For troubleshooting purposes, Kindly try the following :
1) Try assign default joomla template - Protostar and assign similar module to positions available in default template to see how it goes then
2) Try 3rd party extension to derive the similar purpose
- Edited
Hi anan204
Thanks for helping me (again).
1) Yesterday I actually tested with Protostar and it worked just fine without this duality.
2) Unfortunately I do not know any other 3rd party extension that can be added into another area, using a {code} inside the custom html module. But the same happens when articles are published using the custom html module method. Please try selecting menu item "Article 1 (GRID6)" to see the issue repeated.
I think the said "page class suffix" could be the solution. Would you like to help me with the specific code that hides the green "MAIN" area shown on the screenshot above?
- Edited
soren9000dk Would you like to help me with the specific code that hides the green "MAIN" area shown on the screenshot above, although this might be combined to a joomla related question?
Kindly check now. Ensure to clear your browser cache if changes dont reflect.
1) Have added page class suffix as seen in screenshot for specific menu item
2) Thereafter, Added this to custom.css file :
.no-contentblock section.article-content{display:none;}
to derive the result as mentioned earlier.
- Edited
Thank you for quickly replying.
Both areas are not supposed to be hidden as they seem to be.
I would be very pleased if you would tell me the specific code that hides the green "MAIN" area only, as the pink "GRID6" area still has to be visible. What would the code be then?
soren9000dk I would be very pleased if you would tell me the specific code that hides the green "MAIN" area only, as the pink "GRID6" area still has to be visible. What would the code be then?
You may check now. Ref: Screenshot as I have changed the above CSS a bit by changing selector which targets precisely the main content block now -
.no-contentblock section#mainwrap{display:none;}
Hi anan204
It works :-)
I'm very pleased. Thank you so much.