Page 1 of 3 123 LastLast
Results 1 to 10 of 24
  1. #1
    Join Date
    Jun 2008
    Posts
    63
    Plugin Contributions
    0

    Default New pages and page specific customisation

    Hi, I am just trying to figure out how to deal with the following:

    1. I created a flash banner for the header of the main page but want it to appear only in the main page and place a single image/s in the header sections of the rest of the pages.

    2. Since I placed the flash banner in the header, when I click on ‘log in’ in the upper left of the page, the whole page moves to right in a blink of an eye and back to its initial position. Why would this happen?

    2. How can create more pages in the 'Information' side-box, i.e. 'About us' and delete (or temporarily disable until needed) some pages in here?

    Thanks

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: New pages and page specific customisation

    1. I created a flash banner for the header of the main page but want it to appear only in the main page and place a single image/s in the header sections of the rest of the pages.
    No link - So we can not see what or how you have this implemented

    2. Since I placed the flash banner in the header, when I click on ‘log in’ in the upper left of the page, the whole page moves to right in a blink of an eye and back to its initial position. Why would this happen?
    No link so we can not even see this to maybe offer some ideas
    2. How can create more pages in the 'Information' side-box, i.e. 'About us' and delete (or temporarily disable until needed) some pages in here?
    New pages require about 8 file additions/edits
    Thre is a 3rd party module for about us that one can use and also see what creating another would entail

    It is in the free software addons link at the top of this page
    Last edited by kobra; 20 Feb 2010 at 02:25 PM.
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jun 2008
    Posts
    63
    Plugin Contributions
    0

    Default Re: New pages and page specific customisation

    My site is not live yet, still developing locally. If you need any code that I used and/or info, then I can forwrd these.

    Regarding my last question about 'disabling some pages' temporarily, do you have any suggestions?

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,892
    Plugin Contributions
    96

    Default Re: New pages and page specific customisation

    Quote Originally Posted by acummins View Post
    My site is not live yet, still developing locally. If you need any code that I used and/or info, then I can forwrd these.

    Regarding my last question about 'disabling some pages' temporarily, do you have any suggestions?
    Try your admin's Configuration->Define Page Status. You can turn on/off most of the stuff in the Information sidebox there.

  5. #5
    Join Date
    Jun 2008
    Posts
    63
    Plugin Contributions
    0

    Default Re: New pages and page specific customisation

    Thanks lat, I got it..

  6. #6
    Join Date
    Jun 2008
    Posts
    63
    Plugin Contributions
    0

    Default Re: New pages and page specific customisation

    I placed the following code right under <!--bof-branding display--> in tpl_header.php:

    <script type="text/javascript" src="includes/templates/mytemplate/jscript/swfobject.js"></script>
    <div id="flashcontent">
    <center>
    <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="http://active.macromedia.com/pub/shockwave/cabs/flash2/...ersion=4,0,0,0"
    id="banner" width="550" height="200" ALIGN="right">
    <param name="movie" value="banner.swf">
    <param name="quality" value="high">
    <param name="bgcolor" value="#000000">
    <embed name="banner.swf" src="includes/templates/mytemplate/images/banner.swf" quality="high" bgcolor="#000000"
    width="550" height="200"
    type="application/x-shockwave-flash"
    pluginspage="http://www.macromedia.com/go/getflashplayer">
    </embed>
    </object>
    </center>
    <script type="text/javascript">
    var so = new SWFObject("includes/templates/mytemplate/images/banner.swf", "untitled", "550", "200", "7", "#000000");
    so.write("flashcontent");
    </script>
    </div>

    Swfobject.js file (just a single file) was also put in jscript folder. Clicking on log in still moves the page back and forth. I also tried another code which is;

    <object type="application/x-shockwave-flash" data="includes/templates/mytemplate/images/banner.swf" width="550" height="200" align="right">
    <param name="movie" value="includes/templates/mytemplate/images/banner.swf" />
    <param name="quality" value="high"><param name="BGCOLOR" value="#000000">
    <param name="menu" value="false">
    </object>

    but no chance. Am i doing something wrong or using a depreceated code. Can anyone help me out of this?

  7. #7
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: New pages and page specific customisation

    but no chance. Am i doing something wrong or using a depreceated code. Can anyone help me out of this?
    What is the path to your template?
    What is the path to the file you are editing?
    Zen-Venom Get Bitten

  8. #8
    Join Date
    Jun 2008
    Posts
    63
    Plugin Contributions
    0

    Default Re: New pages and page specific customisation

    Quote Originally Posted by kobra View Post
    What is the path to your template?
    What is the path to the file you are editing?
    Kobra, sorry I don't get you clearly. What do you exactly mean by that? I thought I have already given the paths in my previous post.

  9. #9
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: New pages and page specific customisation

    See the tutorial and find section on
    "Adding Extra Javascript to a specific page"

    This applies to any js

    https://www.zen-cart.com/tutorials/index.php?article=36

    Then you do not code it inline
    Zen-Venom Get Bitten

  10. #10
    Join Date
    Jun 2008
    Posts
    63
    Plugin Contributions
    0

    Default Re: New pages and page specific customisation

    I've looked at the url and found useful. However, my second question takes priority over the first one. So if you have any suggestions on this, I would be grateful.

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. customisation of information sidebox and adding extra pages
    By abs007 in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 12 Mar 2010, 08:09 PM
  2. Change CSS on specific page/pages
    By elchoco in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 Dec 2008, 03:23 AM
  3. Add new pages and edit page name
    By matteoraggi in forum Customization from the Admin
    Replies: 0
    Last Post: 27 Nov 2007, 03:06 PM
  4. Page specific html_header.php pages
    By mutualadvantage in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 22 Aug 2007, 11:08 PM
  5. New Products Layout, and Customisation
    By dvasdekis in forum Templates, Stylesheets, Page Layout
    Replies: 22
    Last Post: 3 Jan 2007, 03:33 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
  •  
disjunctive-egg