osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Adding include side box that will display dynamic content

This is a discussion on Adding include side box that will display dynamic content within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; I wish to add a news archive to my copy of OS commerce. I have added a news table to ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 07-28-2003, 09:35 AM
Lurker
 
Join Date: Jul 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
lupercal
Default Adding include side box that will display dynamic content

I wish to add a news archive to my copy of OS commerce.

I have added a news table to the DB.

I have created a record upload page

And a record display page,

I wish to create a box on the right-hand- side of every page and link to the 5 latest news articles from it.

I have created a file

This files works ok on its own.

But this file will not display as an include from the default.php page.

What must I do to fix this?
Attached Files
File Type: zip news_test.zip (767 Bytes, 0 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 03-04-2004, 02:25 AM
red_fraggle's Avatar
Active Member
 
Join Date: Feb 2004
Location: wilmington, NC
Posts: 319
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
red_fraggle
Default

easy
step 1) rename a copy of information.php in catalog/includes/boxes to news.php or whatever you like.
step 2) edit this new file to your required specifications
step 3) add this to column_right.php

require(DIR_WS_BOXES . 'news.php');


hope this helps,

Cliff...
__________________
Clifton Murphy CEO/CTO
Hyperactive Inc.
osCommerce hosting, OSCMAX hosting, osCommerce modification, and OSCMAX modification specialists!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
display checkout_shipping and checkout_payment in one side webkojan osCMax v2 Customization/Mods 0 09-02-2006 09:10 AM
Please include Spanish support in MS2 MAX!!!!!!!!!!!! isifra osCMax v1.7 Discussion 1 11-21-2004 04:15 PM
EMAIL_TEXT_SUBJECT How to include products_model ireader osCMax v1.7 Discussion 0 10-07-2004 05:21 PM
Getting dynamic content inside a new infobox mom2nine osCommerce 2.2 Modification Help 0 03-06-2004 04:08 AM
how can you list product options side by side Anonymous osCMax v1.7 Discussion 0 09-20-2003 08:16 PM


All times are GMT -8. The time now is 07:23 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax