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
|
 |
 |
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.... :)
|
 |
 |
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?
|
 |
 |
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.... :)
|
 |
 |
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)
|
 |
 |
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.... :)
|
 |
 |