Wallpaper Script Forum » Announcements

No wallpaper Found

(23 posts)
  • Started 2 years ago by masood_qasier
  • Latest reply from qasier
  1. HI,
    I edit three files for featured wallpaper enabling. ( files and screen shot attached )
    i got error. At top left top of the page " No wallpaper found "
    and under Heading of Featured wallpapers " wallpaper found".
    how can i fix it. Please Help me.

    Posted 2 years ago #
  2. attachments:

    Attachments

    1. items_feat.tpl.txt (0.3 KB, 5 downloads) 2 years old
    2. item.tpl.txt (3 KB, 3 downloads) 2 years old
    3. index.inc.php.txt (0.3 KB, 4 downloads) 2 years old
    Posted 2 years ago #
  3. main.tpl code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <?php
    $title = SITE_NAME." - Desktop Wallpapers";
    $description = $title;

    $key = explode(" ", $description);
    $keywords = trim($key[0]);
    for($i=1; $i < count($key); $i++)
    $keywords .= ",".trim($key[$i]);
    ?>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>{$meta_title}</title>
    <meta name="description" content="{$meta_description}" />
    <meta name="keywords" content="{$meta_keywords}" />
    <meta name="distribution" content="Global" />
    <meta name="rating" content="General" />
    <meta name="author" content="{$smarty.const.SITE_NAME}" />
    <meta name="language" content="en-us" />
    <meta name="robots" content="index,follow" />
    <meta name="version" content="{$smarty.const.SCRIPT_VERSION}.{$smarty.const.SCRIPT_REVISION}" />
    {include file="items_feat.tpl" items=$featitems}
    <meta http-equiv="Content-Style-Type" content="text/css" />
    <meta http-equiv="Content-Script-Type" content="text/javascript" />
    <link rel="alternate" href="{$smarty.const.WEB_PATH}rss" type="application/rss+xml" title="{$meta_title} RSS" id="gallery" />
    {if SIFR_ENABLED==1}
    <link rel="stylesheet" href="{$smarty.const.WEB_PATH}sifr/sIFR-screen.css" type="text/css" media="screen" />
    <link rel="stylesheet" href="{$smarty.const.WEB_PATH}sifr/sIFR-print.css" type="text/css" media="print" />
    {/if}
    <style type="text/css" media="all">
    {assign var="thumb_width" value=$smarty.const.THUMB_WIDTH}
    {assign var="thumb_height" value=$smarty.const.THUMB_HEIGHT}
    body{ldelim}
    background-color:{$smarty.const.BODY_BACKGROUND_COLOR};
    color: {$smarty.const.BODY_TEXT_COLOR};
    {rdelim}
    /*test with fading png*/

    a:link, a:visited, a:hover{ldelim}
    color:{$smarty.const.SITE_LINKS_COLOR};
    {rdelim}
    a:hover{ldelim}
    color:{$smarty.const.SITE_LINKS_HOVER};
    {rdelim}
    .thumb a:hover , .wallpaper-thumb:hover{ldelim}
    border:1px solid {$smarty.const.SITE_LINKS_HOVER};
    {rdelim}
    .thumb_img
    {ldelim}
    width:{$smarty.const.THUMB_WIDTH}px;
    height:{$smarty.const.THUMB_HEIGHT}px;
    {rdelim}

    h1{ldelim}
    color:{$smarty.const.SITE_HEADER_TEXT};
    {rdelim}

    .container_inside, .content{ldelim}
    background-color:{$smarty.const.PAGE_BACKGROUND_COLOR};
    {rdelim}

    /*test with fading png*/
    /*add color for sliding menu*/
    .menu{ldelim}
    background-color:{$smarty.const.MENU_BACKGROUND_COLOR};
    border:1px solid {$smarty.const.MENU_BACKGROUND_COLOR};
    {rdelim}
    .menu a, .menu a:visited{ldelim}
    color:{$smarty.const.MENU_LINK_COLOR};
    {rdelim}
    .menu a:hover{ldelim}
    color:{$smarty.const.MENU_LINK_HOVER};
    {rdelim}
    .transMenu .items {ldelim}
    border: 1px solid {$smarty.const.MENU_BACKGROUND_COLOR};
    {rdelim}

    .left-panel, .right-panel{ldelim}
    background-color:{$smarty.const.PANEL_BACKGROUND_COLOR};
    {rdelim}
    .left-panel a:link, .left-panel a:visited, .right-panel a:link, .right-panel a:visited{ldelim}
    color:{$smarty.const.PANEL_LINKS_COLOR};
    {rdelim}
    .left-panel a:hover, .right-panel a:hover{ldelim}
    color:{$smarty.const.PANEL_LINKS_HOVER};
    {rdelim}
    .transMenu .item.hover
    {ldelim}
    background-color: {$smarty.const.MENU_LINK_HOVER};
    {rdelim}

    .input-text, .input-textarea, .input-text-short, .input-other, .button, .thumb a, .wallpaper-thumb{ldelim}
    border:1px solid {$smarty.const.BORDERS_COLOR};
    {rdelim}

    .wallpaper-resolutions a:hover{ldelim}
    background-color:{$smarty.const.SITE_LINKS_HOVER};
    color:{$smarty.const.PAGE_BACKGROUND_COLOR};
    {rdelim}
    div#transmenu a:link, div#transmenu a:visited {ldelim}
    color: {$smarty.const.MENU_LINK_COLOR};
    background-color: {$smarty.const.MENU_BACKGROUND_COLOR};
    {rdelim}
    .transMenu .item {ldelim}

    color: {$smarty.const.MENU_LINK_COLOR};
    {rdelim}
    .transMenu .item.hover {ldelim}

    color: {$smarty.const.MENU_LINK_COLOR};
    {rdelim}

    .rss-back{ldelim}
    background-color:{$smarty.const.SITE_HEADER_TEXT};
    {rdelim}

    .logo-back{ldelim}
    background-color:{$smarty.const.SITE_HEADER_TEXT};
    {rdelim}
    ul.wallpapers li.wall{ldelim}
    width:{math equation="x + 2" x=$thumb_width}px;
    height:{math equation="y + 45" y=$thumb_height}px;
    {rdelim}
    .thumb_img
    {ldelim}
    width:{$smarty.const.THUMB_WIDTH}px;
    height:{$smarty.const.THUMB_HEIGHT}px;
    {rdelim}
    </style>
    <link rel="stylesheet" href="{$smarty.const.WEB_PATH}templates/{$smarty.const.TEMPLATE}/style.css" type="text/css" />
    <script type="text/javascript">
    var webPath = '{$smarty.const.WEB_PATH}';
    var fullWebPath = '{$smarty.const.DOMAIN_NAME}{$smarty.const.WEB_PATH}';
    var MENU_BACKGROUND_COLOR = '{$smarty.const.MENU_BACKGROUND_COLOR}';
    </script>
    {if SIFR_ENABLED==1}
    <script type="text/javascript" src="{$smarty.const.WEB_PATH}sifr/sifr.js"></script>
    <script type="text/javascript" src="{$smarty.const.WEB_PATH}sifr/sifr-addons.js"></script>
    {/if}
    {if $smarty.const.JSDROPDOWN_ENABLED==1}
    <script type="text/javascript" src="{$smarty.const.WEB_PATH}js/menu.js"></script>
    {/if}
    <script type="text/javascript" src="{$smarty.const.WEB_PATH}js/mootools-1.2-core-yc.js"></script>
    <script type="text/javascript" src="{$smarty.const.WEB_PATH}js/mootools-1.2-more.js"></script>
    <script type="text/javascript" src="{$smarty.const.WEB_PATH}js/xmlhttprequest.js"></script>
    <script type="text/javascript" src="{$smarty.const.WEB_PATH}js/rating.js"></script>
    <script type="text/javascript" src="{$smarty.const.WEB_PATH}js/global.js"></script>
    {if $smarty.session.user_data.type == 'admin'}
    <script type="text/javascript" src="{$smarty.const.WEB_PATH}js/admin.js"></script>
    {/if}
    <script type="text/javascript" src="{$smarty.const.WEB_PATH}js/behavior.js"></script>
    <!--[if IE 6]><link rel="stylesheet" type="text/css" href="{$smarty.const.WEB_PATH}templates/{$smarty.const.TEMPLATE}/ie6.css" media="screen" /><![endif]-->
    <!--[if IE]><link rel="stylesheet" type="text/css" href="{$smarty.const.WEB_PATH}templates/{$smarty.const.TEMPLATE}/ie.css" media="screen" /><![endif]-->
    <script type="text/javascript">
    {assign var='siteErrors1' value=$siteErrors|replace_stuff:"\r":" "|replace_stuff:"\n":" "}
    {assign var='siteSuccess1' value=$siteSuccess|replace_stuff:"\r":" "|replace_stuff:"\n":" "}
    {assign var='siteNotices1' value=$siteNotices|replace_stuff:"\r":" "|replace_stuff:"\n":" "}
    var siteErrors= '{$siteErrors1|replace_stuff:'\'':'\\\''}';
    var siteSuccess= '{$siteSuccess1|replace_stuff:'\'':'\\\''}';
    var siteNotices= '{$siteNotices1|replace_stuff:'\'':'\\\''}';
    </script>

    <script src="{$smarty.const.WEB_PATH}js/roar.js" type="text/javascript" charset="utf-8"></script>
    <link rel="stylesheet" href="{$smarty.const.WEB_PATH}js/roar.css" type="text/css" />
    <script src="{$smarty.const.WEB_PATH}js/textboxlist.js" type="text/javascript" charset="utf-8"></script>
    <script src="{$smarty.const.WEB_PATH}js/facebooklist.js" type="text/javascript" charset="utf-8"></script>

    {$_HOOK_HEAD_}

    <link rel="stylesheet" href="{$smarty.const.WEB_PATH}templates/{$smarty.const.TEMPLATE}/custom.css" type="text/css" />
    </head>
    <body>
    {dynamic}
    <div id="notifyBox" style="display:none;">
    <div id="errors">{$siteErrors}</div>
    <div id="success">{$siteSuccess}</div>
    <div id="notices">{$siteNotices}</div>
    <div class="drawerDown"></div>
    </div>
    {/dynamic}
    <div id="body">
    <div class="top-header"></div>
    <div class="container" id="container">
    <div class="container_right">
    <div class="container_inside">
    <div id="ie_background"></div>
    {include file="header.tpl"}
    <div class="content_background"> {include file="left.tpl"}
    <div class="content" id="content">
    <div class="rss-back"><span class="rss-image" title="{l s='Featured wallpapers RSS'}"></span></div><h1 style="width:560px;">{l s='Featured wallpapers'}</h1>
    {include file="items_feat.tpl" items=$featitems}
    {$breadCrumb}
    {dynamic}
    {$content}
    {/dynamic}
    {include file="content.tpl"}
    <br class="reset" clear="all" />
    {*include file=$template_page_name*} </div>
    {include file="right.tpl"}
    <div class="reset"></div>
    <br class="reset" clear="all" />
    </div>
    <div class="reset"></div>
    {include file="footer.tpl"}
    </div>
    <div class="container_right_ie"></div>
    </div>
    </div>
    <div class="bottom-footer"></div>
    </div>
    </body>
    </html>

    Attachments

    1. error_a.jpg (91.5 KB, 1 downloads) 2 years old
    Posted 2 years ago #
  4. wallpapers
    Member

    are you using paid version or free version ?

    Posted 2 years ago #
  5. i am using paid Version

    Posted 2 years ago #
  6. wallpapers
    Member

    remove "{include file="items_feat.tpl" items=$featitems}" from main.tpl file to fix this error...

    search for this:
    <meta name="version" content="{$smarty.const.SCRIPT_VERSION}.{$smarty.const.SCRIPT_REVISION}" />

    than remove this line, its right below the above line:
    {include file="items_feat.tpl" items=$featitems}

    Posted 2 years ago #
  7. and this is admin

    Attachments

    1. Erro.jpg (92.4 KB, 4 downloads) 2 years old
    Posted 2 years ago #
  8. and this is admin

    Attachments

    1. Erro.jpg (92.4 KB, 0 downloads) 2 years old
    Posted 2 years ago #
  9. ok thanks
    my site work

    Posted 2 years ago #
  10. still the Problem the my site
    i am Clear all cache the Featured wallpapers show and i am logout i click the the wallpaper and wallpaper show and i am go the back and my site Error
    help me
    and i Attach the pic

    Attachments

    1. error.jpg (72.6 KB, 0 downloads) 2 years old
    Posted 2 years ago #
  11. wallpapers
    Member

    remove this code below from main.tpl file:
    <div class="rss-back"><span class="rss-image" title="{l s='Featured wallpapers RSS'}"></span></div><h1 style="width:560px;">{l s='Featured wallpapers'}</h1>
    {include file="items_feat.tpl" items=$featitems}

    and upload it to "index.tpl" file.

    Posted 2 years ago #
  12. i am romove the code
    -------------------------------<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <?php
    $title = SITE_NAME." - Desktop Wallpapers";
    $description = $title;

    $key = explode(" ", $description);
    $keywords = trim($key[0]);
    for($i=1; $i < count($key); $i++)
    $keywords .= ",".trim($key[$i]);
    ?>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>{$meta_title}</title>
    <meta name="description" content="{$meta_description}" />
    <meta name="keywords" content="{$meta_keywords}" />
    <meta name="distribution" content="Global" />
    <meta name="rating" content="General" />
    <meta name="author" content="{$smarty.const.SITE_NAME}" />
    <meta name="language" content="en-us" />
    <meta name="robots" content="index,follow" />
    <meta name="version" content="{$smarty.const.SCRIPT_VERSION}.{$smarty.const.SCRIPT_REVISION}" />
    <meta http-equiv="Content-Style-Type" content="text/css" />
    <meta http-equiv="Content-Script-Type" content="text/javascript" />
    <link rel="alternate" href="{$smarty.const.WEB_PATH}rss" type="application/rss+xml" title="{$meta_title} RSS" id="gallery" />
    {if SIFR_ENABLED==1}
    <link rel="stylesheet" href="{$smarty.const.WEB_PATH}sifr/sIFR-screen.css" type="text/css" media="screen" />
    <link rel="stylesheet" href="{$smarty.const.WEB_PATH}sifr/sIFR-print.css" type="text/css" media="print" />
    {/if}
    <style type="text/css" media="all">
    {assign var="thumb_width" value=$smarty.const.THUMB_WIDTH}
    {assign var="thumb_height" value=$smarty.const.THUMB_HEIGHT}
    body{ldelim}
    background-color:{$smarty.const.BODY_BACKGROUND_COLOR};
    color: {$smarty.const.BODY_TEXT_COLOR};
    {rdelim}
    /*test with fading png*/

    a:link, a:visited, a:hover{ldelim}
    color:{$smarty.const.SITE_LINKS_COLOR};
    {rdelim}
    a:hover{ldelim}
    color:{$smarty.const.SITE_LINKS_HOVER};
    {rdelim}
    .thumb a:hover , .wallpaper-thumb:hover{ldelim}
    border:1px solid {$smarty.const.SITE_LINKS_HOVER};
    {rdelim}
    .thumb_img
    {ldelim}
    width:{$smarty.const.THUMB_WIDTH}px;
    height:{$smarty.const.THUMB_HEIGHT}px;
    {rdelim}

    h1{ldelim}
    color:{$smarty.const.SITE_HEADER_TEXT};
    {rdelim}

    .container_inside, .content{ldelim}
    background-color:{$smarty.const.PAGE_BACKGROUND_COLOR};
    {rdelim}

    /*test with fading png*/
    /*add color for sliding menu*/
    .menu{ldelim}
    background-color:{$smarty.const.MENU_BACKGROUND_COLOR};
    border:1px solid {$smarty.const.MENU_BACKGROUND_COLOR};
    {rdelim}
    .menu a, .menu a:visited{ldelim}
    color:{$smarty.const.MENU_LINK_COLOR};
    {rdelim}
    .menu a:hover{ldelim}
    color:{$smarty.const.MENU_LINK_HOVER};
    {rdelim}
    .transMenu .items {ldelim}
    border: 1px solid {$smarty.const.MENU_BACKGROUND_COLOR};
    {rdelim}

    .left-panel, .right-panel{ldelim}
    background-color:{$smarty.const.PANEL_BACKGROUND_COLOR};
    {rdelim}
    .left-panel a:link, .left-panel a:visited, .right-panel a:link, .right-panel a:visited{ldelim}
    color:{$smarty.const.PANEL_LINKS_COLOR};
    {rdelim}
    .left-panel a:hover, .right-panel a:hover{ldelim}
    color:{$smarty.const.PANEL_LINKS_HOVER};
    {rdelim}
    .transMenu .item.hover
    {ldelim}
    background-color: {$smarty.const.MENU_LINK_HOVER};
    {rdelim}

    .input-text, .input-textarea, .input-text-short, .input-other, .button, .thumb a, .wallpaper-thumb{ldelim}
    border:1px solid {$smarty.const.BORDERS_COLOR};
    {rdelim}

    .wallpaper-resolutions a:hover{ldelim}
    background-color:{$smarty.const.SITE_LINKS_HOVER};
    color:{$smarty.const.PAGE_BACKGROUND_COLOR};
    {rdelim}
    div#transmenu a:link, div#transmenu a:visited {ldelim}
    color: {$smarty.const.MENU_LINK_COLOR};
    background-color: {$smarty.const.MENU_BACKGROUND_COLOR};
    {rdelim}
    .transMenu .item {ldelim}

    color: {$smarty.const.MENU_LINK_COLOR};
    {rdelim}
    .transMenu .item.hover {ldelim}

    color: {$smarty.const.MENU_LINK_COLOR};
    {rdelim}

    .rss-back{ldelim}
    background-color:{$smarty.const.SITE_HEADER_TEXT};
    {rdelim}

    .logo-back{ldelim}
    background-color:{$smarty.const.SITE_HEADER_TEXT};
    {rdelim}
    ul.wallpapers li.wall{ldelim}
    width:{math equation="x + 2" x=$thumb_width}px;
    height:{math equation="y + 45" y=$thumb_height}px;
    {rdelim}
    .thumb_img
    {ldelim}
    width:{$smarty.const.THUMB_WIDTH}px;
    height:{$smarty.const.THUMB_HEIGHT}px;
    {rdelim}
    </style>
    <link rel="stylesheet" href="{$smarty.const.WEB_PATH}templates/{$smarty.const.TEMPLATE}/style.css" type="text/css" />
    <script type="text/javascript">
    var webPath = '{$smarty.const.WEB_PATH}';
    var fullWebPath = '{$smarty.const.DOMAIN_NAME}{$smarty.const.WEB_PATH}';
    var MENU_BACKGROUND_COLOR = '{$smarty.const.MENU_BACKGROUND_COLOR}';
    </script>
    {if SIFR_ENABLED==1}
    <script type="text/javascript" src="{$smarty.const.WEB_PATH}sifr/sifr.js"></script>
    <script type="text/javascript" src="{$smarty.const.WEB_PATH}sifr/sifr-addons.js"></script>
    {/if}
    {if $smarty.const.JSDROPDOWN_ENABLED==1}
    <script type="text/javascript" src="{$smarty.const.WEB_PATH}js/menu.js"></script>
    {/if}
    <script type="text/javascript" src="{$smarty.const.WEB_PATH}js/mootools-1.2-core-yc.js"></script>
    <script type="text/javascript" src="{$smarty.const.WEB_PATH}js/mootools-1.2-more.js"></script>
    <script type="text/javascript" src="{$smarty.const.WEB_PATH}js/xmlhttprequest.js"></script>
    <script type="text/javascript" src="{$smarty.const.WEB_PATH}js/rating.js"></script>
    <script type="text/javascript" src="{$smarty.const.WEB_PATH}js/global.js"></script>
    {if $smarty.session.user_data.type == 'admin'}
    <script type="text/javascript" src="{$smarty.const.WEB_PATH}js/admin.js"></script>
    {/if}
    <script type="text/javascript" src="{$smarty.const.WEB_PATH}js/behavior.js"></script>
    <!--[if IE 6]><link rel="stylesheet" type="text/css" href="{$smarty.const.WEB_PATH}templates/{$smarty.const.TEMPLATE}/ie6.css" media="screen" /><![endif]-->
    <!--[if IE]><link rel="stylesheet" type="text/css" href="{$smarty.const.WEB_PATH}templates/{$smarty.const.TEMPLATE}/ie.css" media="screen" /><![endif]-->
    <script type="text/javascript">
    {assign var='siteErrors1' value=$siteErrors|replace_stuff:"\r":" "|replace_stuff:"\n":" "}
    {assign var='siteSuccess1' value=$siteSuccess|replace_stuff:"\r":" "|replace_stuff:"\n":" "}
    {assign var='siteNotices1' value=$siteNotices|replace_stuff:"\r":" "|replace_stuff:"\n":" "}
    var siteErrors= '{$siteErrors1|replace_stuff:'\'':'\\\''}';
    var siteSuccess= '{$siteSuccess1|replace_stuff:'\'':'\\\''}';
    var siteNotices= '{$siteNotices1|replace_stuff:'\'':'\\\''}';
    </script>

    <script src="{$smarty.const.WEB_PATH}js/roar.js" type="text/javascript" charset="utf-8"></script>
    <link rel="stylesheet" href="{$smarty.const.WEB_PATH}js/roar.css" type="text/css" />
    <script src="{$smarty.const.WEB_PATH}js/textboxlist.js" type="text/javascript" charset="utf-8"></script>
    <script src="{$smarty.const.WEB_PATH}js/facebooklist.js" type="text/javascript" charset="utf-8"></script>

    {$_HOOK_HEAD_}

    <link rel="stylesheet" href="{$smarty.const.WEB_PATH}templates/{$smarty.const.TEMPLATE}/custom.css" type="text/css" />
    </head>
    <body>
    {dynamic}
    <div id="notifyBox" style="display:none;">
    <div id="errors">{$siteErrors}</div>
    <div id="success">{$siteSuccess}</div>
    <div id="notices">{$siteNotices}</div>
    <div class="drawerDown"></div>
    </div>
    {/dynamic}
    <div id="body">
    <div class="top-header"></div>
    <div class="container" id="container">
    <div class="container_right">
    <div class="container_inside">
    <div id="ie_background"></div>
    {include file="header.tpl"}
    <div class="content_background"> {include file="left.tpl"}
    <div class="content" id="content">

    {$breadCrumb}
    {dynamic}
    {$content}
    {/dynamic}
    {include file="content.tpl"}
    <br class="reset" clear="all" />
    {*include file=$template_page_name*} </div>
    {include file="right.tpl"}
    <div class="reset"></div>
    <br class="reset" clear="all" />
    </div>
    <div class="reset"></div>
    {include file="footer.tpl"}
    </div>
    <div class="container_right_ie"></div>
    </div>
    </div>
    <div class="bottom-footer"></div>
    </div>
    </body>
    </html>

    Posted 2 years ago #
  13. and upload the main.tpl
    and upload the "index.tpl"
    but not show the Featured wallpapers ?

    Posted 2 years ago #
  14. show the wallpaper but again the home but not the show the wallpaper
    i go the no.2 page the show the Featured wallpaper i am go the home and not show the wall Featured and again i go the no.2 page but not show the Featured wallpaper and i go the no.3 page and show the Featured wallpaper and go the home no show the Featured wallpaper ?what is the problem

    Posted 2 years ago #
  15. and i am Clear all cache and show the wallpaper but go the home that is not show the wallpaper and no wallpapers found

    Posted 2 years ago #
  16. wallpapers
    Member

    please upload a screenshot!

    Posted 2 years ago #
  17. What is upload a screenshot ?

    Posted 2 years ago #
  18. where are you go
    help me

    Posted 2 years ago #
  19. wallpapers
    Member


    Posted 2 years ago #
  20. your email id i send the FTP Details

    Posted 2 years ago #
  21. What is you Email id

    Posted 2 years ago #
  22. wallpapers
    Member


    Posted 2 years ago #
  23. thanks my site work good
    my site is ok

    Posted 2 years ago #

RSS feed for this topic

Reply

You must log in to post.