Page 61 of 305 FirstFirst ... 1151596061626371111161 ... LastLast
Results 601 to 610 of 3042
  1. #601
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: Apple Zen Template Support Thread

    Quote Originally Posted by HelpMeSell View Post
    Please disregard my previous post I wasn't paying attention to the www in the beginning of the URL

    With no addition to the htaccess if I goto http://www.axlesforless.com/index.php I get csshover error and drop down menu's won't work
    But if i goto http://axlesforless.com/index.php I get no errors and the drop down menu's work
    Ok, this section of code:

    Options +FollowSymLinks
    RewriteEngine On
    RewriteCond %{HTTP_HOST} !^www\.
    RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]

    is supposed to make http://axlesforless.com/index.php automatically rewrite to

    http://www.axlesforless.com/index.php, which is currently not happening,

    So, I'd like you to try putting ONLY the above code into your root .htaccess (yes in public_html) and lets try to get that function working.

  2. #602
    Join Date
    Feb 2007
    Posts
    77
    Plugin Contributions
    0

    Default Re: Apple Zen Template Support Thread

    Quote Originally Posted by jettrue View Post
    Ok, this section of code:

    Options +FollowSymLinks
    RewriteEngine On
    RewriteCond %{HTTP_HOST} !^www\.
    RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]

    is supposed to make http://axlesforless.com/index.php automatically rewrite to

    http://www.axlesforless.com/index.php, which is currently not happening,

    So, I'd like you to try putting ONLY the above code into your root .htaccess (yes in public_html) and lets try to get that function working.
    OK, I added the above and now I get errors for both with www or no www in the begining (and i can see it adding the www automatically)

  3. #603
    Join Date
    Apr 2007
    Posts
    53
    Plugin Contributions
    0

    Default Re: Apple Zen Template Support Thread

    Quote Originally Posted by jettrue View Post
    Here's a good method:
    http://kalsey.com/2003/07/rounded_corners_in_css/. You'd have to probably create the containers for the corners in tpl_main_page.php.
    First of all I want this background to show up on the page that is viewed when you click on this link http://oneposhshop.com/Shop and judging from the page source and the changes that I made to the "tpl_main_page.php" file that isn't the tpl_main_page.

    The other thing I'm not clear on is, how do you, "create containers" in the tpl_main_page.php?

    Here is what I did in the tpl_main_page.php,
    Code:
    <div id="mainWrapper">
    <?php
     /**
      * prepares and displays header output
      *
      */
      require($template->get_template_dir('tpl_header.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_header.php');?>
    <div class="roundcont">
       <div class="roundtop">
         <img src="http://oneposhshop.com/Shop/includes/templates/Posh_by_Trois_Soeurs/Images/left_corner_bg.jpg" alt="" 
         width="15" height="15" class="corner" 
         style="display: none" />
       </div>
    
       <p><img src="http:/oneposhshop.com/Shop/includes/templates/Posh_by_Trois_Soeurs/Images/Trois Soeurs.gif"></p>
      
       <div class="roundbottom">
         <img src="http://oneposhshop.com/Shop/includes/templates/Posh_by_Trois_Soeurs/Images/bot_left_corner_bg.jpg" alt="" 
         width="15" height="15" class="corner" 
         style="display: none" />
       </div>
    </div></div>
    
    <!-- bof  breadcrumb -->
    Is that how containers are created?

  4. #604
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: Apple Zen Template Support Thread

    Quote Originally Posted by HelpMeSell View Post
    OK, I added the above and now I get errors for both with www or no www in the begining (and i can see it adding the www automatically)
    Try this instead:

    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^yoursite\.com$ [NC]
    RewriteRule ^(.*)$ http://www.yoursite.com/$1 [R=301,L]

  5. #605
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: Apple Zen Template Support Thread

    Quote Originally Posted by oneposhshop View Post
    First of all I want this background to show up on the page that is viewed when you click on this link http://oneposhshop.com/Shop and judging from the page source and the changes that I made to the "tpl_main_page.php" file that isn't the tpl_main_page.

    The other thing I'm not clear on is, how do you, "create containers" in the tpl_main_page.php?

    Here is what I did in the tpl_main_page.php,
    Code:
    <div id="mainWrapper">
    <?php
     /**
      * prepares and displays header output
      *
      */
      require($template->get_template_dir('tpl_header.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_header.php');?>
    <div class="roundcont">
       <div class="roundtop">
         <img src="http://oneposhshop.com/Shop/includes/templates/Posh_by_Trois_Soeurs/Images/left_corner_bg.jpg" alt="" 
         width="15" height="15" class="corner" 
         style="display: none" />
       </div>
    
       <p><img src="http:/oneposhshop.com/Shop/includes/templates/Posh_by_Trois_Soeurs/Images/Trois Soeurs.gif"></p>
      
       <div class="roundbottom">
         <img src="http://oneposhshop.com/Shop/includes/templates/Posh_by_Trois_Soeurs/Images/bot_left_corner_bg.jpg" alt="" 
         width="15" height="15" class="corner" 
         style="display: none" />
       </div>
    </div></div>
    
    <!-- bof  breadcrumb -->
    Is that how containers are created?
    Well, not quite. You'd need to put the opening one before <div id="mainWrapper"> and the ending ones before the closing </body> You'll have to play around with the placement and css quite a bit.

    I looked at your image:
    http://oneposhshop.com/Shop/includes..._corner_bg.jpg

    And that's an awfully large corner. Do you want it that big? Remember that now you'll have a chunk that tall and wide where no text can be.

    I like the route you're going, I think its very unique, but I think I'd simplify it by removing the outer shadows, make the corners arcs much smaller, and it would save you some grief. You also need to save it as a gif with a transparent background if you want the background to show through.

    Here, I made a corner that I think would work better for you, and have attached it to this message. It's 29px tall by 29px wide, so you'd need to adjust that in the code. Just rotate it and resave it for each corner.

    After creating the containers, you'll have a good bit of work in the css to make this the correct widths and such. Its not a simple procedure, sorry!
    Attached Images Attached Images  

  6. #606
    Join Date
    Feb 2007
    Posts
    77
    Plugin Contributions
    0

    Default Re: Apple Zen Template Support Thread

    Quote Originally Posted by jettrue View Post
    Try this instead:

    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^yoursite\.com$ [NC]
    RewriteRule ^(.*)$ http://www.yoursite.com/$1 [R=301,L]
    Just tried it, still the same but this time it won't add the www when i don't put www

  7. #607
    Join Date
    Apr 2007
    Posts
    53
    Plugin Contributions
    0

    Default Re: Apple Zen Template Support Thread

    Quote Originally Posted by jettrue View Post
    Well, not quite. You'd need to put the opening one before <div id="mainWrapper"> and the ending ones before the closing </body> You'll have to play around with the placement and css quite a bit.

    I looked at your image:
    http://oneposhshop.com/Shop/includes..._corner_bg.jpg

    And that's an awfully large corner. Do you want it that big? Remember that now you'll have a chunk that tall and wide where no text can be.

    After creating the containers, you'll have a good bit of work in the css to make this the correct widths and such. Its not a simple procedure, sorry!
    I just used that sloppy image to see if it would even work and then I'm planning on going back and perfecting the images. For one thing, I used paint shop pro to make that corner and I absolutely hate that program but I didn't want to tie up my other computer just to use photoshop for something that I wasnt sure would even work.

  8. #608
    Join Date
    Apr 2007
    Posts
    53
    Plugin Contributions
    0

    Default Re: Apple Zen Template Support Thread

    Quote Originally Posted by jettrue View Post
    Well, not quite. You'd need to put the opening one before <div id="mainWrapper"> and the ending ones before the closing </body> You'll have to play around with the placement and css quite a bit.
    Here is the code that I changed in the tpl_main_page.php file

    Code:
    <div class="roundcont">
       <div class="roundtop">
         <img src="http://oneposhshop.com/Shop/includes/templates/Posh_by_Trois_Soeurs/Images/tl_bg.gif" alt="" 
         width="83" height="80" class="corner" 
         style="display: none" />
       </div>
    
    <div id="mainWrapper">
    <?php
     /**
      * prepares and displays header output
      *
      */
      require($template->get_template_dir('tpl_header.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_header.php');?>
    
       <p><img src="http:/oneposhshop.com/Shop/includes/templates/Posh_by_Trois_Soeurs/Images/Trois Soeurs.gif"></p>
      
    </div>
    
    <!-- bof  breadcrumb -->
    <?php if (DEFINE_BREADCRUMB_STATUS == '1' || (DEFINE_BREADCRUMB_STATUS == '2' && !$this_is_home_page) ) { ?>
        <div id="navBreadCrumb"><?php echo $breadcrumb->trail(BREAD_CRUMBS_SEPARATOR); ?></div>
    <?php } ?>
    <!-- eof breadcrumb -->
    
    <?php
      if (SHOW_BANNERS_GROUP_SET3 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET3)) {
        if ($banner->RecordCount() > 0) {
    ?>
    <div id="bannerThree" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
    <?php
        }
      }
    ?>
    
    <!-- bof upload alerts -->
    <?php if ($messageStack->size('upload') > 0) echo $messageStack->output('upload'); ?>
    <!-- eof upload alerts -->
    
    <?php
     /**
      * prepares and displays center column
      *
      */
     require($body_code); ?>
    
    </div>
    </div>
    </div>
    </div>
    <?php
      if (SHOW_BANNERS_GROUP_SET4 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET4)) {
        if ($banner->RecordCount() > 0) {
    ?>
    <div id="bannerFour" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
    <?php
        }
      }
    ?></td>
    
    <?php
    if (COLUMN_RIGHT_STATUS == 0 or (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '')) {
      // global disable of column_right
      $flag_disable_right = true;
    }
    if (!isset($flag_disable_right) || !$flag_disable_right) {
    ?>
    <td id="navColumnTwo" class="columnRight" style="width: <?php echo COLUMN_WIDTH_RIGHT; ?>">
    <?php
     /**
      * prepares and displays right column sideboxes
      *
      */
    ?>
    <div id="navColumnTwoWrapper" style="width: <?php echo BOX_WIDTH_RIGHT; ?>"><?php require(DIR_WS_MODULES . zen_get_module_directory('column_right.php')); ?></div></td>
    <?php
    }
    ?>
      </tr>
    </table>
    
    <?php
     /**
      * prepares and displays footer output
      *
      */
      require($template->get_template_dir('tpl_footer.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_footer.php');?>
    </div>
    <!--bof- parse time display -->
    <?php
      if (DISPLAY_PAGE_PARSE_TIME == 'true') {
    ?>
    <div class="smallText center">Parse Time: <?php echo $parse_time; ?> - Number of Queries: <?php echo $db->queryCount(); ?> - Query Time: <?php echo $db->queryTime(); ?></div>
    <?php
      }
    ?>
    <!--eof- parse time display -->
    <!--bof- banner #6 display -->
    <?php
      if (SHOW_BANNERS_GROUP_SET6 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET6)) {
        if ($banner->RecordCount() > 0) {
    ?>
    <div id="bannerSix" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
    <?php
        }
      }
    ?>
    <!--eof- banner #6 display -->
       <div class="roundbottom">
         <img src="http://oneposhshop.com/Shop/includes/templates/Posh_by_Trois_Soeurs/Images/bl_bg.gif" alt="" 
         width="81" height="79" class="corner" 
         style="display: none" />
       </div>
    </div>
    </body>
    I'm still not clear on why these changes belong in the tpl_main_page.php file if they don't show in the view page source from http://oneposhshop.com/Shop.

    Should I be making these changes in the code to another file?

  9. #609
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: Apple Zen Template Support Thread

    Quote Originally Posted by oneposhshop View Post
    Here is the code that I changed in the tpl_main_page.php file

    I'm still not clear on why these changes belong in the tpl_main_page.php file if they don't show in the view page source from http://oneposhshop.com/Shop.

    Should I be making these changes in the code to another file?
    Are you saving it in your template folder???

    includes/templates/Posh_by_Trois_Soeurs/common/tpl_main_page.php

  10. #610
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: Apple Zen Template Support Thread

    Quote Originally Posted by HelpMeSell View Post
    Just tried it, still the same but this time it won't add the www when i don't put www
    At one point it seemed to be working (around 11 am today), cause I clicked on

    http://axlesforless.com/index.php

    and it went to

    http://www.axlesforless.com/index.php

    Ah, sorry, I made an error, it should be like this (of course replace yoursite with Your Site. :-)):

    RewriteEngine On
    RewriteCond &#37;{HTTP_HOST} ^yoursite.com$ [NC]
    RewriteRule ^(.*)$ http://www.yoursite.com/$1 [R=301,L]

 

 

Similar Threads

  1. Zen Lightbox addon [Support Thread]
    By Alex Clarke in forum All Other Contributions/Addons
    Replies: 3725
    Last Post: 20 Feb 2025, 05:46 PM
  2. Cherry Zen Template Support Thread
    By jettrue in forum Addon Templates
    Replies: 3250
    Last Post: 13 Nov 2017, 08:02 PM
  3. v151 Zen Magnific Support Thread
    By mutinyzoo in forum All Other Contributions/Addons
    Replies: 79
    Last Post: 14 Sep 2015, 04:39 AM
  4. Simple Zen Template - Support Thread
    By jettrue in forum Addon Templates
    Replies: 461
    Last Post: 27 Apr 2013, 01:33 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR