Results 1 to 10 of 21

Hybrid View

  1. #1
    Join Date
    Nov 2007
    Posts
    555
    Plugin Contributions
    0

    Default Is this possible? replacing text with image?

    Hi,

    I am wanting to change 'Create account' and 'Forgotten Password' with two different images. Is this possible?

    If so what would I need to add and where?

    Many thanks

  2. #2
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: Is this possible? replacing text with image?

    Find the phrases you want to replace in your language files. Replace the text with :
    <img src="/relative/path/IMAGE.gif" alt="My alt text" />
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Nov 2007
    Posts
    555
    Plugin Contributions
    0

    Default Re: Is this possible? replacing text with image?

    Thanks for your reply...tried that but nothing happened

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

    Default Re: Is this possible? replacing text with image?

    Then you may have edited the wrong copy of the file. By "nothing happened" do you mean the original text stayed as is?
    Double-check which file you edited.

  5. #5
    Join Date
    Nov 2007
    Posts
    555
    Plugin Contributions
    0

    Default Re: Is this possible? replacing text with image?



    Done it three times now. Just tried to change the text on these four files for Forgotten Password

    Code:
    /home/sites/ampmgraphics.com/public_html/demo/includes/languages/english/extra_definitions/login_header_defines.php
    
    Line #27 : define('ACCOUNT_BOX_PASSWORD_FORGOTTEN','Forgotten Password');
     
    /home/sites/ampmgraphics.com/public_html/demo/includes/languages/english/extra_definitions/red_passion/login_box_defines.php
    
    Line #33 : define('LOGIN_BOX_PASSWORD_FORGOTTEN','Forgotten Password');
     
    /home/sites/ampmgraphics.com/public_html/demo/includes/languages/english/extra_definitions/red_passion/login_header_defines.php
    
    Line #27 : define('ACCOUNT_BOX_PASSWORD_FORGOTTEN','Forgotten Password');
     
    /home/sites/ampmgraphics.com/public_html/demo/includes/languages/english/red_passion/password_forgotten.php
    
    Line #12 : define('HEADING_TITLE', 'Forgotten Password');
    Just replaced the words forgotten password between ' ' with Test and nothing changed?!?

    so the first file code looked like this


    Code:
    Line #27 : define('ACCOUNT_BOX_PASSWORD_FORGOTTEN','Test');

    Very odd..wondered if it needed a little longer to register the change so waited.. but no difference.

    Wierd...am I missing something?? If not I will re-try them all again...can't see it could be anything else??

  6. #6
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Is this possible? replacing text with image?

    Glen's point applies...

    If you are editing a DEFINE statement, and no difference appears, then you are editing the incorrect file (or alternatively, you are FTP-ing it to the incorrect location after making the edits.)
    20 years a Zencart User

 

 

Similar Threads

  1. Replacing sub-Category image with a banner. is this possible?
    By cpoet in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 14 Mar 2011, 04:40 AM
  2. Replacing More Info text with a button.
    By Jeniferous in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 24 Jan 2011, 07:28 PM
  3. replacing dropdown attribute text w/image
    By osmith in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 8 Jan 2009, 11:12 PM
  4. Replacing category text with images
    By d'Anjou in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 8 Apr 2008, 10:45 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