guiness Posted September 18, 2002 Share Posted September 18, 2002 After logging in, all the boxes below the my login box move from the right side to the left side. They stay in order, but it really unbalances the pages. This is fixed when you log out. Is it like this to make room for all the items to be bought and listed in the shopping cart box? Is this a feature or something wrong? Link to comment Share on other sites More sharing options...
♥olby Posted September 18, 2002 Share Posted September 18, 2002 Hi guiness. Somehow you messed up the balance of <table> <tr> <td></td> ..... </tr> </table> Best adwise is to unddo/restore and then try again, being a little more carefull with these tags. Best Regards olby Link to comment Share on other sites More sharing options...
guiness Posted September 18, 2002 Author Share Posted September 18, 2002 yippie! crunch time! haha should I be looking in the colum_right.php page? I take it this isn't a feature of wishful thinking that a customer would need that much room on that side for items, huh? :wink: Link to comment Share on other sites More sharing options...
guiness Posted September 18, 2002 Author Share Posted September 18, 2002 there are no tables in the column pages... where should I look? Link to comment Share on other sites More sharing options...
Ajeh Posted September 18, 2002 Share Posted September 18, 2002 One way is to view source before you login and after and follow the patter to the missing <td>, <tr> etc. Takes a little bit to read through, but there are comment markers that might help you trace down the problem. Also, if you look for your .bak files, 10 to 1 the error is in one of those files :lookround: Link to comment Share on other sites More sharing options...
guiness Posted September 18, 2002 Author Share Posted September 18, 2002 I've narrowed it down to the login box. If I place all other boxes from the right side ABOVE the login box, they remain on the right side... Link to comment Share on other sites More sharing options...
guiness Posted September 18, 2002 Author Share Posted September 18, 2002 must be late... I meant it worked like that in column_right.php... Link to comment Share on other sites More sharing options...
guiness Posted September 18, 2002 Author Share Posted September 18, 2002 Located the problem, but not sure how to fix it. The error is being created by the loginbox contribution. The contribution itself is fine, but it vanishes when you are logged on. I was able to get the box to be replaced by a "you are logged on" box, but somehow this where the problem lies. Has anyone got a replacement box working? What would cause this? Link to comment Share on other sites More sharing options...
♥olby Posted September 18, 2002 Share Posted September 18, 2002 Hi Gunner. You are getting closer to your problem, but putting another box i the column isn't the right way. The loginbox does work, so maybee you have made changes to header.php (starts some of the table, tr and td's) Best Regards olby Link to comment Share on other sites More sharing options...
Guest Posted September 8, 2003 Share Posted September 8, 2003 I have the same problem.. did you ever find a solutions. please help Link to comment Share on other sites More sharing options...
Ajeh Posted September 8, 2003 Share Posted September 8, 2003 There are several releases of the Login Box. The switch to turn it on/off is either in the column or in the login box itself. From any installs I have done with mine, it has not mattered if it stayed on or turned off when not needed. The one I am using in SECv2.2 now stays on as it has other features that are active after the login, if that helps. Link to comment Share on other sites More sharing options...
♥olby Posted September 8, 2003 Share Posted September 8, 2003 Adding this control in the column-file fix it: if ( (!strstr($_SERVER['PHP_SELF'],'login.php')) and (!strstr($_SERVER['PHP_SELF'],'create_account.php')) ) { require(DIR_WS_BOXES . 'loginbox.php'); } Best Regards olby Link to comment Share on other sites More sharing options...
Guest Posted September 8, 2003 Share Posted September 8, 2003 do i add it anywhere in the column file or somewhere specific.. and which one of the column files do i add it to. thanx Link to comment Share on other sites More sharing options...
♥olby Posted September 8, 2003 Share Posted September 8, 2003 I assumed you had the login-box installed. If so, then you place the above where you have that call, if not then this code isn't relevant. Best Regards olby Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.