Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • mazhar shah Friend
    #164272

    I am using JA Business template. On some sections of my site i need to remove the top menu bar altogether.

    Following JAT3 instructions to remove or move blocks, I deleted the line:
    <block name=”mainnav” type=”mainnav” wrap-inner=”1″ main-inner=”2″></block>

    This removes the menu from the site and ‘seems’ to work, but then If I turn on ‘Optimise JS Join & Minify & Compress’ in Admin, I get a JS error on the site which shows in the foot of Internet Explorer. Of course this also means that all other JS pop-ups in components such as Jomsocial, stop working too.

    If I turn Optimise JS Off, everything works again.

    It ONLY happens by removing this mainnav block. If I remove other blocks such as
    <block name=”cpanel” type=”usertools/cpanel”></block> there are no errors and everything works fine.

    So the question is, How can I safely remove this block:
    <block name=”mainnav” type=”mainnav” wrap-inner=”1″ main-inner=”2″></block>
    without encountering errors whilst using the Optimise JS option in admin.

    The errors are:

    Webpage error details

    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; InfoPath.2)
    Timestamp: Sat, 21 May 2011 11:51:48 UTC

    Message: Object expected
    Line: 56
    Char: 14
    Code: 0
    URI: /index.php?jat3action=gzip&type=js&file=t3-assets/jsce9e7.js

    Message: ‘joms’ is undefined
    Line: 145
    Char: 1
    Code: 0

    Message: ‘joms’ is undefined
    Line: 349
    Char: 7
    Code: 0

    pallavi_t Friend
    #393639

    hi,
    I am not sure why you are getting this error ?
    Could you please update your admin details and ftp details at http://support.joomlart.com/index.php?/Tickets/Ticket/View/73044
    So,I will have a look at it.

    mazhar shah Friend
    #393802

    I have been reluctant to renew my membership because of these problems. I sent my site login and ftp details to khoand (another support member) but have not heard nothing. If you want me to send the site details to your inbox I can.

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 2 voices, and was last updated by  mazhar shah 13 years, 5 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum