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!
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 ...
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!
Search "add new page" and this is the search result:
Add new page under "Information"
Michael Sasek
osCMax Developer
osCmax Installation Service - Have our professionals install osCmax on your server - same day service!
osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5
Stay Up To Date with everything osCMax:
Free osCmax Newsletters - Security notices, New Releases, osCMax News
osCmax on Twitter - Up to the minute info as it happens. Know it first.
osCmax Documentation
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.
is there another language file in a random place which I have missed?define('FILENAME_ABOUT', 'about.php');
define('CONTENT_ABOUT', 'about');
define('CONTENT_ABOUT_CONTENT', 'about');
define('FILENAME_ABOUT', CONTENT_ABOUT . '.php');
define('FILENAME_ABOUT_CONTENT', CONTENT_ABOUT_CONTENT . '.php');
Thanks for your help!
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
6. Add a link to the information box by editing /includes/boxes/information.php. Copy the second to the last link defined and paste it in directly below the original. Change the constants to your filename constant and change the box constant text to whatever your text is. Alternately, you can add a box text constant to english.php and call the constant instead of adding custom text.
Michael Sasek
osCMax Developer
osCmax Installation Service - Have our professionals install osCmax on your server - same day service!
osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5
Stay Up To Date with everything osCMax:
Free osCmax Newsletters - Security notices, New Releases, osCMax News
osCmax on Twitter - Up to the minute info as it happens. Know it first.
osCmax Documentation
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.
It is NOT the language file... I swear...
/includes/boxes/information.php
You are over complicating...Change the constants to your filename constant and change the box constant text to whatever your text is.
If you want the link text to be:
My New Page
Then that is what you add to information.php...
Michael Sasek
osCMax Developer
osCmax Installation Service - Have our professionals install osCmax on your server - same day service!
osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5
Stay Up To Date with everything osCMax:
Free osCmax Newsletters - Security notices, New Releases, osCMax News
osCmax on Twitter - Up to the minute info as it happens. Know it first.
osCmax Documentation
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
Check your private messages - I think I answered all your questions.
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
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
So, there you have it. there are dates, and then there are dates.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
Bookmarks