Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

SQL Query Backend

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-14-2016, 12:01 PM
  McGuireArmyNavy's Avatar 
McGuireArmyNavy McGuireArmyNavy is offline
 

Member
  
Join Date: Oct 2013
Posts: 29
 

Default SQL Query Backend

I'm trying to run a query on all pages on the admin side of my site. Is there any one .php file that runs on every page of the admin end that I can put the query into?
I tried admin/home.php with no luck.
Any ideas?
__________________
X-Cart Gold 4.6.4
www.mcguirearmynavy.com
Reply With Quote
  #2  
Old 03-14-2016, 12:53 PM
  razortw's Avatar 
razortw razortw is offline
 

X-Cart team
  
Join Date: Feb 2015
Posts: 807
 

Default Re: SQL Query Backend

May I ask what problem you are trying to solve with this?
Maybe there is another way to achieve that.

Thanks.
__________________
Best regards,
Igor Pudovkin
X-Cart hosting team
Reply With Quote
  #3  
Old 03-15-2016, 04:27 AM
  McGuireArmyNavy's Avatar 
McGuireArmyNavy McGuireArmyNavy is offline
 

Member
  
Join Date: Oct 2013
Posts: 29
 

Default Re: SQL Query Backend

I am trying to have a notification on my top bar reminding me about upcoming holidays, so i can work out a sale or whatever.
I created a table with all the info, but I can only get it to show on very specific pages
__________________
X-Cart Gold 4.6.4
www.mcguirearmynavy.com
Reply With Quote
  #4  
Old 03-15-2016, 06:01 AM
  cherie's Avatar 
cherie cherie is offline
 

X-Wizard
  
Join Date: May 2003
Location: USA
Posts: 1,534
 

Default Re: SQL Query Backend

Maybe admin/auth.php would work?
__________________
redlimeweb.com
custom mods and design integration
4.7 linux
Reply With Quote

The following user thanks cherie for this useful post:
McGuireArmyNavy (03-15-2016)
  #5  
Old 03-15-2016, 06:33 AM
  McGuireArmyNavy's Avatar 
McGuireArmyNavy McGuireArmyNavy is offline
 

Member
  
Join Date: Oct 2013
Posts: 29
 

Default Re: SQL Query Backend

Quote:
Originally Posted by cherie
Maybe admin/auth.php would work?
Thank you.
Seems to be working perfectly
__________________
X-Cart Gold 4.6.4
www.mcguirearmynavy.com
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 12:24 PM.

   

 
X-Cart forums © 2001-2020