test
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • nishunb Friend
    #155645

    Hi

    I am trying to install aicontactsafe component and it says that as I dont have <jdoc:include type=”message” statement in my index.php, it can not function properly.

    Can you let me know that in the T3 V2 where can I find these statements.

    Thanks
    Nishant

    aman204 Friend
    #360345

    Both code snippets are located in this file reference::

    plugins/system/jat3/base-themes/default/page/component.php

    nishunb Friend
    #361132

    Hi Aman

    Thanks a lot for your reply. Was out because of fever so couldnt thank you earlier for the info 🙂

    veeco Friend
    #361648

    it doesn’t work in my end..
    i changed to this:

    <body id=”bd” class=”<?php echo $this->getBodyClass();?> contentpane”>
    <jdoc:include type=”message” />
    TESTING START
    <jdoc:include type=”component” />
    TESTING END
    </body>

    but when i view the source from browser… no TESTING START and TESTING END found !
    i need to add specific DIV in <jdoc:include type=”component” /> for ajax purpose

    aman204 Friend
    #361748

    Hi veeco,

    Can you please eloborate as to what you wish to achieve

    veeco Friend
    #361884

    basically i have it change :
    <jdoc:include type=”component” />

    to

    <div id=”main_search”><jdoc:include type=”component” /></div>

    but i can’t find <div id=”main_search”> on my front-end even when i made the changes in :
    plugins/system/jat3/base-themes/default/page/component.php

    please help.. thanks

    aman204 Friend
    #362134

    <em>@veeco 202308 wrote:</em><blockquote>basically i have it change :
    <jdoc:include type=”component” />

    to

    <div id=”main_search”><jdoc:include type=”component” /></div>

    but i can’t find <div id=”main_search”> on my front-end even when i made the changes in :
    plugins/system/jat3/base-themes/default/page/component.php

    please help.. thanks</blockquote>

    Hi,

    I have taken a deeper look and seems that this code syntax is being overridden

    You can please change this::

    <?php if (!$this->getParam (‘hide_content_block’, 0)): ?>
    <div id=”ja-content-main” class=”ja-content-main clearfix”>
    <?php echo $this->showBlock (‘content’) ?>
    </div>
    <?php endif ?>

    to

    <?php if (!$this->getParam (‘hide_content_block’, 0)): ?>
    <div class=”YOUR_CLASS_ATTRIBUTE”><div id=”ja-content-main” class=”ja-content-main clearfix”>
    <?php echo $this->showBlock (‘content’) ?>
    </div></div>
    <?php endif ?>

    in plugins/system/jat3/base-themes/default/page/default.php and you will be able to get desired results as needed 🙂

    YOUR_CLASS_ATTRIBUTE — You can change this to your class attribute

    orsat Friend
    #364117

    Hi,

    Great, I was also wondering where to change/modify the html code generated in the template.

    One question, if we modify this and maybe other files in the plugin folder, what happenes when we wish to upgrade the framework and template files using upgrade from the administration, are the plugin files overwritten when upgrading.

    Thanks…

    veeco Friend
    #364204

    This is where joomla’s template overriden comes handy.. you just need to copy the file and create similiar structure in your template folder.. (you can put it on your template root or from your /core/themes/ template)

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

This topic contains 9 replies, has 4 voices, and was last updated by  veeco 14 years, 1 month ago.

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