Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • webby2006 Friend
    #119717

    Hello,

    I’d like to set the default width of JaHadar template to 1024×768, and is ok if I set this:

    ##### Template Configuration #####
    # change the width of the template
    $width = “0”; // 1: 800×600; 0: 1024×768

    but:
    I ask if is possible to enable the tool to leave the user setting also width 800×600.
    or if there is a workaround to set default width to 1024×768 and leave the possibility the user to change also width 800×600

    thanks

    swemmel Friend
    #218172

    Hi Webby,

    What you did is ok. With this setting ($width = “0”) the default width is 1024×768. And on the website the user can choose to set the width.

    Kind Regards,
    Peter.

    webby2006 Friend
    #218173

    Hi Peter thanks for replay,
    yes, but seems don’t functioning when user click on 800×600 . go to my site http://www.leotron.com

    thanks again
    Marco

    swemmel Friend
    #218174

    Hi Webby,

    I tried myself too now. And indeed it doesn’t work. In the index.php it also says that site-tools only can be enabled when width = “1”. I will have a look at it tonight when I get home.

    Kind Regards,

    peter

    webby2006 Friend
    #218175

    Ok thanks… I’m waiting for your answer. It’ kindly.

    Marco

    swemmel Friend
    #218221

    Hi Marco,

    I tweaked the index.php and made an extra css-file. Copy the index.php to the template-folder and the small-layout to the css-folder. And you can change the width even when the default is set to 1024×768.

    Kind Regards,

    Peter.

    388


    1. jahadar_Xtra.zip
    webby2006 Friend
    #218344

    Thanks Peter,

    great 😀 function perfectly…..

    best regards

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

This topic contains 7 replies, has 2 voices, and was last updated by  webby2006 17 years, 6 months ago.

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