Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Modifying content in "New Products For May"


Guest

Recommended Posts

not it shows but as i said before i works only for categories and not for all pages can you do something that the title works for every page. you can make it by defining the code to look for the title in navbar_head_title as you know navbar is there in every page, so that way i will get title for each page.

 

example

the navbar at the starting has "home" so the title will display home, when i move to category named suppose "cars" the navbar will have title as "cars" and so the title of that page will be as "cars" and if i have to contact us the navbar has contact us so the title will aslo be contact us and so on for every page. can you make something like that

Link to comment
Share on other sites

  • Replies 61
  • Created
  • Last Reply
ok in the file include/modules/new_products.php

near the end you will see

$col ++;

if ($col > 2) {

$col = 0;

$row ++;

}

}

ok this is

$col ++; // add a new colum

if ($col > 2) { // how many product display per colum this is set to 3 right now # 0,1,2 = 3

$col = 0; // start over at 0

$row ++; // add a new row

}

}

 

 

Thanks a lot for you reply :)

 

Hm ok but i get a parse error if i add + signs to the rows, how would i go on about to get: 3 colums, and 12 rows ?

 

Thanks again, your awsome

Link to comment
Share on other sites

Thanks a lot for you reply :)

 

Hm ok but i get a parse error if i add + signs to the rows, how would i go on about to get: 3 colums, and 12 rows ?

 

Thanks again, your awsome

 

 

ok $row ++; // this adds 1 to the value of row

// it is like saying $row=$row+1

 

$row +++; is wrong

at the end of the day the code will be good

Link to comment
Share on other sites

ok $row ++; // this adds 1 to the value of row

// it is like saying $row=$row+1

 

$row +++; is wrong

 

 

Hmm im afraid i still dont get it :o

 

$row=+1? I cant figure out the code to display more rows im afraid

Link to comment
Share on other sites

ok to update how many products you are going to show in the page go to your admin are ,

 

Configuration /Maximum Values

 

look for New Products Module

and change the value

at the end of the day the code will be good

Link to comment
Share on other sites

  • 2 months later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...