profile.notification in _self

Responsive Joomla template for Entertainment and Music purpose with clean and lightweight design.
GK User
Mon Oct 14, 2013 5:02 pm
Hi i change a code in profile.notification.php but not work in mi site.
<script>
joms.jQuery(".cProfile-DataStream p a").each(function(key,val){
joms.jQuery(val).attr("target","_self");
joms.jQuery(val).click(function(e){
if (!e) var e = window.event;
e.cancelBubble = true;
if (e.stopPropagation) e.stopPropagation();
});
});
This is the code change
I have read in the forum of jomsocial this is the code that makes the notifications open in a new window, I do not want action, I want to open in the same and did not occur.
But it does not appear on code in your plantiila of music.
I need to change that as I show in the above code.
thanks
User avatar
Fresh Boarder

teitbite
Tue Oct 15, 2013 12:48 am
Hi

I'm sorry, but I do not understand that. If You've been instructed to do this by joomsocial developers than this should work, but maybe You need to make this change in template overrides. To make a test if this is the case, please just for test change template's /html to /_html and check if it's working than.
User avatar
Moderator


cron