Jump to content



Photo
- - - - -

Where are SQL Filtres?


This topic has been archived. This means that you cannot reply to this topic.
6 replies to this topic

#1   curiosul

curiosul
  • Members
  • 3 posts

Posted 18 January 2012 - 13:11

Hi! I've installed osCommerce script and i want to check some issues!
I want to know where is the .php file with sql filtres?

Thank you!

Edited by curiosul, 18 January 2012 - 13:12.


#2   DunWeb

DunWeb

    The Censored One

  • Members
  • 13,084 posts

Posted 18 January 2012 - 13:39

@curiosul,

I am not sure what you mean by SQL filters, but each file that draws information from the database has its own SQL query so you are going to have to be more specific.



Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:

See my Profile to learn more about add ons, templates, support plans and custom coding (click here)

#3   curiosul

curiosul
  • Members
  • 3 posts

Posted 18 January 2012 - 13:58

I want to see this function:

$function filter_id


Thanks!

Edited by curiosul, 18 January 2012 - 13:58.


#4   DunWeb

DunWeb

    The Censored One

  • Members
  • 13,084 posts

Posted 18 January 2012 - 16:48

@curiosul,

I don't believe a standard installation of osCommerce has that function. (someone correct me if I am wrong)




Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:

See my Profile to learn more about add ons, templates, support plans and custom coding (click here)

#5   curiosul

curiosul
  • Members
  • 3 posts

Posted 18 January 2012 - 17:47

Have, is called in index.php

#6   DunWeb

DunWeb

    The Censored One

  • Members
  • 13,084 posts

Posted 18 January 2012 - 20:05

@curiosul,

Then your index.php has been modified to include that filter. A standard index.php does NOT have that code in it.





Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:

See my Profile to learn more about add ons, templates, support plans and custom coding (click here)

#7   geoffreywalton

geoffreywalton

    Professional Developer

  • Community Sponsor
  • 8,247 posts

Posted 19 January 2012 - 01:18

The "filter_id" is passed to index.php as a parameter

if (isset(filter_id) && tep_not_null($HTTP_GET_VARS['filter_id'])) {

So I am not sure what you are asking for.

Cheers

G
Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

Virus Threat Scanner
My Contributions
Basic install answers.
Click here for Contributions / Add Ons.
UK your site.
Site Move.
Basic design info.

For links mentioned in old answers that are no longer here follow this link Useful Threads.

If this post was useful, click the Like This button over there ======>>>>>.