Viewing 15 posts - 1 through 15 (of 21 total)
  • Author
    Posts
  • pavit Moderator
    #935392

    Hi

    You can add code adding it at the end of this file /templates/ja_teline_iv_t3/tpls/blocks/head.php

    <!-- For IE6-8 support of media query -->
    <!--[if lt IE 9]>
    <script type="text/javascript" src="<?php echo T3_URL ?>/js/respond.min.js">&lt;/script&gt;
    <![endif]-->
    
    <!-- You can add Google Analytics here-->
    carmila Friend
    #935932

    Hi Thanks for ansewering me but as I’m not an expert in code I need more help I have to embed a logo made in a program http://html5maker.com/ I have the code to embed and the images of it. Where do I have to save the images? in what file? And, The code of the html is if (typeof em5 === ‘undefined’){var em5 = window.addEventListener ? "addEventListener" : "attachEvent";var er5 = window[em5];var me5 = em5 == "attachEvent" ? "onmessage" : "message";er5(me5,function (e) {var s5= e.data;if (s5.substring(0,10) == "changeSize"){document.getElementById(s5.substring(s5.indexOf("html5maker")+10)).style.height=s5.substring(10, s5.indexOf("html5maker"));}},false);}

    But I think what I have to insert in the place you will tell me it is

    <iframe id="html5e1c06281512727af1f704e08e591da4b56c416f931ee" src="e1c06281512727af1f704e08e591da4b56c416f931ee/e1c06281512727af1f704e08e591da4b56c416f931ee.html" width="100%" height="200" frameborder="0" scrolling="no" allowTransparency="true">

    Am I right? or I have to insert all the code completed?
    and where do I have to insert it

    Can you help me? Best regards Carmen

    pavit Moderator
    #936146

    Hi there

    I think that you should create a new module position that will override your logo and add in that position a custom-html module that contains your code

    If you can send me via private reply a temp super user account for your backend i will arrange your header.php file to completely remove your logo and will add a new position overriding it

    carmila Friend
    #936150
    This reply has been marked as private.
    carmila Friend
    #936384

    Hi
    Any new?
    Best regard
    Carmen

    carmila Friend
    #936451

    hi…….

    carmila Friend
    #936480

    Hi Let me know if you have done something. Remember I have all the images and I don’t know where do I have to save them.
    Send you some, there are also 2 articles .js
    Answer me please.
    Best regards
    Carmen


    1. 574af6a0e53ffYyP5CzgGKUdIwZWZkDjO
    2. 574af6a04a2f3gDRzUL5AKlzOjqvHGI7w
    pavit Moderator
    #936506

    Hi there

    I modified your /templates/ja_teline_iv_t3/tpls/blocks/ header.php to remove the logo block and allow the head-advertisement block to occupy all the space instead of logo block

    Then i published a custom-html module with your content into head-advertisement position but it shows only a 404 page , so i suppose your code is not correct

    I leaved the custom-html module named head-new-logoposition with Id = 275 published in head-advertisement position so you can look at it

    Verify your code and when you are ready with a correct code copy it into the module and enable again your head-advertisement from template manager layout

    Regards

    carmila Friend
    #936512

    Hi
    I think it is because I didn’t save the pictures of the logo
    I asked yo to tell me where do I have to save in which file please answer me
    Best regards
    Carmen

    carmila Friend
    #936513

    Sorry
    as we have a different working time I’m in a hurry so You can read what I write soon. may be I’m not so clear in what I said I need to know where do I have to put the images that are in embed code so the logo can be seen
    Best regards

    carmila Friend
    #936514

    There are lot of images I send you a capture of how is seeing some, this images I have to copy in some file Where? so The embed cod can pick them .

    The embed code is

    <script>if (typeof em5 === ‘undefined’){var em5 = window.addEventListener ? "addEventListener" : "attachEvent";var er5 = window[em5];var me5 = em5 == "attachEvent" ? "onmessage" : "message";er5(me5,function (e) {var s5= e.data;if (s5.substring(0,10) == "changeSize"){document.getElementById(s5.substring(s5.indexOf("html5maker")+10)).style.height=s5.substring(10, s5.indexOf("html5maker"));}},false);}</script>
    <iframe id="html5e1c06281512727af1f704e08e591da4b56c416f931ee" src="e1c06281512727af1f704e08e591da4b56c416f931ee/e1c06281512727af1f704e08e591da4b56c416f931ee.html" width="100%" height="200" frameborder="0" scrolling="no" allowTransparency="true">

    best regards
    Carmen


    1. Captura1
    pavit Moderator
    #936789

    There are lot of images I send you a capture of how is seeing some, this images I have to copy in some file Where? so The embed cod can pick them .

    Hi

    I’m sorry but i don’t know how that script works since it is not a joomlart extension, so i don’t know where your images should be added , i showed you how you can embed a script in a module overriding logo position and showing it, but what should be added into that module and how the script works should be asked to the extension developer.

    Best regards

    carmila Friend
    #936794

    HI
    THANKS FOR ANSWERING ME
    WHAT THEY SAID TO ME WAS THAT i HAVE TO INSERT THE PICTURES IN THE DIRECTORY WHERE THE HEADER.PHP TAKES IT BUT i DON’T KNOW WHERE IS IT IN THIS TEMPLATE
    Thats why I asked you.
    Because the images must be insert in the site, but where?
    Best regards
    Carmen

    pavit Moderator
    #936797

    Website take images from /images folder , you can see it accessing Content -> Media -> and then click on options button at top .

    So i suppose you should add images in that folder or also you can try /templates/ja_teline_iv_t3/images/ folder

    Regards


    1. Screenshot_1
    carmila Friend
    #936807

    Hi
    I put a new folder into /templates/ja_teline_iv_t3/images/ folder and now How can I see the logo as you did it? because is published but I see the other logo
    Regards

Viewing 15 posts - 1 through 15 (of 21 total)

This topic contains 21 replies, has 2 voices, and was last updated by  carmila 8 years, 5 months ago.

The topic ‘how can I embebed a code of a banner in the header position’ is closed to new replies.