tuglu Posted April 24, 2020 Share Posted April 24, 2020 Hi there guys, I’m wondering how to work the code below on a page opened by Design/Pages/AddNewPage. Code: SELECT draw_name,draw_code,firstname FROM m_draw,'._DB_PREFIX_.'customer WHERE '._DB_PREFIX_.'customer.id_customer = m_draw.id_customer Order By id_draw DESC Thank you for your help Link to comment Share on other sites More sharing options...
NemoPS Posted April 27, 2020 Share Posted April 27, 2020 You'll need to edit the cmsController, or hook something to displayHeader and have it run the code only when $this->context->controller->php_self is "cms". I am not aware of other ways right now. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now