Announcement

Collapse
No announcement yet.

Login link as a graphic?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Login link as a graphic?

    Is it possible to change the text that Actinic inserts for NETQUOTEVAR:LOGINLINK (and similarly Actinic:LOGOUT_SIMPLE/) into graphics of my choosing?

    I don't want to hard code the graphics in because when I use Actinic to generate the code, the relevent text appears in the same cell depending on whether the customer is logged in or not (a perfect solution except that I want to use graphics)

    Cheers

    Jos
    Thanks

    Jos Medinger

    Tel : 01978 843 962
    www.internetology.co.uk
    Actinic / E-Commerce Hosting, Design & SEO
    ______________________________________

    #2
    The code for the login button is in prompt '1221' in 'Design | Text | Website | HTML'. (use the 'Go to' button to go straight to it.

    <INPUT TYPE="BUTTON" NAME="ACTION" VALUE="%s" onClick="SubmitLogin();">

    I dare say you could change this to

    <INPUT TYPE="IMAGE" NAME="ACTION" SRC="cart1.gif" onClick="SubmitLogin();"><!-- %s -->

    For the logout link, go to prompt 217 and replace:

    %sLogout%s

    with

    %s<img src=...>%s

    Comment


      #3
      Hi Chris,

      This works great on the actual login page (replaces the 'submit' button) and also on the logout button.

      I would also like to change the text that is input for ID 209 ('Login') into a graphic. Can I simply replace the text, 'Login' with something like

      <img src="login1.gif" border="0">

      Or does it need to be more complex than that?

      Jos
      Thanks

      Jos Medinger

      Tel : 01978 843 962
      www.internetology.co.uk
      Actinic / E-Commerce Hosting, Design & SEO
      ______________________________________

      Comment


        #4
        I don't know.

        What are you actually wanting to do?

        Comment


          #5
          At the moment, when I use NETQUOTEVAR:LOGINLINK in the Act_Primary template, this is substituted for the text, 'Login' when published.
          I want this to be substituted for a linked graphic instead of the linked text

          In the same cell of the design I also have the code Actinic:LOGOUT_SIMPLE/ which your earlier post described how to replace with a graphic (which works fine)

          The effect I am trying to achieve is that of the same cell being occupied EITHER by a 'Login' graphic or a 'Logout' graphic depending on whether the site visitor has loged in or not. (Gives the impression of being much more 'dynamic')

          Hope this clarifies it!

          Jos
          Thanks

          Jos Medinger

          Tel : 01978 843 962
          www.internetology.co.uk
          Actinic / E-Commerce Hosting, Design & SEO
          ______________________________________

          Comment


            #6
            Cool.

            I see.

            Change prompt ID 2183 to be the html for an image. You will need to copy the image into the 'PreviewHTML' folder in order for it to appear in a preview.

            Comment


              #7
              Chris,

              That's worked a treat

              Can't believe I didn't spot the second instance of the word Login further down that Design | Text list :-)

              Cheers

              Jos
              Thanks

              Jos Medinger

              Tel : 01978 843 962
              www.internetology.co.uk
              Actinic / E-Commerce Hosting, Design & SEO
              ______________________________________

              Comment

              Working...
              X