Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1

    Default Linking define page from footer

    Hoping someone can help...
    Just succeeded in linking from my footer to page_2 now renamed to "butik" (store) using an internal link.
    This however is not the right way since it will then not translate when choosing english.
    So how do I link to page_2 (now called "butik") so that the link will translate?
    site is www.artos.dk
    really hoping for some insight here

    Johnny

  2. #2
    Join Date
    Sep 2006
    Posts
    542
    Plugin Contributions
    0

    Default Re: Linking define page from footer

    english>extra_definitions>easy_pages_definitions.php

    add a new define

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

    Default Re: Linking define page from footer

    That file currently only defines sidebox or overall menu titles. You could add a new define there, but it wouldn't apply to any individual ez-page link name without recoding the files that use those links.

    You might be able to use the Multi-Language EZ-Pages mod in Free Addons; I haven't looked at it myself to know exactly what elements it controls, but I would think ez-page titles for links would have to be among them.

  4. #4
    Join Date
    Sep 2006
    Posts
    542
    Plugin Contributions
    0

    Default Re: Linking define page from footer

    I just came across this myself while adding language for a client

    languages>english.php needs to be copied and placed in a folder with the name of your template. Then find and edit the text from that file.

    If that is not where yours is located. then open your footer menu locate the text for that link and search in the developers tool kit

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

    Default Re: Linking define page from footer

    That still wouldn't handle the individual ez-page name links, as ez-page names are only stored in the database.

    If you are not otherwise using ez-pages, installing it just for the footer link would be overkill. In that case, hard-coding a link in tpl_footer.php, using the constant that defines the title of the define page, would be best. Then you have a page define file for each language.
    Last edited by gjh42; 18 Jan 2012 at 09:20 PM.

  6. #6
    Join Date
    Sep 2006
    Posts
    542
    Plugin Contributions
    0

    Default Re: Linking define page from footer

    He is talking about the language translation. He has his language set but when he changes to english the translation language is not translated.

    He needs to put that define of butik into the english language folder in the name of his template.

    That link name should be defined in english.php and if not it will be in the folder that contains butik

    Searching for butik in admin Developers Tool Kit will guide him to the file.

  7. #7
    Join Date
    Sep 2006
    Posts
    542
    Plugin Contributions
    0

    Default Re: Linking define page from footer

    The database does not translate languages for links and if it does please lit me know how it would do that.

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

    Default Re: Linking define page from footer

    And per the OP, he has used an ez-page internal link, which will show the name of the ez-page as the link anchor text. This will not be in a file, but in the database, and not in English unless multi-language ez-pages is installed.

    The text for a hard-coded link in the footer will be handled as you describe.

  9. #9
    Join Date
    Sep 2006
    Posts
    542
    Plugin Contributions
    0

    Default Re: Linking define page from footer

    Who said he has used an ez-page internal link.

    He has not said what he is using.

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

    Default Re: Linking define page from footer

    Umm... this? :)
    Just succeeded in linking from my footer to page_2 now renamed to "butik" (store) using an internal link.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 1
    Last Post: 8 Apr 2015, 09:25 AM
  2. Replies: 3
    Last Post: 5 Jun 2009, 09:24 PM
  3. how to add define page to footer ?
    By tony_sar in forum General Questions
    Replies: 3
    Last Post: 29 Nov 2008, 02:05 PM
  4. linking from pages to the "Define Page Editor"
    By windwoman in forum General Questions
    Replies: 1
    Last Post: 1 May 2007, 12:44 AM
  5. No Footer When Define Page Is Set
    By bodybangles in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 6 Apr 2007, 05:35 AM

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