-
AuthorPosts
-
August 24, 2008 at 9:43 pm #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 FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
August 25, 2008 at 4:15 am #267079Hi abesilva !
Please send url of your site . and please contact with developer of nbill and question him : how did he fix the problem ?Menalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
August 25, 2008 at 6:38 am #267098And which Joomla version you are using?
August 25, 2008 at 3:02 pm #267162I know is the template becase i change the template and the component work fine!!
Joomla 1.5Ill pm you the url
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
August 26, 2008 at 3:36 am #267282Hi abesilva !
i have checked your form, but what is problem ?August 26, 2008 at 12:56 pm #267375hi
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 FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
August 27, 2008 at 1:24 am #267457Hi 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 !
August 27, 2008 at 11:53 am #267549could you let me know what i need to replace and where?
thanks for your help!!
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
August 28, 2008 at 2:24 am #267619Hi 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; ?>
-
AuthorPosts
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