Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Customizing the Mainpage mod to put Specials at the top


edschaum

Recommended Posts

I'm sorta skating on thin ice here, I'm only about a week into php probably taking on too much at once.....but I'm trying it anyway.

 

I installed the very cool MainPage mod by Matthijs and am now trying to get the Specials front and center.

 

I thought I'd just pull the section of code out of specials.php that gets the sale items and displays them/it, but that just generated a parse error when inserted into Mainpage.

 

The part I grabbed is the select query (starting at $new=) and the recordset display (ending with the row/floor line) (sorry in case I'm speaking another programming language).

 

Is there something else I need to bring in... some kind of open connection statement or file include?

 

many thanks,

 

Ed

Link to comment
Share on other sites

  • 3 months later...

Archived

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

×
×
  • Create New...