Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Have osC Split Page Results like this forum ?


bruyndoncx

Recommended Posts

Posted

Before I start coding this, I thought I'd ask first - you never know ... :-"

 

Has anyone changed the split page results in oscommerce so that it looks like the layout used on this board ?

 

If yes, could you share the code ? :rolleyes:

 

 

Thanks

KEEP CALM AND CARRY ON

I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support).

So if you are still here ? What are you waiting for ?!

 

Find the most frequent unique errors to fix:

grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt

Posted

http://www.oscommerce.com/community/contributions,630

 

Should be easy enough to maybe change the dropdown select list to a text field, and to get a few more next buttons, e.g. 1,2,4 try changing the following to suit:

 

if (($this->current_page_number < $this->number_of_pages) && ($this->number_of_pages != 1)) {
 $display_link_next = '<a href="' . tep_href_link(basename($PHP_SELF), $parameters . $this->page_name . '=' . ($this->current_page_number + 1), $request_type) . '">' . tep_image_button('button_next.gif', IMAGE_BUTTON_NEXT) . '</a>'; 
 $display_link_next .= '<a href="' . tep_href_link(basename($PHP_SELF), $parameters . $this->page_name . '=' . ($this->current_page_number + 2), $request_type) . '">' . tep_image_button('button_next.gif', IMAGE_BUTTON_NEXT) . '</a>NEXT'; 
 }

it was originally just, but just append the string and change +1 etc...

if (($this->current_page_number < $this->number_of_pages) && ($this->number_of_pages != 1)) {
 $display_link_next = '<a href="' . tep_href_link(basename($PHP_SELF), $parameters . $this->page_name . '=' . ($this->current_page_number + 1), $request_type) . '">' . tep_image_button('button_next.gif', IMAGE_BUTTON_NEXT) . '</a>'; 
 }

"Any fool can know. The point is to understand." -- Albert Einstein

Posted

Hi greg,

Yes, I had seen the contribution, and read the code in the class to understand where to change it. Just thought that perhaps someone already went trought the trouble ...

We have an expression in dutch, goes something like 'rather lazy than tired' :D

 

BTW, just saw your name mentioned on a site today saying you joined as a developer. Do you happen to know if that application also supports ebay.be ?

KEEP CALM AND CARRY ON

I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support).

So if you are still here ? What are you waiting for ?!

 

Find the most frequent unique errors to fix:

grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt

Posted

can't believe there isn't anyone out there that has done this yet ... or perhaps it is dead simple, easier to do than to write up as a contribution :unsure:

KEEP CALM AND CARRY ON

I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support).

So if you are still here ? What are you waiting for ?!

 

Find the most frequent unique errors to fix:

grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt

Archived

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

×
×
  • Create New...