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

    hi guys

    great forum…!!

    I have a problem with the nbill conponent …every time i try to fill the component form after i click next it goes to a blank page…

    I contact the component developer… he took a look to the problem and the component is working fine…he said that the template is problem…

    please help!

    thanks

    Sherlock Friend
    #267079

    Hi abesilva !
    Please send url of your site . and please contact with developer of nbill and question him : how did he fix the problem ?

    Menalto Friend
    #267098

    And which Joomla version you are using?

    abesilva Friend
    #267162

    I know is the template becase i change the template and the component work fine!!
    Joomla 1.5

    Ill pm you the url

    Sherlock Friend
    #267282

    Hi abesilva !
    i have checked your form, but what is problem ?

    abesilva Friend
    #267375

    hi
    if you fill the form when you click next.. it wont go to the next step of the form…. (wiitch is the payment and the invices) it just go to a blank page. …!!

    Sherlock Friend
    #267457

    Hi abesilva !
    I have understood the problem . your form submits to index.php and in index.php have code section below :


    <?php if (JRequest::getCmd( 'view' ) != 'frontpage') {?>
    <jdoc:include type="component" />
    <?php } ?>

    in Frontpage , it doesn’t load “<jdoc:include type=”component” />” so then submit , it will redirect to blank page !

    abesilva Friend
    #267549

    could you let me know what i need to replace and where?

    thanks for your help!!

    Sherlock Friend
    #267619

    Hi abesilva !
    you can fix it following some steps below :
    1. Open ja_templatetools.php file find following code section at about line 240 :


    function isFrontPage(){
    return (JRequest::getCmd('option')=='com_content' && !JRequest::getInt('id'));
    }

    change to :


    function isFrontPage(){
    return (JRequest::getCmd( 'option' )=='com_content' && JRequest::getCmd( 'view' ) == 'frontpage') ;
    }

    2. Open index.php file and find following code section at about line 165 :


    <?php if (JRequest::getCmd( 'view' ) != 'frontpage') {?>
    <jdoc:include type="component" />
    <?php } ?>

    change to :


    <?php if(!$tmpTools->isFrontPage()) : ?>
    <jdoc:include type="component" />
    <?php endif; ?>

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

This topic contains 9 replies, has 3 voices, and was last updated by  Sherlock 16 years, 3 months ago.

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