How to tweak the content of the sitemgr?

Hi,

I have a module found in the home page of the sitemgr, and there is a link in the content which redirect to www.domain.com/sample/index.php

I created a directory in the root (www) named sample with a file inside index.php having a sample line of code: echo ‘test’;

I want to display test in the center part of the sitemanager where my module located in the home page. The result of the link was, it will just display the ‘test’ in a big screen without any header, sidebar, and footer.

Please advise.

Thanks,

Gil

By doing a test print( echo ‘test’:wink: in your module it will be displayed at the being of your output. All output made my your module delivered in the right location via the return on the get_contents function. If you wanted it in your module output (where ever the block is being called from ir the contentarea: concatenate your ‘test’ string to your return output string.)

what difference does it make where your test output is located?

Thanks,

Randy

Hi,

I have a module found in the home page of the sitemgr, and there is a link
in the content which redirect to www.domain.com/sample/index.php

I created a directory in the root (www) named sample with a file inside
index.php having a sample line of code: echo ‘test’;

I want to display test in the center part of the sitemanager where my module
located in the home page. The result of the link was, it will just display
the ‘test’ in a big screen without any header, sidebar, and footer.

You can use the file_contents module to grab parts or the whole content
of an other page or file and display it inside SiteMgr.

Or you need to create a real module: a class derived from class Module
an put in the correct location (sitemgr/modules/class.module_xxx.inc.php
or app/sitemgr/class.module_app_xxx.inc.php). There are many examples of
simples modules, eg. sitemgr/modules/class.module_amazon.inc.php.

Ralf

Ralf Becker
Director Software Development

Stylite AG

Morschheimer Strasse 15 | Tel. +49 6352 70629 0
D-67292 Kirchheimbolanden | Fax. +49 6352 70629 30

Email: rb@stylite.de

www.stylite.de | www.egroupware.org

Managing Directors: Andre Keller | Ralf Becker | Gudrun Mueller
Chairman of the supervisory board: Prof. Dr. Birger Leon Kropshofer

Commerzbank BLZ 55040022 | Account 218111300
IBAN DE33 5504 0022 0218 1113 00 | BIC COBADEFFXXX
VAT DE214280951 | Registered HRB 31158 Kaiserslautern Germany


uberSVN’s rich system and user administration capabilities and model
configuration take the hassle out of deploying and managing Subversion and
the tools developers use with it. Learn more about uberSVN and get a free
download at: http://p.sf.net/sfu/wandisco-dev2dev


eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers

Thank you. This is a great help! I have an idea now.