dumb_question Posted December 4, 2002 Posted December 4, 2002 is it possible to keep different info boxes on different pages. ? Dumb
dumb_question Posted December 4, 2002 Author Posted December 4, 2002 any thoughts anyone? Dumb Question!!
Ajeh Posted December 4, 2002 Posted December 4, 2002 You can test for what page you are on or based on a condition and using IF or CASE statements define which boxes appear on which page and when ...
mattice Posted December 4, 2002 Posted December 4, 2002 or you can just include other ones in the actual page manually. The boxes are (from html point of view) nothing more then: <tr> <td> content </td> </tr> The only thing column_left.php and column_right.php do is dropping them all in there (with a few checks you might need to copy). HTH "Politics is the art of preventing people from taking part in affairs which properly concern them"
dumb_question Posted December 4, 2002 Author Posted December 4, 2002 Thanks that was helpful. But I have no programming knowledge. How much u think I should pay someone to do that for me? Thank you again Dumb!
mattice Posted December 4, 2002 Posted December 4, 2002 that really depends on what you want done... can't really put a price on is it possible to keep different info boxes on different pages. :D "Politics is the art of preventing people from taking part in affairs which properly concern them"
Ajeh Posted December 4, 2002 Posted December 4, 2002 Why don't you expand on what you really want, like what boxes on what pages and let's see if we can't whip something together for you. :D
dumb_question Posted December 5, 2002 Author Posted December 5, 2002 I posted this thing twice so far but some how it doesnt show up. thanks for your help and really appreciate the offer of further help!! Here is what I would like to 1. category page Remove right column and keep following in L column language currency whats new best sellers Quick find 2. Product info page/shopping cart page/check out page keep shopping cart box in right upper corner and keep following in left whats new best sellers Quickfind currency 3. login page keep shopping cart box in right upper corner Display the link or the full text of privacy policy 4. checkout-shipping php keep shopping cart box in right upper corner Show the text of credit card safety text in the left column 5. checkout_payment page keep shopping cart box in right upper corner Insert some text regarding security of the website 6. checkout-confirmation page keep shopping cart box in right upper column remove everything else I am sure this would take lot of effort but any contributions would be aprreciated. Dumb_question!!
Ajeh Posted December 5, 2002 Posted December 5, 2002 To remove the right column edit default.php and near the bottom: <!-- body_text_eof //--> <?php // BOF: WebMakers.com Added: Turn off right column on default.php if ( !(strstr($_SERVER['PHP_SELF'],'default.php')) ) { ?> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- right_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?> <!-- right_navigation_eof //--> </table></td> <?php } // EOF: WebMakers.com Added: Turn off right column on default.php ?> </tr> </table> <!-- body_eof //--> For the moving of the items from column to colum you will need to do a similar test inside the columns for each box. You can copy each box to both columns, then add an if statement to check what page you are on and then decide what to show or not show.
dumb_question Posted December 5, 2002 Author Posted December 5, 2002 Thanks Linda! i will try that !!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.