Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2009
    Posts
    78
    Plugin Contributions
    0

    Default Change Generated Page Status?

    How do I change the status of a page I created with the Define Pages Generator? I need to temporarily disable a generated static page. I don't want to totally remove the code for this page from my website. Is there some kind of pointer or particular line of code I can comment out so this page isn't visible? Note: This page is not listed under Admin/Define Page Status (it's not page 2, page 3 or page 4).

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Change Generated Page Status?

    Short answer: no.

    Long answer: You'll have to manually remove all links you (or your "generator") have added: everywhere you've added them. Otherwise people will click the links and be confused.
    If you don't care about confusing your customers, you can rename the /includes/modules/pages/YOUR_PAGE_NAME_HERE folder to YOUR_PAGE_NAME_HERE_disabled so that customers will see a 404-page-not-found response (or whatever you've got your Missing Page Check setting set to in Admin->Configuration->My Store) if they click links to it. But, you should really also remove the links if the page is invalid.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. v154 Change Email Subject of Status Update Messages To Show Assigned Status
    By ShopVille in forum Managing Customers and Orders
    Replies: 12
    Last Post: 27 Oct 2015, 02:43 PM
  2. Replies: 0
    Last Post: 16 Mar 2015, 09:46 AM
  3. v151 can't change customer status on admin orders page
    By cvandijk in forum Basic Configuration
    Replies: 2
    Last Post: 9 Oct 2013, 05:21 PM
  4. Change all orders from status 'x', to status 'y'.
    By bi11i in forum Customization from the Admin
    Replies: 3
    Last Post: 22 Jul 2011, 06:49 AM
  5. How do I add text to a new page, change page status?
    By METOOTECH in forum General Questions
    Replies: 2
    Last Post: 2 Jun 2007, 01:31 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