Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Change default covers to JPEG

10 years 11 months ago
  • Andre's Avatar
    Topic Author
  • Andre
  • Offline
  • Fresh Boarder
  • Posts: 19
  • Thank you received: 1
Licenses:
JomSocial Expired

Hello team,

Which files I have to copy to JOOMLA/templates/yourTemplateName/html/com_community/ as to create overrides to change cover-event, cover-female-default, cover-group-default, cover-male-default and cover-undefined-default from PNG to JPEG?

Have been looking madly but can't find them...

Thanks,
Andre

10 years 11 months ago
Licenses:
JomSocial Expired GURU Expired Publisher Expired AdAgency Expired iSEO Expired Socialize Expired

Hi Andre,
I like you to see the link first as documentation.jomsocial.com/wiki/Replacing_Default_Avatar
and also at
root/components/com_community/defines.community.php at line no 72,73
Let me know which rest.
Thanks

10 years 11 months ago
  • Andre's Avatar
    Topic Author
  • Andre
  • Offline
  • Fresh Boarder
  • Posts: 19
  • Thank you received: 1
Licenses:
JomSocial Expired

Hi Ashraf,

I had already created the override for avatars and covers as per documentation.jomsocial.com/wiki/Replacing_Default_Avatar.

root/components/com_community/defines.community.php would allow me to define default user avatar and thumb but I need to change DEAFULT COVERS to JPEG; cover-event, cover-female-default, cover-group-default, cover-male-default and cover-undefined-default

Thanks,
Andre

10 years 10 months ago
Licenses:
JomSocial Expired GURU Expired Publisher Expired AdAgency Expired iSEO Expired Socialize Expired

Hi Andre,
If you want to change the default cover photo then place jpg images fro necessary path and replace the ".png" to ".jpg" at
for jomsocial frontpage
administrator/components/com_community/controllers/templates.php line no 207-210
components/com_community/views/frontpage/view.html.php line no 82-86

for user-Male.png, user-Female.png
root/administrator/components/com_community/views/community/tmpl/default.php : line no 527, 532
root/components/com_community/defines.community.php : line no 72, 73

for user-Male-thumb.png
components/com_community/templates/default/activities.stream.php : line no 27
components/com_community/defines.community.php : line no 73

for cover-event.png
components/com_community/tables/event.php line no 1128, 1136

for cover-group-default.png
components/com_community/tables/group.php line no 723

for group.png
components/com_community/tables/group.php line no 178

for group_thumb.png
administrator/components/com_community/views/groups/view.html.php line no 187
components/com_community/models/groups.php line no 1992
components/com_community/tables/group.php line no 196

Hope that answer the question.
Thanks

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW