Remove Masshead on certain categories

Hi everyone,
I’m looking to use Masshead but have the option to disable it in some categories.
I have tried the following in the Layout update in some categories:
<remove name=”jmmasshead_new”/>
and
<reference name=”content”>
<remove name”jmmasshead_new”/>
</reference>
But this doesn’t seem to work at all. Any help would be really appreciated.
 
Michael

15 answers

Profile photo of Ziven Staff 100280.00 $tone August 14, 2015
Public

Hi  Michael,
Sorry for about delay you message long time. I’m tried connect to your site but not success. Maybe your site have been limit my ip.
Can’t connect to the site and http://FTP. 
Please try add access my IP if needed. my IP right now is: 
118.70.176.221
 
 
Best Regards,
Ziven.

#4
Profile photo of Ziven Staff 100280.00 $tone August 19, 2015
Public

@Michael,
Hope you are happy and resolved all the trouble.
Regard the FTP please tell me the FTP URL. I’m still can’t connect to your site. http://prntscr.com/86ab98
Best Regards,
Ziven.

#6
Profile photo of Michael Marceau 130.00 $tone August 20, 2015
Public

Hi Ziven,
I will check why domain doesn’t point properly from your IP. Meanwhile you can access with IP 184.107.163.220.
normally if you reverse DNS the IP, it should point you to magaly.net…
If you still can’t connect, let me know.
Michael

#7
Profile photo of Michael Marceau 130.00 $tone August 20, 2015
Public

Hi Ziven,
I really don’t understand why. I have whitelisted your IP everywhere. I do trust you for sure! I really want this to get over with. If you download Teamviewer, I should be able to see your screen. Can you do that and send me a private msg with USER ID and PASS?
Thanks
Michael

#9
Profile photo of Michael Marceau 130.00 $tone August 20, 2015
Public

Just for information, in JM_Kidsland documentation, the following file needs to be modified:
app/design/frontend/default/jm_kidsland/layout/catalog.xml
Comment out this part:
________________________________________
<block type=”joomlart_jmmasshead/core” name=”jmmasshead_new” as=”jmmasshead_new”>
                <action method=”setData”><name>background</name><value>masshead/mass-head1.jpg</value></action>
            </block>
________________________________________
To add masshead to some categories, you can add custom layout that should look like:
________________________________________
<reference name=”mass-head”>    
<block type=”joomlart_jmmasshead/core” name=”jmmasshead_new” as=”jmmasshead_new”>
                     <action method=”setData”><name>title</name><value>Aide à la lecture</value></action>
                                    <action method=”setData”><name>description</name><value>La lecture accessible à tous!</value></action>
                    <action method=”setData”><name>background</name><value>masshead/mass-tts.jpg</value></action>
    </block>
</reference>
_____________________________________
 
Thanks to Ziven for his help in finding the solution.
 
michael

#15

This question is now closed

Written By

Comments