boonex framework vs php HELP!

I am not an expert, but at the same  time I am not new to php. What I am new to is the way php frameworks seem to separate all html content from all php content. This makes it VERY hard for me to do even the simpliest of tasks with boonex. 

Basically what I am trying to do is to create a custom html control panel (outside the existing menu systems) for users that makes navigation easier on my site (so for example I have a heading "Account setup" under that I have links to "edit profile, add avatar, add cover photo, add profile photo").

The problem is, I can't figure out how to run php from the html files. So I have no idea how to add the user id to the links. I have tried hardcoding with html but that won't allow php to run, I tried adding php as cutsom language key details but same problem of not running the php.... how do i actually run php?

Or at the very least... some tutorials?  

Quote · 14 May 2016

I can help you with it if needed.  

So you start with a php page that talks to the template system (html) that then talks back to php again...   

 

Basic example...  

index.php  talks to html page via   $_page['name_index'] = 1;  which is page_1.html  in templates/base folder which has  __page_main_code__   and that code gets sent back to look in what ever php file is needed. 

So say if it was $_page['name_index'] = 16;  then the html code would be in page_16.html   and so on .. 

 

That's kinda they way it works in most cases ...   there is more to it of course.   if you have skype or yahoo or what ever let me know. 

https://dolphin-techs.com - Skype: Dolphin Techs
Quote · 15 May 2016

There is also a file, functions.php (or close to that) that is important to study.  You need to learn about Dolphin Keys; keys are inserted into html files that is parsed by the parse engine that reads the keys and then insert results from functions.  I created a new main menu; created the key, then created the function that returns the results for that key that then inserts my menu.

 

If you wanted to just hard code a menu, there is a tutorial that someone created that shows how to insert user id/name into a link.  I will see if I can find that tutorial, it was written for an older version of Dolphin but the principle is still sound.

Geeks, making the world a better place
Quote · 15 May 2016

Use this for a reference; don't follow it verbatim, it is for an outdated version of Dolphin but it may give some insights.

 

http://www.boonexnerd.net/dolphin-tutorials/blogs/entry/Dolphin-Tutorial-How-to-Create-a-PHP-Block-in-Dolphin-7-0-9-with-Quick-Links.

Geeks, making the world a better place
Quote · 15 May 2016

Thanks for the help... its like trying to learn a new language almost, gonna take some time for me to get it all sorted. In the meantime i used Deanos Tools to add it as a php block to pages. 



 

:) :) 

Quote · 15 May 2016
 
 
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.