JArticleFontsize 1.5 native — support
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
JArticleFontsize 1.5 native — support
Please use this topic if you have any question concerning JArticleFontsize.
http://extensions.joomla.org/component/ ... Itemid,35/
http://extensions.joomla.org/component/ ... Itemid,35/
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Apprentice
- Posts: 10
- Joined: Tue May 13, 2008 11:20 am
Re: JArticleFontsize 1.5 native — support
Hello there, we have found this solution very useful however we do have an issue where by the font resizer plugin is not featuring in the front page of the joomla site?
How do we enable the JArticleFontSize Module in the article displayed in the forn page?
Cheers
Alex
[email protected]
How do we enable the JArticleFontSize Module in the article displayed in the forn page?
Cheers
Alex
[email protected]
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: JArticleFontsize 1.5 native — support
JArticleFontsize will work on any article, even displayed in a blog or through the frontpage component, as long as the id parametered for the plugin is present.
If the id is "contenu" and your template's overrides don't provide for this (and you do not want to modify your overrides), you can add it in the article content.
Example:
Therefore this will work with the default joomla container for the article which is a class "contentpaneopen"
This container can be limited to the content of the article or include all of it i.e. title, readmore.
Example: Beez has an override for Articles default display where the container is
<div id="page"> (/templates/beez/html/com_content/article/default.php)
Choosing "page' as the id parameter will therefore let JArticleFontsize work on the whole display of the article, including Title, etc.
Adding this container in the category/blog_item.php and in frontpage/default_item.php lets therefore JArticleFontsize work on ALL site article display.
If the id is "contenu" and your template's overrides don't provide for this (and you do not want to modify your overrides), you can add it in the article content.
Example:
Code: Select all
<div id="contenu">{fontsize}
<p>some text</p>
<hr id="system-readmore" />
<p>other text</p>
</div>
Now, if you want to apply JArticleFontsize to ALL articles on the site, you have to make overrides for all instances (blog, article, frontpage) where you modify the code to be sure there is a container with the same id in each.<table class="contentpaneopen">
<tr>
<td valign="top">
<span class="small">
Written by Administrator </span>
</td>
</tr>
<tr>
<td valign="top" class="createdate">
Tuesday, 05 August 2008 10:26 </td>
</tr>
<tr>
<td valign="top">
<div id="contenu"><div id="fontsize"><div class="article-font">Font Size<a href="javascript:ts('contenu',1)"> <img border="0" src="http://http://mysite.com/plugins/conten ... ont_up.gif" alt="Larger Font" title="Larger Font"/></a><a href="javascript:ts('contenu',-1)"> <img border="0" src="http://mysite.com/plugins/content/jarti ... t_down.gif" alt="Smaller Font" title="Smaller Font"/></a></div></div>
<p>some text</p>
<p>other text</p>
</div>
etc.
This container can be limited to the content of the article or include all of it i.e. title, readmore.
Example: Beez has an override for Articles default display where the container is
<div id="page"> (/templates/beez/html/com_content/article/default.php)
Choosing "page' as the id parameter will therefore let JArticleFontsize work on the whole display of the article, including Title, etc.
Adding this container in the category/blog_item.php and in frontpage/default_item.php lets therefore JArticleFontsize work on ALL site article display.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Apprentice
- Posts: 7
- Joined: Sun Oct 26, 2008 5:27 pm
Re: JArticleFontsize 1.5 native — support
Hello
Thanks for this magnificent tool
I use Joomla 1.5.7 with the milkeyway template and the build in blog facility
No matter what I do can't I get this extension to work on the frontpage and the blog - and I have read the instructions with the extensions and above
Heres a link to the site (in danish): http://www.laesestil.dk
Any help would be apreciated
Sincerely
Cornelius
Thanks for this magnificent tool
I use Joomla 1.5.7 with the milkeyway template and the build in blog facility
No matter what I do can't I get this extension to work on the frontpage and the blog - and I have read the instructions with the extensions and above
Heres a link to the site (in danish): http://www.laesestil.dk
Any help would be apreciated
Sincerely
Cornelius
-
- Joomla! Fledgling
- Posts: 2
- Joined: Mon Feb 16, 2009 8:08 pm
Re: JArticleFontsize 1.5 native — support
Got the same issues on my frontpage
got joomla 1.5.9 and the milkyway template
help would be great
got joomla 1.5.9 and the milkyway template
help would be great
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: JArticleFontsize 1.5 native — support
Have you done what's clearly explained here?:AndreasV_CGN wrote:Got the same issues on my frontpage
got joomla 1.5.9 and the milkyway template
help would be great
http://forum.joomla.org/viewtopic.php?p ... 2#p1440062
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Fledgling
- Posts: 2
- Joined: Mon Feb 16, 2009 8:08 pm
Re: JArticleFontsize 1.5 native — support
I solved it, i made a new div in my template and so it works
thanks
thanks
-
- Joomla! Apprentice
- Posts: 16
- Joined: Sat Mar 14, 2009 9:29 pm
Re: JArticleFontsize 1.5 native — support
Hi, any chance of a simpler explanation for us 'newbies' of Joomla?
People talk of a new Div in my template etc...where ffs?
As you can tell I am a complete novice and just about know how to edit the template (I gather we're doing this in in the HTML bit?). I basically want this tool to operate like it does on BEEZ but on the Milkyway template.
I have used the "page_bg" as the id but this only effects everything BUT the content on the page.
Grateful for a simplistic explanation...Thanks
People talk of a new Div in my template etc...where ffs?
As you can tell I am a complete novice and just about know how to edit the template (I gather we're doing this in in the HTML bit?). I basically want this tool to operate like it does on BEEZ but on the Milkyway template.
I have used the "page_bg" as the id but this only effects everything BUT the content on the page.
Grateful for a simplistic explanation...Thanks
- prdg1
- Joomla! Apprentice
- Posts: 40
- Joined: Wed Jun 25, 2008 3:38 pm
- Location: Plano, Texas, USA
- Contact:
Re: JArticleFontsize 1.5 native — support
Well I posted the div in my template and it works on all the internal pages but not the homepage item. I also went out on my server and edited the frontpage default_item.php and it didn't work. I inserted the same div. So I'm in the same boat - don't know why it won't work on the homepage.
-------------------
New mind, I downloaded another module that was easier to work with than this plugin.
-------------------
New mind, I downloaded another module that was easier to work with than this plugin.
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: JArticleFontsize 1.5 native — support
Please post the code you used and specify on which line of which file with the path to the file.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Fledgling
- Posts: 2
- Joined: Fri Aug 01, 2008 8:19 pm
Re: JArticleFontsize 1.5 native — support
I've installed this plugin on a test version of a live site to try and get it working. The font resizing itself works well but my line space is not increasing as I make the text size larger. I did read that there should be a global line height defined in em but font sizes and line space on this template are defined in percentages. I did change body css to:
body {margin: 0;font-family: Arial;font-size: 80%;line-height: 1.5em;}
Should that do the trick or am I missing something?
Also, is there a way to avoid the article title being resized?
Link to the test site is:
http://www.woodstock.azgroup2.ca/
body {margin: 0;font-family: Arial;font-size: 80%;line-height: 1.5em;}
Should that do the trick or am I missing something?
Also, is there a way to avoid the article title being resized?
Link to the test site is:
http://www.woodstock.azgroup2.ca/
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: JArticleFontsize 1.5 native — support
If you keep the title in the JArticlefontsize scope then you have to add this CSShzwice wrote:I've installed this plugin on a test version of a live site to try and get it working. The font resizing itself works well but my line space is not increasing as I make the text size larger. I did read that there should be a global line height defined in em but font sizes and line space on this template are defined in percentages. I did change body css to:
body {margin: 0;font-family: Arial;font-size: 80%;line-height: 1.5em;}
Should that do the trick or am I missing something?
Also, is there a way to avoid the article title being resized?
Link to the test site is:
http://www.woodstock.azgroup2.ca/
#maincontent-block{
line-height:2em;} /// choose here the line-height.
If you do not want to keep the article title in the scope, it is better to use an override for the article and separate the rendering of the title from the rendering of its content. In this case, it is the id of the content part which has to be used by JArticleFontsize.
In your case, you could give the id
id="maincontent-block"
to the table containing the text and not to the div surrounding the article.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Fledgling
- Posts: 1
- Joined: Sat Sep 22, 2007 8:56 pm
Re: JArticleFontsize 1.5 native — support
Hi. Thank you for great plugin.
How can i show this next to email icon in article/default.php?
i added this, it shows font size + - icons next to email icon, but when i click nothing happens.
Plugin param: Apply to all article=no (if i put yes, 2 instance of font size shows and both works)
Could you show me better way to do this? Thank you for your help.
How can i show this next to email icon in article/default.php?
i added this, it shows font size + - icons next to email icon, but when i click nothing happens.
Plugin param: Apply to all article=no (if i put yes, 2 instance of font size shows and both works)
Code: Select all
<?php if ($this->params->get('show_email_icon')) : ?>
<td align="right" width="100%" class="buttonheading">
<?php echo JHTML::_('icon.email', $this->article, $this->params, $this->access); ?>
</td>
<?php endif; ?>
<div id="contenu"><div id="fontsize"><div class="article-font">Font Size<a href="javascript:ts('contenu',1)"> <img border="0" src="http://http://mysite.com/plugins/content/jarticlefontsize/font_up.gif" alt="Larger Font" title="Larger Font"/></a><a href="javascript:ts('contenu',-1)"> <img border="0" src="http://mysite.com/plugins/content/jarticlefontsize/font_down.gif" alt="Smaller Font" title="Smaller Font"/></a></div></div>
</div>
-
- Joomla! Fledgling
- Posts: 3
- Joined: Mon Jul 19, 2010 5:45 pm
Re: JArticleFontsize 1.5 native — support
It's not working for me: http://www.brasilmataviva.com.br/site/i ... 50&lang=en
Shows this error:
Erro: cEl is undefined
Arquivo-fonte: http://www.brasilmataviva.com.br/site/p ... xtsizer.js
Linha: 32
Shows this error:
Erro: cEl is undefined
Arquivo-fonte: http://www.brasilmataviva.com.br/site/p ... xtsizer.js
Linha: 32
- will_c
- Joomla! Enthusiast
- Posts: 160
- Joined: Mon Jan 04, 2010 6:47 pm
Re: JArticleFontsize 1.5 native — support
Hi there, I trying to put it on website but I think that I making something wrong;
I enable the plugin and set this paramters like this
Id of the element containing the text of the article : sizer
Apply to all articles: yes
in my template overrides native joomla content I set a div with id=sizer
in my css i set sizer div like this
but it's don't show the font resizer...
what I doing wrong ?
It's here:
http://onestudio.com.br/terraportal/
I enable the plugin and set this paramters like this
Id of the element containing the text of the article : sizer
Apply to all articles: yes
in my template overrides native joomla content I set a div with id=sizer
in my css i set sizer div like this
Code: Select all
#sizer {
line-height:2em;
width:100%;
text-align:right;
}
what I doing wrong ?
It's here:
http://onestudio.com.br/terraportal/