Thread: Logo override.

Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Nov 2006
    Posts
    57
    Plugin Contributions
    0

    Default Logo override.

    I would like to have a different logo for checkout pages. How do you setup an override?

    My logo is a banner . and I would like the banner to show relevant information on shopping card , shipping and payments.

    What is the best way to do this. Can someone help me with the logic ....which files need changing .... or overriding ...can this be accomplished without changes to the core code.

    Example website is http://morgan111morgan.com
    Thank you in advance
    Onesimpleman

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Logo override.

    It can be achieved at the template level. Basically you would need to insert an IF statement into your override of the tpl_header.php file to use the different logo(s) for those pages.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Nov 2006
    Posts
    57
    Plugin Contributions
    0

    Default Re: Logo override.

    Thank you for your fast reply.

    How will you state in a IF statement....

    If page = xyz
    Can you please help me with the variables.

  4. #4
    Join Date
    Nov 2006
    Posts
    57
    Plugin Contributions
    0

    Default Re: Logo override.

    Is it something like

    if $current_page_base==shopping_cart

  5. #5
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Logo override.

    Yes though the full syntax would be

    PHP Code:
      if ($current_page_base=='shopping_cart') {
        ....
      } else {
        ....
      } 
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  6. #6
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Logo override.

    Or you can use css over-ride. To do so, you have to use the logo as background image.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

 

 

Similar Threads

  1. Trust Logo, SSL Logo and Auth Net Logo
    By MagicMan in forum General Questions
    Replies: 4
    Last Post: 28 Jan 2009, 06:19 PM
  2. override the override? I am confused
    By chakotay2 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 17 Nov 2008, 02:07 PM
  3. Am I (trying to) override the override?
    By Green333 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 11 Sep 2008, 11:43 PM
  4. Help centering logo. No gap between the logo and text!
    By toxicgtr in forum General Questions
    Replies: 4
    Last Post: 7 Jan 2007, 01:24 AM
  5. Override: Invoice Logo
    By MeltDown in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 25 Jun 2006, 06:16 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