Results 1 to 6 of 6
  1. #1
    Join Date
    Jul 2010
    Location
    Sydney, Australia
    Posts
    86
    Plugin Contributions
    0

    Default Changing URL link for EZ Page

    Hello,

    I have an existing Ez Page (page_4) and while i've learnt how to change the navbar_title and heading_title, i haven't been able to find where to change the actual name of the page, so when a user enters a button i've created that links to it, in the URL it will say

    http://qnecomputing.com.au/index.php?main_page=Help

    instead of the current

    http://qnecomputing.com.au/index.php?main_page=page_4

    zen cart version: 1.3.9h
    Last edited by adem.i; 1 Mar 2011 at 04:06 PM. Reason: zc version

  2. #2
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,197
    Plugin Contributions
    0

    Default Re: Changing URL link for EZ Page

    Ad,
    This is one nice feature of Zen Cart to understand and learn:
    1. search for:
    2. page_4
    3. you should see a file here called:
    4. includes/languages/english.php
    5. remember the override system if you are using one:
    6. so you will place this file in: includes/languages/your_template/ english.php
    7. remember to leave the single quotes
    8. define('BOX_INFORMATION_PAGE_4', 'Help');

  3. #3
    Join Date
    Jul 2010
    Location
    Sydney, Australia
    Posts
    86
    Plugin Contributions
    0

    Default Re: Changing URL link for EZ Page

    Thanks for referring me to the developers tool kit.

    I followed the steps you outlined, found the includes/languages/english.php
    then changed

    define('BOX_INFORMATION_PAGE_4', 'Page 4');

    to

    define('BOX_INFORMATION_PAGE_4', 'Help');

    but wasn't able to locate a folder that was to suggest 'your_template'. I only have one more folder in includes/languages and that is english

    so i just have includes/languages/english and the file english.php in that folder

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Changing URL link for EZ Page

    If there is not a /your_template/ folder where you are supposed to have one, just create it. There should be a /classic/ folder in there; if there is not, someone has deleted it, which is a bad thing to do.
    /classic/ folders are located in every place where an override is possible, and serve as a guide for you to create your own template folders.

  5. #5
    Join Date
    Jul 2010
    Location
    Sydney, Australia
    Posts
    86
    Plugin Contributions
    0

    Default Re: Changing URL link for EZ Page

    I had installed version 1.3.9g via the host iPage, then manually upgraded to 1.3.9h. Even if i create a /your_template/ folder and just place english.php in there, it won't actually show page_4 as 'Help' in the URL?

    I had changed

    define('BOX_INFORMATION_PAGE_4', 'Page 4');

    to

    define('BOX_INFORMATION_PAGE_4', 'Help');

    in the english.php file in the screen shot above, but i still had the same issue :/

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Changing URL link for EZ Page

    No, the URL shows the actual internal name of the page. You need to edit about a half dozen PHP files and rename some of them to change that. See the About Us mod from Free Addons for more information.

 

 

Similar Threads

  1. Changing URL link of image with logo from Home Page
    By Sachin1008 in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 28 Apr 2014, 02:24 PM
  2. Changing URL for certain buttons
    By paults in forum General Questions
    Replies: 2
    Last Post: 14 Dec 2009, 06:46 AM
  3. Changing URL on Home Page
    By linda408 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 24 Nov 2009, 04:53 PM
  4. changing item page URL
    By filfish in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 7 Apr 2009, 10:01 PM
  5. changing landing page url
    By jfuller in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 5 Jul 2007, 01:18 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