Page 1 of 2 12 LastLast
Results 1 to 10 of 12

HELP! MAKING NEW PAGE.

This is a discussion on HELP! MAKING NEW PAGE. within the osCMax v2 Features Discussion forums, part of the osCmax v2.0 Forums category; Hi, I'm having problems with making a new page... I made a new Box with a Link. I used the ...

      
  1. #1
    New Member
    Join Date
    Jul 2005
    Posts
    19
    Rep Power
    0


    Default HELP! MAKING NEW PAGE.

    Hi, I'm having problems with making a new page... I made a new Box with a Link. I used the shipping.php for the new page everything is fine except I can't change the content of it ... If however i change the content in admin of Shipping_content.php. My new page and the Shipping page has the same content. Been searching but can't find anything regarding this please help ! thank you much

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    20,762
    Rep Power
    573
    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

  3. #3
    New Member
    Join Date
    Jul 2005
    Posts
    19
    Rep Power
    0


    Default RE: HELP! MAKING NEW PAGE.

    Yes i have Veiw this... This is where i know how to make my boxes and links... But the COntent of the boxes only chage in the admin panel if i chagne it there

  4. #4
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,699
    Rep Power
    23


    Default RE: HELP! MAKING NEW PAGE.

    That is because it calls a varaiable that is the shipping contents

    $content = CONTENT_SHIPPING;

    You could put
    $content = 'Put your HTML stuff here - just remember to escape your plural "s" like "/'s" ';

    or the proper way
    - add a define in filenames.php (copy and change the shipping ones)
    define('CONTENT_SHIPPING', 'shipping');
    define('FILENAME_SHIPPING', CONTENT_SHIPPING . '.php');
    change all 'shipping' to 'yournewboxname'
    - copy the shipping.php and shipping_contents.php and shipping.tpl.php - change 'shipping' in to 'yournewboxname' in both the catalog and in the language directories
    - in one of the above files change '$content = CONTENT_SHIPPING;' to '$content = CONTENT_YOURNEWBOXNAME;

    I think that is MOST of it but I may have missed a bit of info - but would be close to final....Don't have 2 or so hours to write it all up and check it.
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  5. #5
    New Member
    Join Date
    Jul 2005
    Posts
    19
    Rep Power
    0


    Default RE: HELP! MAKING NEW PAGE.

    How do i Add it to the admin control so i can change it with the fckeditor. Im new at this please help with step by step

  6. #6
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,699
    Rep Power
    23


    Default RE: HELP! MAKING NEW PAGE.

    Hoh - I see Micheal already did..... Yep that would work...BUT you must follow it ALL the way though.....
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  7. #7
    New Member
    Join Date
    Jul 2005
    Posts
    19
    Rep Power
    0


    Default RE: HELP! MAKING NEW PAGE.

    please vist my site Purvali.com and check out the box secure and reseller and the shipping& return link... they all have the same content this is what i am talking about ..

  8. #8
    New Member
    Join Date
    Aug 2005
    Posts
    24
    Rep Power
    0


    Default The Add static link is NOT correct details

    Following the above "add static pages" instructions will NOT work with OSMax2. All it will do is create another shipping.php with your "testpage".php name (with the old shipping content).

    Even after properly editing the page details and following instructions it will still call the old content of the shipping file. There is no instruction on how to deal with the $content_template = TEMPLATENAME_SHIPPING; file.

    If changed above to TEMPLATENAME_TESTING; this is result of following current instructions:
    Fatal error: (null)(): Failed opening required '' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxxx/public_html/catalog/templates/HTML/main_page.tpl.php(25) : eval()'d code on line 1

    Even after editing copy shipping.tpl.php to testing.tpl.php, and changing references in it, it still does not work...

    Perhaps someone may want to edit that instruction set or post it here how to change that content, step by step...

    -------------------------------

    Jay

    If you don't make mistakes, you're not working on hard enough problems. And that's a big mistake. ~F. Wikzek

  9. #9
    Lurker
    Join Date
    Aug 2005
    Posts
    2
    Rep Power
    0


    Default RE: The Add static link is NOT correct details

    I have tried this as well with no luck, does anyone know how to do this using the newest version? It is not as easy to get answers on this messageboard as it is on the Oscommerce forums? If I am looking in the wrong place, please forgive. Thank you everyone. Alex.

  10. #10
    Lurker
    Join Date
    Aug 2005
    Posts
    2
    Rep Power
    0


    Default RE: The Add static link is NOT correct details

    I think I found it. Read this information here: http://www.oscdox.com/index.php?name...ditional+pages

Page 1 of 2 12 LastLast

Similar Threads

  1. okay so I am making the v1.7 upgrade to v2.0 guide Help me?
    By Pr0ject in forum osCmax v2 Installation issues
    Replies: 4
    Last Post: 02-01-2006, 02:01 PM
  2. Making site 100%
    By royjones in forum osCommerce 2.2 Installation Help
    Replies: 2
    Last Post: 04-16-2005, 10:21 PM
  3. Download Making me crazy
    By jonnie1962 in forum osCMax v1.7 Installation
    Replies: 0
    Last Post: 11-11-2004, 08:31 AM
  4. Making my header look cool...
    By tmac2104 in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 07-05-2004, 04:55 PM
  5. Making Attributes a must
    By chrisnet247 in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 06-02-2004, 06:15 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •