Results 1 to 5 of 5

Thread: How to create more boxes?

  1. #1
    Join Date
    Jul 2006
    Posts
    73

    Default How to create more boxes?

    Hello,

    Can someone help me figure out how to create titled boxes, that will look just like the ones that are currently on the left/right of the directory? I want to add a few more items to the sides, but I want them to blend in with the rest of the page. The boxes I am trying to emulate are the ones like Tell a Friend, Who's Online, etc....

    I know how to play around with moving items in the kosmos/index.html file, but I can't figure this out. I have tried to copy the other boxes, but manipulate their content, but that hasn't worked for me either.

    Thank you in advance,

    Greg
    Paid for single domain
    Running 5.1.1
    www.directory.enginerunup.com
    Last edited by enginerunup; 07-07-2006 at 08:44 PM.

  2. #2
    Join Date
    Nov 2004
    Posts
    1,822

    Default

    load up themes/kosmos/tell_a_friend.html into your html editor, copy the contents, and paste them into the index file where you want the box to appear, remove the tell a friend bit and replace with whatever you wanted...
    Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )

  3. #3
    Join Date
    Jul 2006
    Posts
    73

    Default

    Quote Originally Posted by inspireme
    load up themes/kosmos/tell_a_friend.html into your html editor, copy the contents, and paste them into the index file where you want the box to appear, remove the tell a friend bit and replace with whatever you wanted...

    Thank you for the response. I looked at the themes/kosmos/tell_a_friend.html, but isn't that a form for the entire page, and not just for a box on the side? I also looked in themes/kosmos/blocks/tell_a_friend.html, and that looks more like what I need to copy maybe? Anyways, when I cut and paste into my html editor, do I just enter the code directly into themes/kosmos/index.html, or do I create a file such as generic.html and access that through the above mentioned index.html? Anyways, here is the code from themes/kosmos/blocks/tell_a_friend.html, which part do I keep and which do I delete?

    <table border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td colspan="5"><table border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td width="171" height="26" background="<%$tpl_base%>/images/template_23.gif" class="head">&nbsp;<strong>Tell
    a Friend</strong></td>
    <td><img src="<%$tpl_base%>/images/template_24.gif" width="31" height="26" alt=""></td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td height="100%" colspan="5" class="panel-bg">
    <table width="95%" align="center">
    <tr>
    <td>Tell a friend who may be intersted our website. Fill
    out the information below and we will email the recipient
    a brief note telling them all about our ER Anything Auto Web Directory.</td>
    </tr>
    <tr>
    <td valign="top">

    <form action="tell_friend.php" method="post">
    <input type="hidden" name="pflag" value="tf">

    <table width="100%" cellpadding="2" cellspacing="0">
    <tr>
    <td width="90"><div style="font-size : 11px;">Your
    Name</div>
    </td>
    <td><input type="text" size=14 name="my_name">
    </td>
    </tr>
    <tr>
    <td><div style="font-size : 11px;">Your Email</div>
    </td>
    <td><input type="text" size="14" name="my_email">
    </td>
    </tr>
    <tr>
    <td><div style="font-size : 11px;">Friend's Name</div>
    </td>
    <td><input type="text" size="14" name="friend_name">
    </td>
    </tr>
    <tr>
    <td><div style="font-size : 11px;">Friend's Email</div>
    </td>
    <td><input type="text" size="14" name="friend_email">
    </td>
    </tr>
    <tr>
    <td>&nbsp; </td>
    <td><input type="submit" value="Submit" class="button">
    <br>&nbsp;
    </td>
    </tr>
    </table>



    Thanks in advance,

    Greg

  4. #4
    Join Date
    Nov 2004
    Posts
    1,822

    Default

    yep sorry its in the blocks folder as you said. you just paste it instead of using <%block_name%>

    use this code :

    Code:
                <table border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td colspan="5">
                      <table border="0" cellpadding="0" cellspacing="0">
                        <tr>
                          <td width="171" height="26" style="background-image:url(<%$tpl_base%>/images/template_23.gif)"  class="head">Title here</td>
                          <td><img src="<%$tpl_base%>/images/template_24.gif" width="31" height="26" alt="rel links" /></td>
                        </tr>
                      </table>
                    </td>
                  </tr>
                  <tr>
                    <td height="100%" colspan="5" class="panel-bg">
                      <table width="95%" align="center">
                        <tr>
                          <td>
    Enter info here
    
    					  
    					             </td>
                        </tr>
                      </table>
                    </td>
                  </tr>
                </table>
    Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )

  5. #5
    Join Date
    Jul 2006
    Posts
    73

    Default

    Thank you very much, it works perfectly.

    I just purchased the license a couple of days ago, and I really appreciate your help. With any product, support is just about more important than the actual product itself, and with the two threads I have started, they were both answered (and correctly!) within 24 hours.

    Thanks again,

    Greg

Similar Threads

  1. Selecting All Check Boxes
    By innstreet in forum v5.x
    Replies: 2
    Last Post: 05-30-2005, 12:55 PM
  2. Can't resize text boxes
    By yorweb in forum v5.x
    Replies: 8
    Last Post: 02-03-2005, 08:29 PM
  3. Replies: 0
    Last Post: 06-22-2004, 11:34 PM
  4. Dropdowns boxes, checkbox..Again!
    By manuel_pr in forum v5.x
    Replies: 3
    Last Post: 01-22-2004, 06:59 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
  •