test
Viewing 15 posts - 1 through 15 (of 28 total)
  • Author
    Posts
  • jamjodesign Friend
    #145388

    Hi all, this may be a silly question but where would I find the extension that is used in the current Demo site for Ja Teline III that allows the user to increase or decrease the font size? You can see this in the meg menu of the current demo on the Joomlart website. I dont seem to have it when i download the package and I was hoping someone could point me to the right place to download this?

    Thanks in advance. :-[

    jamjodesign Friend
    #321283

    Shameless bump as I would like this feature

    Saguaros Moderator
    #321290

    Hello jamjodesign!

    The Font Tool is a custom module, here is codes to increase or decrease the font size

    [PHP]
    <strong style=”margin-right: 10px;” >Font tool: </strong>

    <ul class=”ja-usertools-font” style=”display: inline;” >
    <li><img onclick=”switchFontSize(‘ja_teline_iii_ja_font’,’inc’); return false;” id=”ja-tool-increase” alt=”Increase font size” src=”images/stories/demo/other/user-increase.gif” title=”Increase font size” style=”cursor: pointer;”/></li>
    <li><img onclick=”switchFontSize(‘ja_teline_iii_ja_font’,3); return false;” id=”ja-tool-reset” alt=”Default font size” src=”images/stories/demo/other/user-reset.gif” title=”Default font size” style=”cursor: pointer;”/></li>
    <li><img onclick=”switchFontSize(‘ja_teline_iii_ja_font’,’dec’); return false;” id=”ja-tool-decrease” alt=”Decrease font size” src=”images/stories/demo/other/user-decrease.gif” title=”Decrease font size” style=”cursor: pointer;”/></li>
    </ul>
    [/PHP]

    Note: you must turn off the Editor in the Global Configuration, and then paste them into content of the custom module.

    good luck

    salvomic Friend
    #321312

    thanks tienhc,
    good idea.
    I’m trying, but here the list is not presented inline, but in block…
    And then the title of the module is black and not gray as others “item menu” tools: any hints, please?

    Saguaros Moderator
    #321313

    Hello salvomic!

    Give me your account to access administrator system. I will do this for u.

    salvomic Friend
    #321314

    sorry, I cannot 🙂
    please, be kind to explain me how, here or with a PM…

    thanks

    Saguaros Moderator
    #321315

    I’m a staff of JA . I will help you if you have any problems with our templates or our extensions on my free time.
    with your issue, may be the module missing styling, and javascript, i need check in detail and then try to resolve it.

    Saguaros Moderator
    #321316

    You can give me your account via PM or submit a ticket.

    salvomic Friend
    #321318

    you’re kind, thanks 🙂
    the web site I admin is not mine…

    However I found: the title of my custom module was not enabled; enabling it it works well!
    thanks again!

    vslob Friend
    #333994

    Code presented works properly excluding one thing. It changes font size at current page. But when you go to other page of the site font size is not saved, but it becomes as ‘reset’.
    How can one overcome this problem?
    Thank you.

    Saguaros Moderator
    #334200

    hello
    pls open the file: templates/ja_teline_iii/index.php and try to find codes:
    [PHP]$tmplTools = JATemplateHelper::getInstance($this, array(‘ui’)); [/PHP]
    replace:
    [PHP]$tmplTools = JATemplateHelper::getInstance($this, array(‘ui’, ‘ja_font’));[/PHP]

    Good luck

    vslob Friend
    #334372

    <em>@tienhc 166917 wrote:</em><blockquote>hello
    pls open the file: templates/ja_teline_iii/index.php and try to find codes:
    [PHP]$tmplTools = JATemplateHelper::getInstance($this, array(‘ui’)); [/PHP]
    replace:
    [PHP]$tmplTools = JATemplateHelper::getInstance($this, array(‘ui’, ‘ja_font’));[/PHP]

    Good luck</blockquote>
    Thank you!
    This works correctly, but only for IE!
    For Firefox and Opera it works in strange manner.
    One can wait for the following way of working of this tool: when one changes font size for current page of site and then go to other page of this site, the size installed will act for all other pages of site. This is true only for IE.
    For Firefox and Opera very different way of work takes place. Sometimes it seems that every page of site has individual font size, which was installed in previous view of this page. When you change font size, it remembers this change only for current page. Transition to other page does not conserve this installation, but specific for definite page font size will be used. But such picture takes place not always. In some cases font size of page appears randomly.
    This is unexpected result and not so convenient.
    Is it possible to get proper working for all currently used browsers?

    Saguaros Moderator
    #334970

    Dear vslob

    i checked my site on all browser, all are working well and have not any problem as you said :(. may be the problem is from the cookie of browsers on your computer. you try to test with other computer ?. pls give me the link to your site

    rv_ng Developer
    #335390

    Thanks for the info above, it was perfect! can i ask you which file to change the article content font size, please

    Saguaros Moderator
    #335578

    Pls add the following style into the template.css file:

    .article-content {
    font-size:13px;
    }

    GOodluck

Viewing 15 posts - 1 through 15 (of 28 total)

This topic contains 28 replies, has 8 voices, and was last updated by  micrantha 14 years, 5 months ago.

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