Results 1 to 2 of 2

Thread: A curious question

  1. #1
    Join Date
    Mar 2008
    Posts
    127

    Default A curious question

    I am working with the Facing template and was pulling my hair out trying to understand why Adsense would not display in some files. It suddenly dawned on me that with another script they need to be enclosed in literal tags.

    Is there a why in some files not required (index.html and header.html etc. - not required but in new.html and many others is required)? As in <%literal%>Adsense stuff<%/literal%>.

    I hate not understanding.

    Just Info - I find the css a bit hard to follow but I am not an expert either.

  2. #2
    Join Date
    Jul 2008
    Posts
    117

    Default

    Hello Hakster,

    here the steps how to add adsense code in facing templates,

    for sidebar (sidebar_left.html and sidebar_right.html) place this code at the top, middle or the bottom from the template sidebar :

    HTML Code:
    <div class="morelinks_top"></div>
    <div class="morelinks_area">
      <div class="morelinks_head"><%t%>Ads<%/t%></div>
      <div class="links_morearea">
         <%literal%>
           <!-- INSERT YOUR ADSENSE CODE HERE! -->
         <%/literal%>
      </div>
    </div>
    <div class="morelinks_bottom"></div> 
    for page.html (eg : new.html) place this code at the top, middle or the bottom from the template page files:
    HTML Code:
        <div class="text_mid">
              <%literal%>
                 <!-- INSERT YOUR ADSENSE CODE HERE! -->
              <%/literal%>      
          </div>
    hope this help.

    thank you.

Similar Threads

  1. IIS PHP question
    By rmoran@FutureSo in forum v5.x
    Replies: 9
    Last Post: 03-11-2008, 04:22 PM
  2. IF question
    By Golfball in forum Blocks and Modification
    Replies: 6
    Last Post: 09-18-2007, 03:46 AM
  3. I have a question, plz look.
    By Arthur32 in forum v5.x
    Replies: 1
    Last Post: 08-20-2006, 07:00 PM
  4. here's a question for you
    By gnr in forum Pre-Sales Questions
    Replies: 2
    Last Post: 12-21-2004, 05:09 AM
  5. A question!
    By MikeMc in forum v5.x
    Replies: 1
    Last Post: 01-23-2003, 08:27 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
  •