Need additional font replacments

More
8 years 7 months ago #1 by artonezero
Thanks for a speedy reply - I will give it a go and get back to you if I get stuck. It shouldn't be slow as its the same font for all variants

Please Log in or Create an account to join the conversation.

More
8 years 7 months ago #2 by laurelle
Hi Mike,

I don't want to add that many options to the version I have for most people to use. That is just asking for a slow website as some people will try to have 16 different fonts. Then they will blame the plugin for being slow.

I would have to make up a special version for you or you could make the changes yourself.

Open up kc_cufon.xml and change the parameter num_fonts to have more options, you could just add <option value="16">16</option> if that is the exact number that you need, otherwise you would have to add an option for 7 - 16.
Then copy lines 85 to 93, 10 times. For each one of these blocks you will need to change the number in these lines (all the 6s to 7s for the first block all the 6s to 8s for the second block etc.).

Next open up the language file which you will find under /administrator/language/en-GB/en-GB.plg_system_kc_cufon.ini. Copy lines 74 to 84, 10 times and do the number changes on each block (all the 6s to 7s for the first block all the 6s to 8s for the second block etc.).

I think that is all the changes that you would need to make.

Cheers.

Laurelle
Developer
Keashly.ca Consulting

Please Log in or Create an account to join the conversation.

More
8 years 7 months ago #3 by artonezero
At least 16! Because I have a lot of different module styles in one design and the headers all need styling separately, together with menus and content

Cheers
Mike

Please Log in or Create an account to join the conversation.

More
8 years 7 months ago #4 by laurelle
Hi,

How many more fonts descriptors do you need? I though 6 was probably pushing it, but more can be added.

Cheers

Laurelle
Developer
Keashly.ca Consulting

Please Log in or Create an account to join the conversation.

More
8 years 7 months ago #5 by artonezero
Hi

I have a complicated website design, which requires more than 6 font replacement rules. These are in fact all for the same font, but need to be tied to very specific css descriptors and sizes (for various module headers, menu items, headings etc etc).

Is there an easy fix to extend the number of font replacements beyond th 6 provided or alternatively can I pay to get the plugin extended?

Many thanks

Mike

Please Log in or Create an account to join the conversation.

Support Development

Please consider a small donation to support development of the extensions on this site.



Joomla! Login

This is the normal Joomla! login module not the VirtueMart login module. Click the 'Create an account' button to see how you are redirected to the VirtueMart registration form when the KC VM Registration Redirect plugin is enabled.

Joomla! & WordPress Hosts

Managed Web Hosting by Liquid Web

This is our recommended web hosting provider for Joomla! & WordPress websites. This is the host that we use for websites that we build. Liquid Web has an excellent reputation, fast servers and most importantly awesome service! They have technicians that are familiar with Joomla! & WordPress.

Joomla! & WordPress Web Design and Development

If you are interested in having a website designed or redesign or need custom Joomla! or WordPress development, please visit Keashly.ca Consulting to view our Portfolio of Joomla! & WordPress website work.

Trademarks and logos remain the property of their respective organizations.
The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries.
Keashly.ca Consulting is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Site Map Back to Top