Keyword

Icons

  • Aangedikt
  • Aangedikt's Avatar Topic Author
  • Offline
  • New Member
More
8 years 9 months ago #137021 by Aangedikt
Icons was created by Aangedikt
Hello,

First of all, thanks for the great template. I really love the way it is put together, and the support there already is for it.

I have a few questions:

- Can I use custom icons for the content highlights on the home page? Where can I find / alter these?

- What happends when I choose to select an image for the content highlights on the home page? I don't see them appearing anywhere.

- I'd like to translate the 'back to top' button on item pages, where can I find it?

- Frontend editing only works for joomla aricles. Can I somehow enable this for K2 items also?

Thanks in advance!

Colin

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

More
8 years 9 months ago #137022 by Yiota
Replied by Yiota on topic Icons
Hello,

1) Now you can only select a web font icon available through the template parameters for each highlight. The webfont families available are Font Awesome, Entypo and Zocial. You can select each one of those and check what are the available icons you can choose for your highlights. There is the option to use the image in order to load your custom icons.

2) You will have to add the following code snippet in the highlights block of code called in index.php of the template.
You can choose where you want it to appear by placing it accordingly.
<?php if (!empty($highlight->image)):?>
<div class="moduleItemImage">
<img src="<?php echo $highlight->image; ?>" alt="<?php echo $highlight->title; ?>" />
</div>     
<?php endif; ?> 

If you want to replace the image with the icon you can just put the above block in place of the icon's block and keep the same classes (instead of moduleItemImage put moduleItemIcon)

3) This is in the K2 language file en-GB.com_k2.ini located in language/en-GB. The language definition is K2_BACK_TO_TOP if you want to translate it through the Language Manager -> Overrides.

4) First of all you will have to Enable Frontend Editing through the K2 Parameters under Frontend Editing tab. Then you will have to create a User Group in K2 where you will assign your users in order for the Frontend editing options to appear. If you use the K2 User module for the login then some menu options will appear once you have logged in and have the appropriate permissions for the frontend editing.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Aangedikt
  • Aangedikt's Avatar Topic Author
  • Offline
  • New Member
More
8 years 9 months ago #137023 by Aangedikt
Replied by Aangedikt on topic Icons
Thanks for the support. I got it all working!

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

More
8 years 9 months ago #137024 by Yiota
Replied by Yiota on topic Icons
You are welcome.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum