Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • TomC Moderator
    #120506

    How can I remove/unpubish the Site Tools function from Xenia II template?

    brandon12 Friend
    #221057

    Open your index.php file in template folder. Find these lines:

    # Enable users option
    $ja_tool = 3; // 0: disable all; 1: disable color, enable font; 2: enable color, disable font; 3: enable all.

    To disable all tools. Set $ja_tool = 0;

    TomC Moderator
    #221060

    THANK YOU !!

    In follow up to that question, how/where in the code can I designate the width of the site that I want. I read the user manual and found the lines indicating the following:

    # Change the width of the template
    $ja_width_default = ‘wide’; // ‘narrow’: 800×600; ‘wide’: 1050×950; ‘auto’: fluid width

    (I changed the ‘wide’ parameters to 1050×950 … but it doesn’t seem to work when I view the site.)

    Does the width have to be one of the standard dimensions (i.e. 1024×768)?

    :confused:

    Menalto Friend
    #221065

    <em>@tcraw1010 16756 wrote:</em><blockquote>THANK YOU !!

    In follow up to that question, how/where in the code can I designate the width of the site that I want. I read the user manual and found the lines indicating the following:

    # Change the width of the template
    $ja_width_default = ‘wide’; // ‘narrow’: 800×600; ‘wide’: 1050×950; ‘auto’: fluid width

    (I changed the ‘wide’ parameters to 1050×950 … but it doesn’t seem to work when I view the site.)

    Does the width have to be one of the standard dimensions (i.e. 1024×768)?

    :confused:</blockquote>

    # Change the width of the template
    $ja_width_default = 'wide'; // 'narrow': 800x600; 'wide': 1024x768; 'auto': fluid width

    On line 776 in the template_css.css you find this:

    /* MAIN LAYOUT DIVS
    --------------------------------------------------------- */
    #ja-wrapper {
    width: 760px;
    margin: 0 auto;
    padding-left: 8px;
    background: url(../images/shadowleft-bg.gif) repeat-y top left #FFFFFF;
    text-align: center;
    }

    .wide #ja-wrapper {
    width: 950px;
    }

    .auto #ja-wrapper {
    width: 90%;
    }

    If you set it to wide:

    $ja_width_default = 'wide'; // 'narrow': 800x600; 'wide': 1050x950; 'auto': fluid width

    Then you can change the width here:

    .wide #ja-wrapper {
    width: 950px;
    }

    TomC Moderator
    #221067

    That did the trick – THANK YOU !!!

    😀

    Menalto Friend
    #221075

    No problems, happy to help you out.

Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 6 replies, has 3 voices, and was last updated by  Menalto 17 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum