CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 {CCS_PathToMasterPage} from PHP

Print topic Send  topic

Author Message
amc

Posts: 22
Posted: 01/11/2013, 7:25 AM

Hi

I'm writing a PHP function to generate the html of the page (it's a custom report). I need to know the path to the design, to write one image URL. I know I can do that using
{CCS_PathToMasterPage} in HTML, but how can I get it from the PHP?

Thanks
View profile  Send private message
Gena

Posts: 591
Posted: 01/11/2013, 7:46 AM

try to use like

  
Global $PathToCurrentMasterPage;  
  
then use $PathToCurrentMasterPage variable  

_________________
Gena
View profile  Send private message
amc

Posts: 22
Posted: 01/11/2013, 8:13 AM

Fantastic!!!

I suppose you know this because you've looked into the CCS code, don't you?. I couldn't find it in the help file...

Thank you very much...
View profile  Send private message
Gena

Posts: 591
Posted: 01/11/2013, 8:17 AM

sure I did!! :-D

my brain way was:
1. {CCS_PathToMasterPage} is a Resource variable
2. find in the PHP code how this variable is assigned
3. found the code
4. write answer

5. drink a beer 8-)
_________________
Gena
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.