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

Search to find template I need to edit??

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-08-2007, 10:31 AM
 
Berrycakes Berrycakes is offline
 

Member
  
Join Date: Jan 2007
Location: Arizona
Posts: 16
 

Arrow Search to find template I need to edit??

Hi,

I have a silly question. I have been searching for the answer prior to posting, but I can't seem to find it. I'm sure it's been asked before, but I'll ask again.

Is there a way to "search" to find a specific template to edit in the back end of xcart? For example, (and this post happens to apply to my current issue):

Quote:
Look at the very top of include/search.php, this bunch of code:

"productcode" => func_get_langvar_by_name("lbl_sku"),
"title" => func_get_langvar_by_name("lbl_product"),
"price" => func_get_langvar_by_name("lbl_price"),
"orderby" => func_get_langvar_by_name("lbl_default")

The above info was posted, but if I don't happen to know where to find the "include/search.php" file so that I can change it, is there some type of simple place to search for it by name, instead of having to browse through all the templates?

If this question was already answered, I apologize in advance. Thanks for the help!
__________________

Berrycakes
X-Cart Gold version 4.0.17
w/customer manager, sales n stats
and lots of other mods.
Reply With Quote
  #2  
Old 03-08-2007, 10:49 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Search to find template I need to edit??

That is not a template, but a php file. You would find it in the include directory in the root directory where you installed X-Cart. You can't edit it in the admin area of X-Cart, you need to access it via FTP.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 03-08-2007, 10:50 AM
  Warwick's Avatar 
Warwick Warwick is offline
 

X-Adept
  
Join Date: Mar 2003
Location: Somewhere on the web through European connection
Posts: 868
 

Default Re: Search to find template I need to edit??

include/search.php is situated in the directory where your shop is installed so:

<you shop directory> / include / search.php

balinor beat me to it ... fast as lightning this guy
__________________
Installs: X-Cart 4.1.x - 4.4.x ∙∙ MySQL version: 5.0.45 ∙∙ Apache version: 2.2.8 (Unix) ∙∙ PHP version: 5.25
X-Cart add-ons: all ∙∙ Mods: A lot; too many ∙∙ Skin templates: Many
∙∙ Experience: Somewhere beyond newbie
-----------------------------------
------------------------------------------------------------------------------------------------------
Looking for the best dutch language pack? 4.1.x - 4.6.x compatibel, native speaker translation! More info
Reply With Quote
  #4  
Old 03-08-2007, 03:00 PM
 
Berrycakes Berrycakes is offline
 

Member
  
Join Date: Jan 2007
Location: Arizona
Posts: 16
 

Default Re: Search to find template I need to edit??

Thank you, and thank you for both pieces of information. Worked great!!
__________________

Berrycakes
X-Cart Gold version 4.0.17
w/customer manager, sales n stats
and lots of other mods.
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 07:15 AM.

   

 
X-Cart forums © 2001-2020