where can i change the icons for print/email/favourites ...?

More
12 years 3 weeks ago #30265 by pabro
Hi,

i want to change the icons for print, email, favourites, pdf ... in item view to font icons, but i dont know where these buttons are defined in template. in item.php i only find for example:
Code:
$pdfbutton = flexicontent_html::pdfbutton( $this->item, $this->params );
What is the best/easiest way to change the icons (i dont want to replace the graphics in image folder!)?

Thank you! :)

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

More
12 years 3 weeks ago #30267 by ggppdk
FLEXIcontent outputs (joomla) template overridable images, by using

echo JHTML::_('image.site', 'myimage.png',FLEXI_ICONPATH);

Read joomla docs here here :

This means that:
-- IF there is a template myimage.png found back at "[template folder]/images", use this one
-- IF NOT use the one in "/images/M_images".

image file names to use you can see if you do "view page source" in your browser.

e.g.
-- emain button: emailButton.png
-- print button: printButton.png
-- feeds icon: livemarks.png
-- pdf button (J1.5only): pdf_button.png|
-- edit button: edit.png
-- add button: add.png
-- approval button: person2_f2.png
-- favourites delete: heart_delete.png
-- favourites add: heart_add.png
-- favourites login required: heart_login.png

I have made a FAQ article here


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
12 years 3 weeks ago #30284 by pabro
hm, thank you vor your reply.

But i wish to insert the icons with fonts (@font-face via css) and not as image/graphic, so i need to know where i can make the changes.

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

More
12 years 3 weeks ago #30287 by ggppdk
You can not do this unless you hack the code, i understand that CSS would offer more flexibility e.g. having different icons SETs per content Type etc

but this is not supported

you will have to use the Joomla way of overriding the images in the way described above


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.386 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline