Posted on: 02/25/05 11:58am
By: RickW
I'm working on a redesign right now. You can see the work in progress at http://www.antisource.info, log in with guest/guest.
My primary issue is that while testing out the new install, if I create a new block, I get an error message that I don't have permission (even if I'm logged in as admin).
The second issue is more of a design dilemma - I have a logon bar in my header, and what I would like to do is have this bar change with the user's account menu when they are logged in. What's a good way to accomplish this?
I'm rewriting this whole template from scratch, boy is that a lot of work!
Can't post new article, and search form suggestion?
Posted on: 02/25/05 02:05pm
By: machinari
[QUOTE BY= RickW]
The second issue is more of a design dilemma - I have a logon bar in my header, and what I would like to do is have this bar change with the user's account menu when they are logged in. What's a good way to accomplish this?[/QUOTE]if your logon bar is in your header.thtml, you could put in some PHP to handle the display of that bar. a simple if / else checking $_USER['uid'].
I don't have an answer for your 1st question though.. sorry
Can't post new article, and search form suggestion?
Posted on: 02/25/05 02:11pm
By: RickW
[QUOTE BY= machinari] [QUOTE BY= RickW]
The second issue is more of a design dilemma - I have a logon bar in my header, and what I would like to do is have this bar change with the user's account menu when they are logged in. What's a good way to accomplish this?[/QUOTE]if your logon bar is in your header.thtml, you could put in some PHP to handle the display of that bar. a simple if / else checking $_USER['uid'].
I don't have an answer for your 1st question though.. sorry[/QUOTE]
Where's the routine for the default user's logon block? Could I just call that function and change the formatting in a template file?
Can't post new article, and search form suggestion?
Posted on: 02/25/05 06:32pm
By: drshakagee
Where's the routine for the default user's logon block? Could I just call that function and change the formatting in a template file?
Yes, just call COM_showBlock( user_block, $help='', $title='User Functions' ); from your header.thtml file then change the template file like you said.
Can't post new article, and search form suggestion?
Posted on: 02/25/05 06:46pm
By: machinari
nifty
Can't post new article, and search form suggestion?
Posted on: 02/25/05 06:59pm
By: Anonymous (RickW)
I tried that and it didn't work. I just put in:
<?php COM_showBlock( user_block, $help='', $title='User Functions' ); ?>
Is that wrong?
Can't post new article, and search form suggestion?
Posted on: 02/25/05 07:50pm
By: drshakagee
Try this:
<?php echo COM_showBlock( user_block, $help='', $title='User Functions' ); ?>
Can't post new article, and search form suggestion?
Posted on: 02/26/05 09:57am
By: Anonymous (RickW)
Hmm... I just tried to post a test article, and it worked this time. I wonder if I was having an issue with IE caching or cookies at work...