wbTeamPro Feature Request & Bug Tracker
wbTeamPro and wbTimeLog are actively being developed and supported.

We are working to update our tracker, changelogs, and documentation to convey this appropriately.
Thank you for your patience as we manage this period of growth.

View Issue Details Jump to Notes ]
1 Vote
 ]
Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010779wbTeamPro[All Projects] Bugspublic2017-01-30 09:312015-01-25 00:00
ReporterMaxOnTheHill 
Assigned Towebuddha 
PriorityhighSeveritymajorReproducibilityalways
StatusImplementedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionApplied to Versionv3.7.x rc 
Summary0010779: RC 3.7.0 - Admin Area Smarty Tag / Broken Layout
DescriptionHey guys ... layout in admin breaks, throws 404s trying to add template assets (css/js).

 ... causes the WHMCS "My Notes" feature to always display on wbTeamPro pages at bottom below rest of layout and also other layout issues.

I think there must be a change in the smarty/template variables with the WHMCS6 .... made a few changes in the "/admin-directory/templates/blend/header.tpl".

This is updated "head" section code which resolves correctly and solves the problem.

[code]
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="{$charset}">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>WHMCS - {$pagetitle}</title>

    <link href="../assets/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
    <link href="../assets/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
    <link href="templates/{$template}/style.css" rel="stylesheet" type="text/css" />
    <link href="../assets/css/jquery-ui.min.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" src="../assets/js/jquery.min.js"></script>
    <script type="text/javascript" src="../assets/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="../assets/js/jquery-ui.min.js"></script>
    <script type="text/javascript" src="../assets/js/textext.min.js"></script>


    <script type="text/javascript">
        var datepickerformat = "{$datepickerformat}";
        {if $jquerycode}
            $(document).ready(function(){ldelim}
                {$jquerycode}
            {rdelim});
        {/if}
        {if $jscode}
            {$jscode}
        {/if}
    </script>

    <script type="text/javascript" src="templates/{$template}/head.js"></script>
    <script type="text/javascript" src="../assets/js/AdminAdvSearch.js"></script>

    {$headoutput}

</head>
[/code]

hope that helps and is clear ;)
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0010254)
MaxOnTheHill (reporter)
2015-07-15 17:27

... this look better ????
[code=php]
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="{$charset}">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>WHMCS - {$pagetitle}</title>

    <link href="../assets/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
    <link href="../assets/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
    <link href="templates/{$template}/style.css" rel="stylesheet" type="text/css" />
    <link href="../assets/css/jquery-ui.min.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" src="../assets/js/jquery.min.js"></script>
    <script type="text/javascript" src="../assets/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="../assets/js/jquery-ui.min.js"></script>
    <script type="text/javascript" src="../assets/js/textext.min.js"></script>


    <script type="text/javascript">
        var datepickerformat = "{$datepickerformat}";
        {if $jquerycode}
            $(document).ready(function(){ldelim}
                {$jquerycode}
            {rdelim});
        {/if}
        {if $jscode}
            {$jscode}
        {/if}
    </script>

    <script type="text/javascript" src="templates/{$template}/head.js"></script>
    <script type="text/javascript" src="../assets/js/AdminAdvSearch.js"></script>

    {$headoutput}

</head>
[/code]
(0010255)
MaxOnTheHill (reporter)
2015-07-15 17:28

nope ... is there syntax highlighting for code snippets in mantis ???
(0010268)
webuddha (administrator)
2015-07-19 13:45

Added asset (/assets/) path calculation for non-root installations.

- Issue History
Date Modified Username Field Change
2015-07-15 17:15 MaxOnTheHill New Issue
2015-07-15 17:15 MaxOnTheHill
2015-07-15 17:27 MaxOnTheHill Note Added: 0010254
2015-07-15 17:28 MaxOnTheHill Note Added: 0010255
2015-07-19 13:45 webuddha Note Added: 0010268
2015-07-19 13:45 webuddha Status New => Implemented
2015-07-19 13:45 webuddha Applied to Version => v3.7.x rc
2015-07-19 13:45 webuddha Resolution open => fixed
2015-07-19 13:45 webuddha Assigned To => webuddha



Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker