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

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Question about how to edit pages with no "Edit" button, such as Member Profile...

Login / Search

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

Community saint

Hi, I've added some custom fields to the Member Profile, and am trying to begin the process of customizing the page. I notice that there is no "Edit" button on the main page, and when I use the side Edit buttons, I get the main page for the zone instead.

Can you help me understand how I can open these pages, and specifically the Member Profile page, for editing?
 
Back to the top
 
Posted
Rating:
#34888
Joe
Avatar

Honoured member

'Edit' links are only shown on editable Comcode pages. I assume the member profile page would be considered as a 'module', and therefore must be manually edited by editing the templates pertaining to the profile page.

Try editing OCF_MEMBER_PROFILE_PAGE.tpl located in your /templates/ directory. I hope this helped. :)

Back to the top
 
Posted
Rating:
#34906
Avatar

Community saint

Ah, so some pages are Comcode, and some are Tempcode? That explains it, thanks for the help!
Back to the top
 
Posted
Rating:
#34910
Joe
Avatar

Honoured member

Sort of, yes. Tempcode usually controls the layout of these pages, but the actual functionality of the modules are controlled by PHP.

For example, the recommend module: PHP controls how the module functions (by sending out the emails), while Tempcode simply creates the layout of the page (much like HTML).

Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: