Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 31
  1. #21
    Join Date
    Sep 2009
    Location
    Gold Coast, Australia
    Posts
    40
    Plugin Contributions
    0

    Default Re: Sidebox Table & Image Problem

    I know this is probably getting tiring but i CANNOT for the life of me locate where the "Who's Online" text for the sideboxes is contained. I've been through every page i'd normally look at, and even in the english.php where i managed to change all the other headers i could not find it.

    I've checked whos_online.php, tpl_whos_online.php, english.php and even used the developers toolkit to scan but all i found was a whosonlineHead tag that i couldn't physically locate.

    any help would be appreciated.

  2. #22
    Join Date
    Sep 2009
    Location
    Gold Coast, Australia
    Posts
    40
    Plugin Contributions
    0

    Default Re: Sidebox Table & Image Problem

    Found and fixed it! Thanks very much for the continued help, this site/forum/community is fantastic.

    cheers


  3. #23
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Sidebox Table & Image Problem

    To change any output text, you can use admin > Tools > Developers Toolkit and paste it in the upper left box, select all files and search. Among the results will be the file and line number where it is defined.

  4. #24
    Join Date
    Sep 2009
    Location
    Gold Coast, Australia
    Posts
    40
    Plugin Contributions
    0

    Default Re: Sidebox Table & Image Problem

    I'm having one last issue. I've added an image to be the background for the header searchbox, but cannot for the life of me get the input field/search button to sit within the image.

    any ideas?

  5. #25
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Sidebox Table & Image Problem

    Add to #navMainSearch {

    padding-left: 18px;

  6. #26
    Join Date
    Sep 2009
    Location
    Gold Coast, Australia
    Posts
    40
    Plugin Contributions
    0

    Default Re: Sidebox Table & Image Problem

    Thanks again bud, worked a treat. I've added a 1px border on the Input, Select & TextArea fields in the CSS file, but with the Hidden Input types generated on the page it gives a thicker border to the left of the Header Search and the Currency Box.

    I used Firebug to inspect the elements, thats the only way i realised. How do i get the border to ignore the hidden input fields?

    cheers

  7. #27
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Sidebox Table & Image Problem

    Since the inputs follow in sequence, you can use these rules to hide navMainSearch input borders generally and display them on the third and following inputs:
    Code:
    #navMainSearch input {border: none;}
    #navMainSearch input+input+input {border: 1px solid #aabbcc;}

  8. #28
    Join Date
    Sep 2009
    Location
    Gold Coast, Australia
    Posts
    40
    Plugin Contributions
    0

    Default Re: Sidebox Table & Image Problem

    Thank you infinitely for your time and patience, you've helped me get to where i needed to be. I'm starting to understand the stylesheet a tiny bit more, it's so flexible, this really is a fantastic system, for it's flexibility and functionality.

    I have three final questions regarding this site, and then i will finally get off your back!

    #1: I want the content of the main page to be a couple lines lower than it is, i tried the old <br /> code in a few pages and while it works for content pages it won't work for the main page.

    #2: Just like how i've added images to border the sideboxes, i want to add images to border the content for the EZpages/Info Pages/ Search results etc. Is this done the same way, ie: in the style sheet with a top, middle and bottom image?

    and finally

    #3: i was using the "getlastmod()" code for the head-titles "Last Update: dd/mm/yyyy", but it's grabbing an outdated static date which i assume to be the install date. How can i make this the date of the LATEST page/item/anything thats been edited.

    once again i thank you for your help.


  9. #29
    Join Date
    Sep 2009
    Location
    Gold Coast, Australia
    Posts
    40
    Plugin Contributions
    0

    Default Re: Sidebox Table & Image Problem

    And please, send me a link to your banner for your Future Relics website, i'll include it in my main wide-banner rotation permanently for all the help you've given me.

    cheers


  10. #30
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Sidebox Table & Image Problem

    1: You will need to give the div that holds the homepage center content an id so it can be addressed in the stylesheet. Actually, if you used define_main_page.php to hold the homepage content, there would already be a div id to use (#indexDefaultMainContent {margin-top: 2.0em}). You apparently put the homepage content in its own <td> in tpl_main_page.php.

    2: The principle will be the same. Do you want the border around the entire center column content, or around selected portions of it? Some center column elements may have enough components already, while some (like centerboxes) may need another wrapper div. If you want the whole center content bordered in one box, you probably need to add a couple of wrapper divs in tpl_main_page.php just inside the <td valign="top"> that holds the whole center, perhaps something like
    PHP Code:
    <td valign="top">
    <
    div id="centerTop">
    <
    div id="centerBottom">
    ...
    </
    div>
    </
    div>
    </
    td
    You may want to locate the wrapper divs elsewhere inside that cell, as there are a number of elements like banners and breadcrumbs that you might want outside of the box. Just be careful not to overlap element opening and closing tags.

    You can put the box top and bottom bg images in the relevant divs with padding to clear the bg; all pages will have a .centerColumn class on the main content div that can hold the straight side borders.
    This is what outputs the main content:
    PHP Code:
    <?php
     
    /**
      * prepares and displays center column
      *
      */
     
    require($body_code); ?>
    so if you want to box only the main content, you would put the wrapper divs just above and below it.
    This will apply to all pages, so if you don't want the homepage to get the same box, you can specify
    Code:
    #indexHomeBody #centerTop {background: none;}
    #indexHomeBody .centerColumn {background: none;}
    #indexHomeBody #centerBottom {background: none;}
    More tweaks will undoubtedly be needed, but that is the gist of it.

    3: This is probably going to require a bunch of custom PHP coding. Since there are many files that work together to display any one page, you don't necessarily want to tell the latest file date, as that might not be relevant to the content. You would probably want to get the $current_page_base to tell what type of page you are on, look up the last-modified date in the relevant table in the database, and handle that for output. Sounds like more trouble than it's worth unless you are a whiz with PHP and MySQL.

    Thanks for the banner offer! I'll pm later.
    Last edited by gjh42; 25 Nov 2009 at 04:21 PM.

 

 
Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Sidebox heading & background image
    By marknew in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 5 May 2011, 09:18 AM
  2. Unusual Data Problem with &image=
    By warrisr in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 19 Dec 2008, 09:17 PM
  3. Header Image problem & link
    By atjhza in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 23 Nov 2007, 06:14 PM
  4. Credit Card Sidebox & shopping cart with image
    By deemurphy in forum Basic Configuration
    Replies: 1
    Last Post: 25 Aug 2007, 03:59 PM
  5. Image Rotator & CSS Flyout sidebox
    By Berserker in forum Basic Configuration
    Replies: 2
    Last Post: 31 Jan 2007, 01:01 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