Jump to content

 

nnaaddrr

Member Since 21 May 2020
Offline Last Active May 25 2020 01:46 PM
-----

Topics I've Started

Style Is Ignored In My Custom Template

21 May 2020 - 07:05 PM

Hi, I am fairly new to cs cart.

 

I created a custom controller in:

app/controllers/frontend/test.php

 

and created a tpl file to go with it in:

design/themes/responsive/templates/views/test/view.tpl

 

 

When I write the url: www.mywebsite.com/index/php?dispatch=test.view

 

 

The (view.tpl) page gets recognized by the controller, but the content of (view.tpl) doesn't show and all global style on other pages in y website is lost in this page, and the title of the page comes as url path?

 

No Idea what is going on?