Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2010
    Posts
    56
    Plugin Contributions
    0

    Default how to disable some ezpage?

    one of my site is just showroom, so I disabled some pages such as shipping&return, but I can still access the page if I enter the url directly: index.php?main_page=shippinginfo.

    how can I disable it so user can't access it?

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: how to disable some ezpage?

    I suppose you could remove the define page files or just remove the content from them so they're blank.

    EZ pages can be turned off in admin.

  3. #3
    Join Date
    Jun 2010
    Posts
    56
    Plugin Contributions
    0

    Default Re: how to disable some ezpage?

    I actually "delete" those ezpage that I don't use in the admin: tools->ez pages. but they still can be accessed using direct url.

    I hesitate to actually delete the files, since the site will be using the in the future.

    I am hoping that we can "turn off" the pages so when accessed using direct url, zen cart can direct user to the page not found page? is that possible?

    Thanks.

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: how to disable some ezpage?

    Say you want to "turn off" completely, even by manual hack of URL, and not be able to get to the Privacy page and not lose the code for future use ...

    Go to the:
    /includes/modules/pages

    rename the directory:
    /includes/modules/pages/privacy

    to something like:
    /includes/modules/pages/privacy_HIDDEN

    now it is "gone" but can be used later ...

    Or, delete the directory:
    /includes/modules/pages/privacy

    and later, when you need it, just upload it again ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Jun 2010
    Posts
    56
    Plugin Contributions
    0

    Default Re: how to disable some ezpage?

    thank you. that should work.

 

 

Similar Threads

  1. How to disable some larger images?
    By NoobGal in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 21 Jun 2010, 01:49 PM
  2. How can I disable the "Larger Image" link on SOME products?
    By btolly in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 19 Aug 2009, 02:39 PM
  3. Disable Category Sidebox on all but one ezpage
    By CyberWoolf in forum Basic Configuration
    Replies: 6
    Last Post: 18 Mar 2009, 02:44 AM
  4. Replies: 5
    Last Post: 16 Mar 2009, 02:00 AM
  5. Some trouble with using EZpage and internal links
    By alphasource in forum General Questions
    Replies: 1
    Last Post: 9 Apr 2007, 12:02 PM

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