X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Where can I change the "welcome_picture.jpg" link and file name? (https://forum.x-cart.com/showthread.php?t=66975)

benmackie 05-29-2013 07:11 AM

Where can I change the "welcome_picture.jpg" link and file name?
 
Right now I replaced welcome_picture.jpg with a different picture, but I want to name it "guitars-for-sale.jpg" and change the link from x-cart.com to a link on my site.

anandat 05-29-2013 08:05 AM

Re: Where can I change the "welcome_picture.jpg" link and file name?
 
you need to change in welcome.tpl

benmackie 05-29-2013 09:24 AM

Re: Where can I change the "welcome_picture.jpg" link and file name?
 
HTML Code:

{*
$Id: welcome.tpl,v 1.1.1.1.2.5 2012/09/13 13:13:05 random Exp $
vim: set ts=2 sw=2 sts=2 et:
*}
<div class="welcome-table">

    <div class="welcome-cell">
   
    {include file="customer/main/home_page_banner.tpl"}
        {$lng.txt_welcome}

        {if $active_modules.Bestsellers and $config.Bestsellers.bestsellers_menu ne "Y"}
          {include file="modules/Bestsellers/bestsellers.tpl"}<br />
        {/if}
        {if $active_modules.Bestsellers && $bestsellers}
            {assign var=row_length value=2}
        {else}
            {assign var=row_length value=false}
        {/if}

        <script type="text/javascript">
          //<![CDATA[
          $(function() {ldelim}
            var days = ('function' != typeof window.func_is_allowed_cookie || func_is_allowed_cookie('welcome-tabs-')) ? 1 : -1;
            var myOpts = {ldelim}
              idPrefix: 'welcome-tabs-', cookie: {ldelim} expires: days, name: "welcome-tabs" {rdelim}  {rdelim};
            $('#welcome-tabs-container').tabs(myOpts);
          {rdelim});
          //]]>

        </script>   
        <div id="welcome-tabs-container">
          <ul>
            {if $active_modules.New_Arrivals and $new_arrivals and $config.New_Arrivals.new_arrivals_home eq 'Y'}
              <li><a href="#new-arrivals">{$lng.lbl_new_arrivals}</a></li>
            {/if}
            {if $active_modules.On_Sale and $on_sale_products and $config.On_Sale.on_sale_home eq 'Y'}
              <li><a href="#on-sale">{$lng.lbl_on_sale}</a></li>
            {/if}
            {if $f_products}
              <li><a href="#featured-products">{$lng.lbl_featured_products}</a></li>
            {/if}
          </ul>
          {if $active_modules.New_Arrivals and $new_arrivals and $config.New_Arrivals.new_arrivals_home eq 'Y'}
            <div id="new-arrivals">
              {include file="modules/New_Arrivals/new_arrivals.tpl" is_home_page="Y" noborder="true"}
            </div>
          {/if}
          {if $active_modules.On_Sale and $on_sale_products and $config.On_Sale.on_sale_home eq 'Y'}
            <div id="on-sale">
              {include file="modules/On_Sale/on_sale.tpl" is_home_page="Y" noborder="true"}
            </div>
          {/if}
          {if $f_products}
            <div id="featured-products">
              {include file="customer/main/featured.tpl" row_length=$row_length noborder="true"}
            </div>
          {/if}
          </div>
    </div>

    {if $active_modules.Bestsellers && $bestsellers}
    <div class="bestsellers-cell">
        {include file="modules/Bestsellers/menu_bestsellers.tpl"}
    </div>
    {/if}
</div>
<div class="clearing"></div>


Where? I don't see "welcome_picture.jpg" or an href around that says "http//www.x-cart.com" which is what firebug is telling me change.

carpeperdiem 05-29-2013 10:33 AM

Re: Where can I change the "welcome_picture.jpg" link and file name?
 
1. Webmaster Mode
http://help.x-cart.com/index.php?title=X-Cart:Using_Webmaster_mode

2. may I suggest searching the docs and the forum before posting individual requests... 99.2% of your answers will be staring you in the face.

http://help.x-cart.com/index.php?title=Main_Page
http://forum.x-cart.com/search.php

benmackie 05-29-2013 11:28 AM

Re: Where can I change the "welcome_picture.jpg" link and file name?
 
Quote:

Originally Posted by carpeperdiem



Quote:

Enter your admin zone, go to the 'Administration' menu, 'Webmaster mode' page. Click on 'Start webmaster mode' button.

See, that would work if it existed. It's actually in the admin section, under the menu item "tools."

I am going to be here for a few days, and I apologize in advance for my questions, but if I am starting a thread it's because I read the docs and found them inadequate.

carpeperdiem 05-29-2013 11:49 AM

Re: Where can I change the "welcome_picture.jpg" link and file name?
 
You discovered a bug in the docs. I believe the menu item changed in version 4.5 and it has not been documented in all places. I took a look around and some references to webmaster mode have the correct path to the command - but other places in the docs are outdated. You could make a bug report and join the community.

Webmaster mode is going to be your BFF during your site development. Webmaster mode also will give you insight to variables and all template and langauge relationships. You are going to use it extensively.

Have fun.

benmackie 05-29-2013 12:05 PM

Re: Where can I change the "welcome_picture.jpg" link and file name?
 
Thanks a lot man, appreciate it and see you around.


All times are GMT -8. The time now is 02:06 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.