jsherk
Posts: 34
|
| Posted: 01/10/2009, 9:08 PM |
|
I setup a logout to a custom page using the authentication builder on a page called mainmenu. It is a link with the name Logout.
I can't seem to set the visible property to false using custom code. The only event avalible for the link is Server->Before Show, so I added custom code to it, and have tried some different variations like:
$mainmenu->Logout->Visible = false;
but this does not seem to do anything.
Looking thru the HTML code, it appears that it 'hard codes' the word Logout into the HTML, so I don't think you could change it anyway.
How do you replace a hardcoded word in the HTML with something in curly brackets {new word} that could be changed?
|
 |
 |
damian
Posts: 838
|
| Posted: 01/10/2009, 9:32 PM |
|
http://forums.codecharge.com/posts.php?post_id=49463&s_keyword=logout
_________________
if you found this post useful take the time to help someone else.... :)
|
 |
 |
jsherk
Posts: 34
|
| Posted: 01/11/2009, 9:15 AM |
|
Okay, thanks again (and again and again) damian.
My solution for hiding the logout link is here: http://forums.yessoftware.com/posts.php?post_id=103035
|
 |
 |
|