| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
How to add a new page to the admin? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I've been searching, but I haven't found any posts on how to add a new page to the admin. I was trying to copy the other admin pages and taking out the code I didn't want. I was able to add a page and have the menus show up, but I get an error in the content area "Page not found! The requested page does not exist or you are not allowed to access it! ". Any help is always appreciated.
Thanks
__________________
Rishi-Tea.com x-cart ver. 4.0.19 |
|||||||
#2
|
|||||||
|
|||||||
![]() I should have posted here sooner, since I figured it out within 15 minutes of asking how to do it
![]() If anyone else wants to know here's how: Create your php file in the admin folder -> xcart_dir/admin/file_name.php PHP Code:
Then make the template file under skin/admin/main/file_name.tpl Code:
Finally edit skin/single/home.tpl and add an elseif statement like so Code:
Of course add the link in the admin menus which I haven't done yet
__________________
Rishi-Tea.com x-cart ver. 4.0.19 |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|