Embedded mode/Default plugin loaded

Asked by Victor Petrov on 2009-08-03

Hello there!
I'm considering the possibility of using PHPDevShell as a control panel module for my application, but I will need to re-write the front-end for it. To keep things separate, I would prefer to implement this as a PDS plugin, rather than modify the PHPDevShell plugin. However, I can't seem to find a way to specify the default plugin that will be loaded when index.php is accessed. Is there a way to specify that a custom Plugin should be the default one displayed? I can't uninstall the PHPDevShell plugin, and if I remove the plugins/PHPDevShell directory, the application cannot generate it's main content, but displays some HTML.

Question information

Language:
English Edit question
Status:
Answered
For:
PHPDevShell Edit question
Assignee:
No assignee Edit question
Last query:
2009-08-03
Last reply:
2009-08-10
Victor Petrov (victor-petrov) said : #1

I'm using PHPDevShell 2.8.0 on an Ubuntu Linux 9.04 server.

Victor Petrov (victor-petrov) said : #2

I found a comment in PHPDS.inc.php saying that for Embedded mode I should use PHPDSlib, but I can't seem to find any files that would even contain that string. Perhaps you could point me into the right direction?

Thanks!

Greg (gregfr) said : #3

I'm away right now I'll be back in a couple of days and I'll provide the answers you need. Thanks for your patience.

TitanKing (titan-phpdevshell) said : #4

Hi, Victor

You are going about it the wrong way, the PHPDSlib does something else. You should create a plugin as you think and then simply in the General Settings change what the home page should be when guest and what it should be when logged in.

Greg (gregfr) said : #5

Here is a more detailed page about your question:

http://wiki.phpdevshell.org/wiki/Building_on

A note about embedded mode: PHPDSlib is an experimental piece of software which allow non PHPDS-based sites to use a PHPDS installation for their access control need. It's currently unsupported, but you can contact me directly if you're interested.

Can you help with this problem?

Provide an answer of your own, or ask Victor Petrov for more information if necessary.

To post a message you must log in.