This is a discussion on How to create custom pages? within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; Hi guys, I want to create and extra "about us" page a bit like "conditions" page but cannot seem to ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hi guys, I want to create and extra "about us" page a bit like "conditions" page but cannot seem to find the relevant admin link. Have I missing something simple? Thanks for any help! |
| Sponsored Links | ||
| ||
| |
|
#2
| ||||
| ||||
| Search "add new page" and this is the search result: Add new page under "Information"
__________________ Michael Sasek osCMax Developer
|
|
#3
| |||
| |||
| Micheal, Thanks for your quick reply. I did use the search but was obviously putting the the wrong keywords. I have played with numerous files for hours without result now. I have added the relevant files to the different directories however in my info box. The link I created as the URL: FILENAME_name This obviously means I need to define tep_href_link location. I have looked in includes/filenames.php and I cannot even find the define shipping line, its like all my other links are reading from a completely seperate file. I put the define commands in anyway for my new page according to the other thread but it did not have an effect. Quote:
Thanks for your help! |
|
#4
| ||||
| ||||
| This page talks about adding links to new side boxes: osCommerce Documentation by OSCdox :: osCommerce and osCMax installation and users manual, discussion forums (phpWiki) And in the first thread I referred you to see step 6 of this post: http://www.oscmax.com/forums/oscmax-v2-customization-mods/4985-add-new-page-under-information.html#post17060 Quote:
__________________ Michael Sasek osCMax Developer
|
|
#5
| |||
| |||
| Hiya thanks for the reply once again. I have scanned all these documents and posts with precison and your document above makes perfect sense, but my FILENAME locations are not in the language file. I am going to redownload OsCMax from scratch and compare the two files incase one or the other have become corrupt along the way. |
|
#6
| ||||
| ||||
| It is NOT the language file... I swear... /includes/boxes/information.php Quote:
If you want the link text to be: My New Page Then that is what you add to information.php...
__________________ Michael Sasek osCMax Developer
|
|
#7
| |||
| |||
| I have read the pages about how to add a new box, now my question is, how do you control the order of the new box, so that it comes before information |
|
#8
| |||
| |||
| Check your private messages - I think I answered all your questions. |
|
#9
| |||
| |||
| Hi, thanks for asking me to post something. Sorry for digressing a bit but actually i am having a problem with using 'strftime ("%a, %d %b %Y %H:%M:%S %z")' instead of just 'strftime' function being used in line 150 of main_page.tpl.php for displaying the date. While both 'strftime' and 'strftime ("%a, %d %b %Y %H:%M:%S %z")' work great for displaying the local time and date (eg. Wed, 16 May 2007 15:39:14 West Asia Standard Time) on my windows based localhost, they do'nt work so well on a unix host ( i get a different format and incorrect date and time displayed like: Wed, 16 May 2007 03:37:14 -0700) i have to use for my website. The problem is that only on a unix machine the time gets displayed 12 hours behind my local time which in turn also makes the date behind by that many hours. It would be nice to have the time and date or even just the date displayed on the website correctly, in sync, with the local time and date of the browser in which the website page is opened. Would appreciate any help on this. Thanks |
|
#10
| |||
| |||
| okay, there are dates, and then there are dates. You are mixing up two different dates from two different machines. The server has a date on a unix server the date command will get you the date. # date Wed May 16 21:46:54 PDT 2007 That is the date stamp that your server will use on all your orders The date on the users box will most likely be different (unless they are located in the same time zone as the server). To display the users date you can use the following javascript in your HTML Code: <!-- ONE STEP TO INSTALL CURRENT DATE & TIME (SHORT): 1. Put the last code into the BODY of your HTML document --> <!-- STEP ONE: Copy this code into the BODY of your HTML document --> <BODY> <SCRIPT> document.write(Date()+".") </SCRIPT>
__________________ so endith the lesson<think>sometimes I just sit's and thinks</think> "Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Create new pages based on template | treb | osCMax v2 Features Discussion | 1 | 08-01-2005 04:07 AM |
| extra pages mod - doesnt resemble main pages | battleaxe | osCMax v1.7 Discussion | 3 | 11-05-2004 06:32 AM |
| Custom product_listing pages? help ! | fridgemags | osCommerce 2.2 Modification Help | 9 | 09-08-2004 03:19 AM |
| Custom Currency | cdhough | osCommerce 2.2 Modification Help | 2 | 07-09-2004 11:39 AM |
| Custom product info pages | jdiablo | osCommerce 2.2 Modification Help | 1 | 03-20-2003 06:40 PM |