HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

[RESOLVED] - 8.1.2 - Editing Profile ...

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#88633 (In Topic #17945)
Avatar

Community saint


I don't think I can add any more info …


Last edit: by Fletch

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#88645
Avatar

ocStaff (admin)

OCF_MEMBER_PROFILE_SCREEN.tpl was updated to handle the new AJAX-based tabs, you'll need to update your override.

Sorry for not mentioning, I forgot about this.



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
Posted
Rating:
#88648
Avatar

Community saint

Chris Graham said

OCF_MEMBER_PROFILE_SCREEN.tpl … you'll need to update your override …

No overrides in place - not even in 'default/templates_custom'. Using the original. So I'm a bit stumped here …!

bummer


Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#88654
Avatar

ocStaff (admin)

Actually, JAVASCRIPT.tpl. The select_tab function has become…

Code


function select_tab(id,tab)
{
   if (document.getElementById('tab__'+tab.toLowerCase()))
      window.location.hash='#tab__'+tab.toLowerCase();

   var tabs=[];
   var i,element;
   element=document.getElementById('t_'+tab);
   for (i=0;i<element.parentNode.childNodes.length;i++)
   {
      if ((element.parentNode.childNodes[i].id) && (element.parentNode.childNodes[i].id.substr(0,2)=='t_'))
         tabs.push(element.parentNode.childNodes[i].id.substr(2));
   }

   for (i=0;i<tabs.length;i++)
   {
      element=document.getElementById(id+'_'+tabs[i]);
      if (element)
      {
         element.style.display=(tabs[i]==tab)?'block':'none';

         if ((typeof window.nereidFade!='undefined') && (tabs[i]==tab))
         {
            if (typeof window['load_tab__'+tab]=='undefined')
            {
               setOpacity(element,0.0);
               nereidFade(element,100,30,8);
            }
         }
      }

      element=document.getElementById('t_'+tabs[i]);
      if (element)
      {
         element.className=element.className.replace(' tab_active','');
         if (tabs[i]==tab)   element.className+=' tab_active';
      }
   }

   if (typeof window['load_tab__'+tab]!='undefined') window['load_tab__'+tab](); // Usually an AJAX loader

   return false;
}



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
Posted
Rating:
#88656
Avatar

Community saint

Chris Graham said

Actually, JAVASCRIPT.tpl. The select_tab function has become…
Whooooosh! ← (exhalation of breath)

The instant I read that I realised it just HAD to be an override problem!

It was - and it has now been fixed!

thanks




Note to self: Must mention to Bob that we need to add 'check for overrides' (and how to do it) in the 'Troubleshooting' section of EVERY chapter!

 :thumbs:


Last edit: by Fletch

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: