CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 path to current page

Print topic Send  topic

Author Message
alex546

Posts: 1
Posted: 04/28/2015, 5:12 AM


<link rel="stylesheet" href="{page:pathToCurrentPage}style.css" media="screen">

How do i create this dynamic attribute {page:pathToCurrentPage} so as to dynamically link my stylesheet file.

The one above i took from Codecharge example.


_________________
Alex
View profile  Send private message
eratech


Posts: 513
Posted: 04/28/2015, 11:47 PM

Alex - you don't need to.

Use the 'Page Properties' (right click on a page, 'Page Properties' > Stylesheets) and link to your page. CCS will keep track of it for you.

There is a very big chance that whatever you need to do is a property or a right-click away and most tasks are done without code.

Having said that, you can create attributes for the controls, records, page etc - in the Properties there is an 'attributes' box with a [...] that opens a dialog to help you create them, and then they are available in a right-click in the HTML mode (see Help for 'Component Attributes')

Cheers

Eric
_________________
CCS 3/4/5 ASP Classic, VB.NET, PHP
Melbourne, Victoria, Australia
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.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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