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

 [SOLVED] Explain how the { curly brackets } work in HTML?

Print topic Send  topic

Author Message
jsherk

Posts: 34
Posted: 01/11/2009, 6:08 AM

Alright, I have never seen this before, and can't find any documentation within HTML or PHP docs...

I noticed that when CCS creates a page (php+html), the HTML portion will have something like this (a random example):
<a href="{ItemLink_Src}" class="{Menu1:Submenu}" target="{Menu1:Target}" title="{Menu1:Title}">{ItemLink}</a>

When the page is actually displayed in a browser, the {ItemLink_Src} is replaced with the actual link to this menu item. When I look thru the php code for the page, I do not see any reference to a variable that looks anything like ItemLink_Src.

So how (and where) is {ItemLink_Src} defined?

Thanks

View profile  Send private message
damian

Posts: 838
Posted: 01/11/2009, 6:18 AM

click on the label and then view its properties format/data/events (usually hiding below your toolbox but you may have moved it elsewhere)

_________________
if you found this post useful take the time to help someone else.... :)
View profile  Send private message
jsherk

Posts: 34
Posted: 01/11/2009, 6:31 AM

Thanks again damian (are you the only one that answers questions on this forum? lol), but that does not answer my question, so I'll ask my question another way.

Let's say I wanted to create my own link, something like this:
<a href="{my_custom_link}">{my_custom_link_text}</a>

How do I define these variable (my_custom_link & my_custom_link_text) in php so they work in the html code?
View profile  Send private message
damian

Posts: 838
Posted: 01/11/2009, 7:40 AM

in toolbox -> forms -> you will find link.... add this to response above and hopefully you will have your answer....
_________________
if you found this post useful take the time to help someone else.... :)
View profile  Send private message
jsherk

Posts: 34
Posted: 01/11/2009, 9:13 AM

Alright, I finally figured it out how to use these curly brakcets!!!

You can find my solution here:
http://forums.yessoftware.com/posts.php?post_id=103035

Scroll down to the part titled: CUSTOMIZE LOGOUT (HIDE/UNHIDE)
View profile  Send private message
damian

Posts: 838
Posted: 01/11/2009, 2:57 PM

thanks for posting your solutions - almost always someone else will have the same question as you at a later date

_________________
if you found this post useful take the time to help someone else.... :)
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.

Web Database

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.