Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Add News Sticker In Vendor Panel Rate Topic   - - - - -

 
  • muimui
  • Advanced Member
  • Members
  • Join Date: 22-May 17
  • 76 posts

Posted 12 June 2017 - 05:52 PM #1

hi, how i can add News Sticker In vendor panel / add navigation menu page in vendor panel? to all my vendor?

thanks

Attached Thumbnails

  • asss.png


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 21804 posts

Posted 13 June 2017 - 06:39 AM #2

Dashboard template is located here

 

design/backend/templates/views/index/index.tpl


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • muimui
  • Advanced Member
  • Members
  • Join Date: 22-May 17
  • 76 posts

Posted 29 June 2017 - 10:36 AM #3

Dashboard template is located here

 

design/backend/templates/views/index/index.tpl

hi thanks for reply. but may i know . what's the code to put image in red box area? with url click for the image banner.

and where the location i need to put that code?

 

thank you



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 21804 posts

Posted 29 June 2017 - 01:02 PM #4

What kind of information do you want to place in new section?


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • muimui
  • Advanced Member
  • Members
  • Join Date: 22-May 17
  • 76 posts

Posted 29 June 2017 - 04:31 PM #5

What kind of information do you want to place in new section?

 

 i need to put banner image in there 468x60 pixel.

in directory : images/abc.gif



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 21804 posts

Posted 30 June 2017 - 05:22 AM #6

E.g.

<a href="URL"><img src="images/abc.gif" /></a>

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • muimui
  • Advanced Member
  • Members
  • Join Date: 22-May 17
  • 76 posts

Posted 30 June 2017 - 06:39 AM #7

 

E.g.

<a href="URL"><img src="images/abc.gif" /></a>

 

may i know the location to put this script? below script ?

 

<!DOCTYPE html>
<html lang="en" dir="{$language_direction}">

<head>
{strip}
<title>
    {if $page_title}
        {$page_title}
    {else}
        {if $navigation.selected_tab}{__($navigation.selected_tab)}{if $navigation.subsection} :: {__($navigation.subsection)}{/if} - {/if}{__("admin_panel")}
    {/if}
</title>
{/strip}
<meta name="viewport" content="width=1240,maximum-scale=1.0" />
<link href="{$images_dir}/favicon.ico" rel="shortcut icon" type="image/x-icon" >
{include file="common/styles.tpl"}
{if "DEVELOPMENT"|defined && $smarty.const.DEVELOPMENT == true}
<script type="text/javascript" data-no-defer>
window.jsErrors = [];
/*window.onerror = function(errorMessage) {
    document.write('<div data-ca-debug="1" style="border: 2px solid red; margin: 2px;">' + errorMessage + '</div>');
}*/
</script>
{/if}
</head>
{include file="buttons/helpers.tpl"}
<!--[if lte IE 8 ]><body class="ie8"><![endif]-->
<!--[if lte IE 9 ]><body class="ie9"><![endif]-->
<!--[if !IE]><!--><body><!--<![endif]-->
    {include file="common/loading_box.tpl"}
    {if "THEMES_PANEL"|defined}
        {include file="demo_theme_selector.tpl"}
    {/if}
    {include file="common/notification.tpl"}
    {include file=$content_tpl assign="content"}
    <div class="main-wrap" id="main_column{if !$auth.user_id || $view_mode == 'simple'}_login{/if}">
    {if $view_mode != "simple"}
        <div class="admin-content">

            <div id="header" class="header">
                {include file="menu.tpl"}
            <!--header--></div>

            <div class="admin-content-wrap">
                {hook name="index:main_content"}{/hook}
                {$content nofilter}
                {$stats|default:"" nofilter}
            </div>

        </div>
        {else}
        {$content nofilter}
    {/if}

    <!--main_column{if !$auth.user_id || $view_mode == 'simple'}_login{/if}--></div>

    {include file="common/comet.tpl"}
    
    {if $smarty.request.meta_redirect_url|fn_check_meta_redirect}
        <meta http-equiv="refresh" content="1;url={$smarty.request.meta_redirect_url|fn_check_meta_redirect|fn_url}" />
    {/if}

    {if $auth.user_id && 'settings'|fn_check_permissions:'change_store_mode':'admin':'POST'}
        {include file="views/settings/store_mode.tpl" show=$show_sm_dialog}
        {include file="views/settings/trial_expired.tpl" show=$show_trial_dialog}
    {/if}

    {hook name="index:after_content"}{/hook}

    {include file="common/scripts.tpl"}
</body>
</html>

banner under DASHBOARD, center



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 21804 posts

Posted 30 June 2017 - 12:44 PM #8

looks like you use incorrect file. The correct file path is

 

design/backend/templates/views/index/index.tpl

 

try to put the code before the following line

<table class="dashboard-card-table">

and do not forget to clear cache


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • muimui
  • Advanced Member
  • Members
  • Join Date: 22-May 17
  • 76 posts

Posted 30 June 2017 - 01:12 PM #9

thanks its work, and may i know where is the location file to add image in General Tab = Images Tab = SEO Tab = Tags Tab

i need to put every banner image in every tab. thanks



 
  • galtinbaeva
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 06-Dec 13
  • 3615 posts

Posted 30 June 2017 - 05:25 PM #10

thanks its work, and may i know where is the location file to add image in General Tab = Images Tab = SEO Tab = Tags Tab

i need to put every banner image in every tab. thanks

 

Hello!

 

Do you mean the product details page?

 

Then you need these files:

 

design/backend/templates/views/products/update.tpl - general, images and seo tabs

design/backend/templates/addons/tags/hooks/products/tabs_content.post.tpl - Tags tab

 

Tabs look like this

<div id="content_seo" class="hidden">
...
</div>

Simtech Development | sales@simtechdev.com | www.simtechdev.com
CERTIFIED CS-CART PARTNER | LICENSES | DEVELOPMENT | ADD-ONS | DESIGN | UPGRADE

Google Analytics Enhanced Ecommerce - get advanced ecommerce analytics


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 21804 posts

Posted 03 July 2017 - 05:14 AM #11

If you want to put your code,  just change only one file which is used on all pages

 

design/backend/templates/index.tpl

 

If you are not familiar with hooks, just put your code after the following line:

{hook name="index:main_content"}{/hook}

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)