| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Problems with php in sidebox | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() I want to make a new side box on the right with php content, but when I put the php code in the tpl its not working, I was looking for a solution and in the smarty manual I found that with the include_php it must be okay but no. I get always smarty errors.
I put in the home.tpl above the news: Quote:
and in my idezetek.tpl: Quote:
in the idezetek.php: Quote:
the idezetek.tpl and the idezetek.php is in my skindirectory/modules. Any idea why its not working? |
|||||||||
#2
|
|||||||
|
|||||||
![]() It looks like your include_php is missing the path - should be modules/idezetek.php
If you are still having problems please post the exact error message you are getting so we can have a better idea of what the problem is.
__________________
Manuka Bay Company X-Cart Version 4.0.19 [Linux] UGG Boots and other fine sheepskin products http://www.snowriver.com |
|||||||
#3
|
|||||||||
|
|||||||||
![]() The .php and .tpl are in the same directory in /modules.
I will paste here the code soon. |
|||||||||
#4
|
|||||||
|
|||||||
![]() I understand that, but:
Code:
__________________
Manuka Bay Company X-Cart Version 4.0.19 [Linux] UGG Boots and other fine sheepskin products http://www.snowriver.com |
|||||||
#5
|
|||||||||
|
|||||||||
![]() Okay the problem is away.
![]() I used the skin1/modules path and all is okay, without errors and problems, only the main layout was a bit changed when I inserted the box, but its fixed also. Thank you for enlightening my mind ![]() |
|||||||||
|
|||
X-Cart forums © 2001-2020
|