Results 1 to 5 of 5

Help: About Us (Dynamic New Page) woes

This is a discussion on Help: About Us (Dynamic New Page) woes within the Custom Mods and Hacks forums, part of the osCmax V2.5 Forums category; Question 1: How do I properly create a page editor for my About Page? First, I followed the instructions contained ...

      
  1. #1
    Lurker
    Join Date
    Aug 2012
    Posts
    4
    Rep Power
    0


    Question Help: About Us (Dynamic New Page) woes

    Question 1: How do I properly create a page editor for my About Page?

    First, I followed the instructions contained within this download's readme file: About Us Page Creator | osCMax - osCommerce Maximized
    Then, I cross-checked everything and updated my code in accord with these instructions: http://wiki.oscdox.com/adding_new_dynamic_content_pages

    Yet, I receive the following error message when clicking Catalog > About Page (on the osCmax admin page):

    The website encountered an error while retrieving mysite.com/catalog/admin/define_about.php. It may be down for maintenance or configured incorrectly.
    Question 2: How do I add a link to the About Page on my template's topmost navigation bar?

    I am using the "Free099" template: osCmax Template - Free099

    I attempted to change the "Specials" link (at the top) to the About page by replacing "Specials" with "About" in the following files:

    In templates/free099/main_page.html:
    Code:
    <span>{about}</span>
    and in templates/free099/main_page.code.php:
    Code:
    //begin{about}
      ?>
    <a href="<?php echo tep_href_link(FILENAME_ABOUT); ?>" class="headerNavigation"><?php echo BOX_HEADING_ABOUT; ?></a>
      <?php
    //end{about}
    Thanks and for any help! Cheers

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    20,762
    Rep Power
    573


    Default Re: Help: About Us (Dynamic New Page) woes

    Let me help you back into the fairway.

    osCmax v2.5 already has the Information Page manager. No code editing needed to create the page or link. In your admin, go here:

    Configuration >> Templates >> Information Pages

    Then just create a new page called "About Us" adding whatever content in the editor box. Then make the page active by checking the "Active" radio buttons for "Status" and "Listed in Infobox" and save. Done. Your new About Us Page will be live on your site in the "Information" infobox.

    Next, to add your link to to the top bar just copy the url from the infobox. If you are using seo urls it will look something like this:

    http://some.site.com/about-us-i-17.html

    Then just create a hyperlink for your page in the main_page.html file using the above url wherever you want it to appear in your template:

    HTML Code:
    <a href="http://some.site.com/about-us-i-17.html">About Us</a>
    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
    Lurker
    Join Date
    Aug 2012
    Posts
    4
    Rep Power
    0


    Red face Re: Help: About Us (Dynamic New Page) woes

    Hey Michael, your instructions worked great.

    No wonder I overshot; I was playing with old clubs!

    Just upgraded from 2.0.25 to 2.5, and am amazed; the new admin template is fantastic.

    To say thanks, I snapped proper screen shots for the oscmax wiki's 2.5 install page. Since it doesn't look like I can upload images to the wiki server, I'll attach the files here. If someone uploads them, I'll gladly code them in

    Cheers!
    Attached Files Attached Files

  4. #4
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    20,762
    Rep Power
    573


    Default Re: Help: About Us (Dynamic New Page) woes

    Thanks for the images, I uploaded and added them to the pages. If you think you will be editing the wiki in the future let me know and I can grant the necessary access. We keep it locked due to the amount of abuse we were getting.

    Quote Originally Posted by oldsapphire View Post
    Hey Michael, your instructions worked great.

    No wonder I overshot; I was playing with old clubs!

    Just upgraded from 2.0.25 to 2.5, and am amazed; the new admin template is fantastic.

    To say thanks, I snapped proper screen shots for the oscmax wiki's 2.5 install page. Since it doesn't look like I can upload images to the wiki server, I'll attach the files here. If someone uploads them, I'll gladly code them in

    Cheers!
    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

  5. #5
    Lurker
    Join Date
    Aug 2012
    Posts
    4
    Rep Power
    0


    Default Re: Help: About Us (Dynamic New Page) woes

    Abuse, huh? Tragic...

    I have more wiki-reading to do, so if I come across something that could be added or improved, I will certainly take you up on an access request.

    Or, if there is an osCmax wiki to-do-list somewhere, I'd be interested in having a look.

    Either way, I will at least be on the lookout for little ways to help (although I'm no expert...yet ).

    Quote Originally Posted by michael_s View Post
    Thanks for the images, I uploaded and added them to the pages. If you think you will be editing the wiki in the future let me know and I can grant the necessary access. We keep it locked due to the amount of abuse we were getting.

Similar Threads

  1. SSL woes - page contains non secure items
    By minion in forum osCmax v2 Installation issues
    Replies: 1
    Last Post: 12-21-2009, 12:03 AM
  2. Admin SSL Woes “You are not protected by a secure SSL connection”
    By osc snob in forum osCmax v2 Installation issues
    Replies: 5
    Last Post: 01-26-2008, 11:05 AM
  3. Attribute woes
    By FlipC in forum osCmax v2 Installation issues
    Replies: 3
    Last Post: 11-14-2006, 08:59 AM
  4. SMTP Email Woes
    By kellbot in forum osCmax v1.7 Discussion
    Replies: 4
    Last Post: 03-29-2005, 04:53 PM
  5. Linkpoint Woes
    By Vidarbox in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 10-18-2004, 08:09 PM

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
  •