bobp
I'm a brand new dolphin ..... so far in my very brief adventure, it seems that James provides more insight into the inner workings of Dolphin than I can find anywhere else.

James, thanks for this contribution!

I'm trying to unravel the dolphin template puzzle. If I could get a small assist with a few questions, I think I can be on my way.

For example, I'm trying to customize the Groups/Entry page (the page that displays when you click on a group that you belong to from 'my profile' page). see more I believe this involves grp.php in the top level folder, BxDolGroups.php in the inc/classes folder and page_71.html in the tmpl_uni folder.

Your example here, adding a PHP block is exactly what I need to add at the bottom of the group main display page. I understand how to create a PHP block, but how do I invoke the block from the group main display page?

In your example here, you talk about using the admin Pages Builder tool to place the PHP block on one of the pages. Which works great for pages that the tool handles. Unfortunately, the admin Pages Builder tool only manages a subset of pages including classifieds, homepage, account, shared music, shared photo, profile, and shared video.

The group display page is one of the pages that Pages Builder tool includes, so I believe I need to manipulate the appropriate template file and associated code that generates the content for the groups display page directly.

In my case, is there a way to add a reference to a custom PHP block (row in PageCompose table) in the page_71.html template? And would I need to add code to BxDolGroups.php to render? For example, in BxDolGroups, I think I would need to add code to the BxDolGroups class function 'GenGroupMainPage' that populates and returns an array of page element values?

Am I on the right track, or am I completely clueless? Can't seem to put it together.

Thanks in advance for your generous help.

Bob
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.
PET:0.035468101501465