Page 1 of 3 123 LastLast
Results 1 to 10 of 21
  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,715
    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,263
    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

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

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

    Do a Developers Toolkit search on
    define('ACCOUNT_BOX_PASSWORD_FORGOTTEN'
    and see what the line looks like. If it still says 'Forgotten Password' then your edit didn't get back to your server.

  8. #8
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

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

    First, you don't need the path to your image to start from the root of your webspace ...

    A simple -

    includes/templates/YOUR_TEMPLATE/images/YOUR_IMAGE.gif

    should do it. Make sure the image is in the correct directory and that your modified language files are in the correct override directory.
    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.

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

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

    I have done the same thing. Changed all the 'Forgotten Password' bits in each file, ftp'd the files and then as before checked if there were any left or I had missed anything by doing another search.

    No change to the text on the site and no files containing 'Forgotten password'

    Code:
    Searching 289 files ... for: forgotten password
     
    Match Lines found: 0
    Warning Error: No matching Configuration Keys were found ... forgotten password
    I am ftp'ing the correct site and viewing the right site. Never had this issue before...

    Really don't understand this..

    Any ideas?

    Thanks

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

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

    Are you searching in the CATALOG or ADMIN ?
    20 years a Zencart User

 

 
Page 1 of 3 123 LastLast

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

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