freedyx Posted June 24, 2006 Share Posted June 24, 2006 So I have everthing all setup. Now what is an easy way to start editing the look of the frontpage without typing in code. I normally use dreamweaver to edit pages. Link to comment Share on other sites More sharing options...
flapJack Posted June 24, 2006 Share Posted June 24, 2006 A good start would be to have a look at the knowledge base. http://www.oscommerce.info/kb/osCommerce/C...sign_and_Layout should get you heading in the right direction. Link to comment Share on other sites More sharing options...
freedyx Posted June 24, 2006 Author Share Posted June 24, 2006 A good start would be to have a look at the knowledge base. http://www.oscommerce.info/kb/osCommerce/C...sign_and_Layout should get you heading in the right direction. Is there anyway I can edit the pages visually like if you edit pages using dreamweaver? Link to comment Share on other sites More sharing options...
flapJack Posted June 24, 2006 Share Posted June 24, 2006 Not sure if there is a true WYSIWYG editor for this sort of site. I only use a text editor (php designer), and review the changes on my local server on the fly. How involved are your changes? Most of the time, changes can be made on the stylesheet, header, footer, and column files which should sort all the basics out. Perhaps give us an idea of what you are looking to do. Link to comment Share on other sites More sharing options...
darren1981 Posted June 24, 2006 Share Posted June 24, 2006 im having same problem kidna new to this trying to setup a small "custom built computers" website, i have a few templates from template monster, and ive got no idea how to change the logo ie. online computer store to Custom built computers, if there is any1 who would be able to help me out with this i would be very greatful, im on a tight tight budget at the moment, if som1 could work with me on my site i will be more then happy to throw some money your way, but i am realy stuck for funds, as i said new to this and need to get my site up and running asap, my email is darren1981_au@hotmail.com Link to comment Share on other sites More sharing options...
freedyx Posted June 24, 2006 Author Share Posted June 24, 2006 Not sure if there is a true WYSIWYG editor for this sort of site. I only use a text editor (php designer), and review the changes on my local server on the fly. How involved are your changes? Most of the time, changes can be made on the stylesheet, header, footer, and column files which should sort all the basics out. Perhaps give us an idea of what you are looking to do. Well basically I have a template design (accuoptics.com) which I want the catalog index.php page to look like. What will be the easiest way to go about this? thanks alot Link to comment Share on other sites More sharing options...
Lee_Drummond Posted June 24, 2006 Share Posted June 24, 2006 Well basically I have a template design (accuoptics.com) which I want the catalog index.php page to look like. What will be the easiest way to go about this?thanks alot see my post also .. http://www.oscommerce.com/forums/index.php?showtopic=214324 Link to comment Share on other sites More sharing options...
freedyx Posted June 24, 2006 Author Share Posted June 24, 2006 see my post also .. http://www.oscommerce.com/forums/index.php?showtopic=214324 So can i just copy and paste HTML code directly into the header.php file and it should show up on the index.php file when I open it? Link to comment Share on other sites More sharing options...
Lee_Drummond Posted June 24, 2006 Share Posted June 24, 2006 So can i just copy and paste HTML code directly into the header.php file and it should show up on the index.php file when I open it? i dont think so mate :-( i think the actual index.php page needs editing, its just what im trying to find out too, but each time i edit the text i mess up the code and the site stops working, so i have to upload my backed up copy Link to comment Share on other sites More sharing options...
spax Posted June 24, 2006 Share Posted June 24, 2006 i dont think so mate :-( i think the actual index.php page needs editing, its just what im trying to find out too, but each time i edit the text i mess up the code and the site stops working, so i have to upload my backed up copy You are using STS and while it is different from a standard osC install, I think you need to edit the text in the same places. It says that much on your homepage. It also looks like you have included some of your own text. Open includes/languages/english/index.php and look for: define('TEXT_MAIN', 'Edit anything between these single quotes'); That should get you going! Link to comment Share on other sites More sharing options...
flapJack Posted June 24, 2006 Share Posted June 24, 2006 So can i just copy and paste HTML code directly into the header.php file and it should show up on the index.php file when I open it? The header.php file can basically be split up into 3 groups. Don't touch anything down to about line 55 where the first table starts. You can use the <table> line if you wish. This first table (which looks like this) <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr class="header"> <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td> <td align="right" valign="bottom"><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_account.gif', HEADER_TITLE_MY_ACCOUNT) . '</a>??<a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a>??<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?>??</td> </tr> </table> is the logo and the small images on the right. This you can change to whatever you want your header to look like. The 2nd table <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="headerNavigation"> <td class="headerNavigation">??<?php echo $breadcrumb->trail(' ? '); ?></td> <td align="right" class="headerNavigation"><?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF; ?></a> ?|? <?php } ?><a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a> ?|? <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a> ?|? <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a> ??</td> </tr> </table> is the breadcrumb trail and the links on the right in the grey line. Below that is wrapped in <?php> tags and should be left alone. Don't forget to backup your files before making any changes. Perhaps commenting out the areas you do not want for the time being whilst making changes is a safer way to go. Link to comment Share on other sites More sharing options...
freedyx Posted June 25, 2006 Author Share Posted June 25, 2006 Is there a good website where I can buy a oscommerce template that I can just edit the text Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.