PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
damian
New Member
New Member


Joined: Nov 29, 2004
Posts: 14

PostPosted: Mon Nov 29, 2004 11:14 am Reply with quote Back to top

How does one alter the catalog, so that products are returned above categories? A full categories list is displayed above the products returned each time a customer selects a category. This gives the appearance that site is broken, because the products are changing below the fold on the page, so that even thought the products change the customer just sees the same categories repeatedly. Thank you for any help.

r/Damian
View user's profile Send private message
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2499

PostPosted: Mon Nov 29, 2004 11:29 am Reply with quote Back to top

What cart are you using?
View user's profile Send private message
damian
New Member
New Member


Joined: Nov 29, 2004
Posts: 14

PostPosted: Mon Nov 29, 2004 12:56 pm Reply with quote Back to top

Sorry, OSC. I am running osc2nuke 4 URI:
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message
damian
New Member
New Member


Joined: Nov 29, 2004
Posts: 14

PostPosted: Mon Nov 29, 2004 3:49 pm Reply with quote Back to top

Also very strange thing happen with google. The first day I install I am indexed by google and the next day as well. Then google suddenly shows and old cache of my page, and hasn't returned since? Is this new or usual?
View user's profile Send private message
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2499

PostPosted: Mon Nov 29, 2004 4:57 pm Reply with quote Back to top

Your right that is silly.
I haven't used that but you should be able to find the file that displays the page
Example:
Only registered users can see links on this board!
Get registered or login to the forums!

And simply remove the code that displays the catagories or replace it with some navigation links ect...

If you need help with it you'll have to upload the file (don't post it here). And I'll see if I can do anything with it.

If you don't need the all the extras that come with phpnuke I'd consider using
Only registered users can see links on this board!
Get registered or login to the forums!

Which is basically Oscommerce on steriods.
View user's profile Send private message
damian
New Member
New Member


Joined: Nov 29, 2004
Posts: 14

PostPosted: Mon Nov 29, 2004 10:13 pm Reply with quote Back to top

Thanks for the offer sixonetonoffun, where do i upload?
View user's profile Send private message
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2499

PostPosted: Mon Nov 29, 2004 10:27 pm Reply with quote Back to top

We don't allow attachments onsite so it will have to be to your own space or send to webmaster{<>>}netflake.com
View user's profile Send private message
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2499

PostPosted: Tue Nov 30, 2004 7:10 am Reply with quote Back to top

Where did this package come from? I downloaded the osc2nuke source from
Only registered users can see links on this board!
Get registered or login to the forums!
but it is not the same as the file you sent me?
View user's profile Send private message
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2499

PostPosted: Tue Nov 30, 2004 7:48 am Reply with quote Back to top

I figured it out I think you must be using the NukeCommerce 1.4 release? I'll grab that one the other was real simple to turn off the cat listing this one I'll have to test before I send it to you just to make sure it doesn't break anything else.
View user's profile Send private message
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2499

PostPosted: Tue Nov 30, 2004 8:17 am Reply with quote Back to top

Ok its not that version either so I'll have to wait for a reply to the question where did you get this package and what version of the package is it?
View user's profile Send private message
damian
New Member
New Member


Joined: Nov 29, 2004
Posts: 14

PostPosted: Tue Nov 30, 2004 10:54 am Reply with quote Back to top

v osc2nuke7x4 downloaded from osc2nuke.com
View user's profile Send private message
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2499

PostPosted: Tue Nov 30, 2004 11:18 am Reply with quote Back to top

Couldn't be the file doesn't match this one at all:
Only registered users can see links on this board!
Get registered or login to the forums!

In the one you sent me these lines don't exist:
<?php
if ($oscblockcatshow == 1){
?>

If it did we could just set it to work like this:
<?php
if ($oscblockcatshow == 1 AND !stristr($_SERVER['REQUEST_URI'],'cPath')){
?>
View user's profile Send private message
damian
New Member
New Member


Joined: Nov 29, 2004
Posts: 14

PostPosted: Tue Nov 30, 2004 11:36 am Reply with quote Back to top

very strange. I just checked my local (original unzip) of /catalog/index.php and the line s <?php
if ($oscblockcatshow == 1){
?>
are present. I will implement your suggestion and see what happens
View user's profile Send private message
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2499

PostPosted: Tue Nov 30, 2004 11:43 am Reply with quote Back to top

Cool that should do the job. Only place it might bug out is on IIS but running on IIS is probably not going to work with osc at all if I remember.
View user's profile Send private message
damian
New Member
New Member


Joined: Nov 29, 2004
Posts: 14

PostPosted: Tue Nov 30, 2004 11:45 am Reply with quote Back to top

I cahnged code, but still get the same display results. categories always returned above products
View user's profile Send private message
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2499

PostPosted: Tue Nov 30, 2004 11:52 am Reply with quote Back to top

Try changing it to product-category your using GT it looks like so the real url is being changed.
View user's profile Send private message
damian
New Member
New Member


Joined: Nov 29, 2004
Posts: 14

PostPosted: Tue Nov 30, 2004 11:53 am Reply with quote Back to top

I'm running unix, so no issue with IIS, but still haven't figured it out. Does this function rely on info from any other file? It may be possible that some other files are missing lines of code. I unzipped locally and then ftp'ed to server. Is ssh more suitable? Thank you for all your help
View user's profile Send private message
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2499

PostPosted: Tue Nov 30, 2004 12:06 pm Reply with quote Back to top

It looks like you can shut that block completely off in config.php.bak
$oscblockcatshow = 0;///////// show block oscdisplaycategorie or not (1 = true, 0 = false)

But that would shut it off on all pages which doesn't make sense either.
View user's profile Send private message
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2499

PostPosted: Tue Nov 30, 2004 12:16 pm Reply with quote Back to top

<?php
if ($oscblockcatshow == 1 AND !stristr($_SERVER['REQUEST_URI'],'product-category')){
?>

But anyway this seems to work with GT enabled on my test site. It won't work on yours?
View user's profile Send private message
damian
New Member
New Member


Joined: Nov 29, 2004
Posts: 14

PostPosted: Tue Nov 30, 2004 12:17 pm Reply with quote Back to top

Change ['REQUEST_URI'] to product-category?
View user's profile Send private message
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2499

PostPosted: Tue Nov 30, 2004 12:20 pm Reply with quote Back to top

Yep just like I last posted here.
View user's profile Send private message
damian
New Member
New Member


Joined: Nov 29, 2004
Posts: 14

PostPosted: Tue Nov 30, 2004 12:34 pm Reply with quote Back to top

cut and paste exact code, but no change. I am sending you the index.php as it looks now.
View user's profile Send private message
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2499

PostPosted: Tue Nov 30, 2004 12:37 pm Reply with quote Back to top

Ok no problem but one question do you have jpache on? Maybe it just needs the cache flushed out?
View user's profile Send private message
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2499

PostPosted: Tue Nov 30, 2004 12:42 pm Reply with quote Back to top

The file you sent me works on my test site so now I'm scratching my head here too.
View user's profile Send private message
damian
New Member
New Member


Joined: Nov 29, 2004
Posts: 14

PostPosted: Tue Nov 30, 2004 12:47 pm Reply with quote Back to top

I tried emptying cache Confused Since the file I sent you works on your test site I imagine one of the other files, besides index.php must have have been corrupted in transfer. I will try uploading all file from the catalog module once again. This won't affect database, or any other changes I've made will it?
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum