Topic-icon JFBConnect on Register page

Support Specialist
13 years 6 months ago #27771 by alzander
Correct, you should generally only copy the files you want to override over to that directory. The reason is that, when you override a file, if a new update of JomSocial changes those template files, the 'old' overrides will still be in effect. So, you want to only use the overrides on very specific files because otherwise, when you update JomSocial, the new updated files won't be used and instead the old ones will.

Hope that makes sense, and glad we got this going for you!

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 6 months ago #27812 by petgal
Replied by petgal on topic JFBConnect on Register page
Really appreciate that Alex. I hope you don't mind one more clarification.

Do I have to copy the exact same folder structure for the jomsocial overrides e.g. if I change
/components/com_community/libraries/core.php

must i place that file as

templates/myJStemplatename/html/com_community/libraries/core.php

Or
templates/myJStemplatename/html/com_community/core.php
The topic has been locked.
Support Specialist
13 years 6 months ago #27822 by alzander
I've honestly never created an override for their functional files, like libraries. I honestly don't know the answer to how to do that as that's not a built-in Joomla feature. That's something that just JomSocial allows. You can't create a file in your templates directory to override a JFBConnect controller or library file, for instance. So, for the exact methods, I'd have to recommend you ask them for the best method to do that... or test through trial and error.

Hope that helps, and feel free to let us know what you find. Curious as to how it's down myself.

Thanks,
Alex
The topic has been locked.