Guest Posted February 20, 2006 Posted February 20, 2006 I have only recently installed the OScommerce package and I've used frontpage forever but given just about everything that needs editing is .php So when I go to catalog-index.php I can open it with FP and preview it with IEexplorer and I can see what i want to change, BUT, I can't edit it like I would any html page with Frontpage - so there must be some other easy method of making the appropriate changes on this page without having to wade thru a hundred lines of code! Can somebody enlighten me how best to modify said page (and all the other php pages) when one's experience with php is rather limited? Do you actually have to modify code line by line? - It would take FOREVER! I'm really perplexed and would ask for some assistance. Thx a bunch! JCD
vasttech Posted February 20, 2006 Posted February 20, 2006 First piece of advice, don't use Frontpage. Second, get yourself a good PHP editor. Try searching on Google for one. Get one that shows lines numbers, as it makes changes and adding contributions a whole lot easier. There are free ones and ones you can pay for. Third, use the knowledge base and documentation for help on making changes. If you can't find the answer there search the forums. If you still are unable to find the answer ask away. Lastly, you can install the STS contribution (search the contributions area for this) to make editing the pages easier. Hope that helps. osCommerce Knowledge Base osCommerce Documentation Contributions
ddp Posted February 21, 2006 Posted February 21, 2006 I have only recently installed the OScommerce package and I've used frontpage forever but given just about everything that needs editing is .php So when I go to catalog-index.php I can open it with FP and preview it with IEexplorer and I can see what i want to change, BUT, I can't edit it like I would any html page with Frontpage - so there must be some other easy You are better off even using notepad that FP Backup before making changes. Backup before making changes! Backup before making changes!! You did do a backup? eh?
Guest Posted February 21, 2006 Posted February 21, 2006 Lastly, you can install the STS contribution (search the contributions area for this) to make editing the pages easier. This makes editing your TEMPLATE easier, but your actual content would still be no easier than it is now. Quite a bit of the text in your front page is actually in includes/languages/english/index.php - do a quick search of the forum for "edit front page" and you will quickly see both how many people have the same problems to start with, and the huge variety of ways you can approach this! http://www.oscommerce.com/forums/index.php?act...=edit+index.php Hope that gets you started!
Guest Posted February 21, 2006 Posted February 21, 2006 First piece of advice, don't use Frontpage. Second, get yourself a good PHP editor. Try searching on Google for one. Get one that shows lines numbers, as it makes changes and adding contributions a whole lot easier. There are free ones and ones you can pay for. Third, use the knowledge base and documentation for help on making changes. If you can't find the answer there search the forums. If you still are unable to find the answer ask away. Lastly, you can install the STS contribution (search the contributions area for this) to make editing the pages easier. Hope that helps.
Guest Posted February 21, 2006 Posted February 21, 2006 Thanks big time! I'll follow up on those leads. .
Recommended Posts
Archived
This topic is now archived and is closed to further replies.