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.

profile view customization lost after updatint to 4.0

10 years 1 month ago
  • Armando's Avatar
    Topic Author
  • Armando
  • Offline
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Licenses:
JomSocial Expired

Hi!

i have just updated to jomsocial 4.0.1.
Everything seems to work fine but i lost some customizazion of the profile view, made on this file :
public_html/invaders/components/com_community/templates/default/modules/profile/userinfo.php.
The customizazion is just few lines of php code (wich actually trough include(''); includes additional code.
I have tried to restore the file, to rewrite the code, but i dont see any changing in the view.
I am wondering if this file is being used still by js 4.0.1 or the view file has been moved somwhere else?

thanks a lot

10 years 1 month ago
  • Armando's Avatar
    Topic Author
  • Armando
  • Offline
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Licenses:
JomSocial Expired

Hi,

i think what happened is due to the innovation introduced by the template jomsocial 4.0.1, yet i cant understand wich is the php file to change or to override, i suppose it is inside this path: /public_html/.../components/com_community/templates/jomsocial/...

please help!

thanks

10 years 1 month ago
Licenses:

Hi Armando,

you need to make override for:
[joomla root]/components/com_community/templates/jomsocial/layouts/profile.about.php
override location:
[joomla root]/templates/[frontend template]/html/layouts/profile.about.php

Regards

10 years 1 month ago
  • Armando's Avatar
    Topic Author
  • Armando
  • Offline
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Licenses:
JomSocial Expired

Hi Albertus,

my previous customization (before updating to 4.0.1) was the addition of some code just after the Karma, on the user profile view.
The file i edited was profileinfo.php.
Now i suppose i have to change or orerride the file profile.header.php or profile.miniheader.php, to get my customization.
I want to add my code after karma or in the bar "friends, group, events" after the events number. wich file has to be overridden?

I tried to override or directly change both thoose files (you can see for example, in my code just after "karma" the addition of this code : <li><?php echo "customization goes here"; ?> </li>) , but nothing happens. I disabled the cache but i cant understasnd why i can't see any modification after inserting my code.

wich is my mistake?

thanks

10 years 1 month ago
Licenses:

Hi Armando,

you must override this file:
[joomla root]/com_community/templates/jomsocial/layouts/profile/focus.php

copy it to:
[joomla root]/templates/[your frontend template]/html/com_community/layouts/profile/focus.php

you can put the code at line 365.

Regards

The following user(s) said Thank You: Armando
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