Adding ID to Frontendusers logout link?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
liquid
Forum Members
Forum Members
Posts: 59
Joined: Sun Aug 07, 2005 10:20 pm

Adding ID to Frontendusers logout link?

Post by liquid »

Does anyone have any hints as to how I could add an ID to the Frontendusers logout link itself? I am not a PHP wizard by any means and I don't want to break it!  ;)

Thanks!
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: Adding ID to Frontendusers logout link?

Post by jmcgin51 »

you mean an ID for styling the link??

I'm sure there are cleaner and more official ways to do it, but how about adding span tags around the logout link in the logout template, like this:

{$link_logout}

I didn't try it with an ID, but I did try it with an inline style ({$link_logout}), and it worked perfectly...
liquid
Forum Members
Forum Members
Posts: 59
Joined: Sun Aug 07, 2005 10:20 pm

Re: Adding ID to Frontendusers logout link?

Post by liquid »

It's always the simplest, answer, right? I'll blame the eggnog for not thinking of that. Thanks! ;)
Post Reply

Return to “CMSMS Core”