Difference between revisions of "How to change default cover for events / groups / male / female / unidentified users"

 
Line 5: Line 5:
 
Prepare your versions of covers. The dimensions should be: '''1140px × 428px''' - '''each''' cover/file.
 
Prepare your versions of covers. The dimensions should be: '''1140px × 428px''' - '''each''' cover/file.
  
Once your files are ready. Connect via FTP to the server and go to this directory: /components/com_community/templates/default/images/cover/
+
Once your files are ready. Connect via FTP to the server and go to this directory: '''/components/com_community/templates/default/images/cover/'''
  
 
In that directory you have the following files:
 
In that directory you have the following files:
Line 25: Line 25:
 
* '''bak_'''undefined-default.png
 
* '''bak_'''undefined-default.png
  
Next, upload your files to the directory, clear your browser's cache, site cache and check the frontend. Done :)
+
Next, upload your files to the directory, clear your browser's cache, site cache and check the frontend. Done.
  
I hope that helps you guys make your community more 'personal'.
+
{{alert|'''Hint:''' It's always a good idea to have a list of all modifications / personalizations done to JomSocial core files and their backups. That way after an upgrade it's easier to re-apply your mods.}}

Latest revision as of 16:21, 26 July 2013

NOTE: The following instructions show how to change core JomSocial files. All changes you make to JomSocial core files will be overwritten with your next upgrade so you'll need to at least re-apply the modifications to core JomSocial files.

If you're wondering how to change the default covers for events, groups, male, female and unidentified users (gender), look no further. The whole operation may take between 30seconds to 5 minutes. Mostly depending on how well you know your computer.

Prepare your versions of covers. The dimensions should be: 1140px × 428px - each cover/file.

Once your files are ready. Connect via FTP to the server and go to this directory: /components/com_community/templates/default/images/cover/

In that directory you have the following files:

Cover files.png

  • event-default.png
  • group-default.png
  • female-default.png
  • male-default.png
  • undefined-default.png

Make sure that your versions of the files (or file) are named exactly as their original counterparts. After that, rename the original files on the server in the following (or similar) manner:

  • bak_event-default.png
  • bak_group-default.png
  • bak_female-default.png
  • bak_male-default.png
  • bak_undefined-default.png

Next, upload your files to the directory, clear your browser's cache, site cache and check the frontend. Done.

Hint: It's always a good idea to have a list of all modifications / personalizations done to JomSocial core files and their backups. That way after an upgrade it's easier to re-apply your mods.