Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2008
    Location
    Germany, Istanbul, Pune, India
    Posts
    36
    Plugin Contributions
    0

    Default New file into "Config.->Define Page Status"

    I want to insert a new page link (called Cancellation Policy) into the Information side box. I think the only way to get it in there (w/out writing a hack just into the information.php file) is to get it into the

    Admin, Configuration -> Define Page Status page list of pages. Once it's defined in there and I put the text into the languages/english/html_includes/ in a new file, it should work. I've gotten as far as getting the link into the Information box, but the link reads "main_page=FILENAME_CANCELLATION" ... It does NOT show up in the Define Page Status list. Therefore-

    How do I get the Define Page Status to define my new page?

    thank s,
    JSC
    Jamie/Boulder

  2. #2
    Join Date
    Dec 2005
    Posts
    1,059
    Plugin Contributions
    2

    Default Re: New file into "Config.->Define Page Status"

    You might take a look at the About Us Page contribution's file structure,
    in the downloads here:

    http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_47&products_id=182

    Or customize it for your new page.
    [FONT=Arial]Country Kitty Crafts[/FONT][FONT=Arial]
    [/FONT] [FONT=Garamond]
    [/FONT]

  3. #3
    Join Date
    Apr 2006
    Location
    Fort Bragg, North Carolina
    Posts
    153
    Plugin Contributions
    0

    Default Re: New file into "Config.->Define Page Status"

    There is a contribution that will actually create the pages for you, it is called the Define Pages Generator. All you do is create a name for the file, specify the name of your template and the location of your "local" zencart installation. You can edit the file using the Define Pages Editor on your Admin.

    Adding define pages to your zencart installation does not necessarily add the pages to you Define Pages Status on your Admin. This is accomplished by modifying your database.

    Try adding the following statement to your database (assuming the name of your new page is Cancellation Policy):

    INSERT INTO `configuration` VALUES (NULL, 'Define Cancellation Policy', 'DEFINE_CANCELLATION_POLICY_STATUS', '1', 'Enable the Defined Cancellation Policy Link/Text?<br />0= Link ON, Define Text OFF<br />1= Link ON, Define Text ON<br />2= Link OFF, Define Text ON<br />3= Link OFF, Define Text OFF', 25, 201, NULL, now(), NULL, 'zen_cfg_select_option(array(''0'', ''1'', ''2'', ''3''),');

    For additional pages, simply change the text in Red. Make sure not to change the number "25" since that allows you to see this statement on the define pages status of your admin.

    I hope this helps

 

 

Similar Threads

  1. Changing "Default Order Status" from "Delivered" to "Shipped"
    By CookieMonster in forum Customization from the Admin
    Replies: 1
    Last Post: 25 Nov 2014, 12:22 AM
  2. Replies: 4
    Last Post: 21 Jun 2010, 04:22 PM
  3. How to remove ellipses ("...") after "All Products" and "New Products" on home page?
    By jthurman in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 May 2010, 03:30 PM
  4. How do i incorportate my own CSS file in the "Define Page Editor"
    By Natural Tone in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 4 Dec 2008, 12: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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR