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

Changing Admin Templates...

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-08-2002, 12:40 AM
 
amanda amanda is offline
 

Advanced Member
  
Join Date: Oct 2002
Posts: 41
 

Default Changing Admin Templates...

Hi

I want to disable some options in the admin area, I only want to change what's in the center of the main admin page, I have already modified the links on the left and right, can anybody point me towards the appropriate template file?

Thanks
Amanda
Reply With Quote
  #2  
Old 12-08-2002, 09:56 AM
  alien1's Avatar 
alien1 alien1 is offline
 

Member
  
Join Date: Dec 2002
Location: Vancouver
Posts: 11
 

Default Turn on Debugging

You can go into General settings and activate "Debugging" mode. With this, you will get another page of html output when you go to different pages of your X-Cart site, which shows which templates are employed in generatinmg the code for that pages.

Once you have finished your modifications, you can, of course, deactivate it.
__________________
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
alien1
member
THE X-TOUR
Sightseeing Vancouver & its Hollywood
http://x-tour.com
alien1@x-tour.com
***************************************
Reply With Quote
  #3  
Old 12-09-2002, 09:30 AM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

I have just done this for one client and the files are:

admin/main/promotions.tpl
provider/main/promotions.tpl

(obvious wasn't it!!)
__________________
ex x-cart guru
Reply With Quote
  #4  
Old 12-09-2002, 10:01 AM
  alien1's Avatar 
alien1 alien1 is offline
 

Member
  
Join Date: Dec 2002
Location: Vancouver
Posts: 11
 

Default Where are the files

Quote:
admin/main/promotions.tpl
provider/main/promotions.tpl

I can't see the files you refer to, Funkydunk.
__________________
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
alien1
member
THE X-TOUR
Sightseeing Vancouver & its Hollywood
http://x-tour.com
alien1@x-tour.com
***************************************
Reply With Quote
  #5  
Old 12-09-2002, 11:03 AM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

what version are you running?
__________________
ex x-cart guru
Reply With Quote
  #6  
Old 12-09-2002, 11:34 AM
  alien1's Avatar 
alien1 alien1 is offline
 

Member
  
Join Date: Dec 2002
Location: Vancouver
Posts: 11
 

Default Version 3.2.2

I'm running 3.2.2 Pro with Affiliate.

I think what I have to do is add a date field to each product. then, add a table called, say, "Availability."

If I add a button "Check availability," then a customer can choose the tour product, then that button calls a subroutine taking the date he entered and check if there is space in the table, deduct the number of spaces he is booking, then carry on with the check-out.

If you are suggesting that the "promotions.tpl" file is where I add the subroutine, you might be correct, I just have not analyzed it that much.
__________________
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
alien1
member
THE X-TOUR
Sightseeing Vancouver & its Hollywood
http://x-tour.com
alien1@x-tour.com
***************************************
Reply With Quote
  #7  
Old 12-09-2002, 10:56 PM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

alien1

I think we are talking at cross threads here cos the promotions.tpl is to change the admin menu items that appear within the central area.

What are you trying to do?
__________________
ex x-cart guru
Reply With Quote
  #8  
Old 12-09-2002, 11:00 PM
  alien1's Avatar 
alien1 alien1 is offline
 

Member
  
Join Date: Dec 2002
Location: Vancouver
Posts: 11
 

Default Wrong Post

You're right.

I thought you were talking about how to adda table so I could do a look up on my tour supply, which was the content of anothe post I had made.

So, that's what got me confused. I started looking for a subroutine in the pages you referenced, but their contents didn't make sense.

No problem. I am in the process of answering my own, earlier post.

Cheers!
__________________
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
alien1
member
THE X-TOUR
Sightseeing Vancouver & its Hollywood
http://x-tour.com
alien1@x-tour.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 06:06 PM.

   

 
X-Cart forums © 2001-2020