121
vinit
Re:CODING: Support needed for coding index.php
  • 2004/10/28 16:32

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


stuck :(
No solution in hand as of now. And not being able to debug why the "header" is not comming.



122
vinit
Re:How to: Onmouse over effect to show submenus
  • 2004/10/28 6:41

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


Bassman that might be possible... still working arround to get that working.



123
vinit
Re: CODING: Support needed for coding index.php
  • 2004/10/28 6:36

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


Looks like the code is ok but the result is not as expected.

edituser.php
Quote:

if (count($errors) > 0) {
include XOOPS_ROOT_PATH.'/header.php';
echo '<div>';
foreach ($errors as $er) {
echo '<span style="color: #ff0000; font-weight: bold;">'.$er.'</span><br />';
}
echo '</div><br />';
$op = 'editprofile';
} else {


The above post code works fine. When ever the Real name is blank or Extra info is blank it gives the relevant error message. Only problem is that the error message is not comming at the place where its expected. Rather the the first line of the html page contains the error message and then comes the code of the page. Where as i was expecting header to come first and then the error message. Given below is what i see as html source code once the page is generated

Quote:

<div><span style="color: #ff0000; font-weight: bold;">Real Name is missing</span><br /></div><br /><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">


Some how the error message is comming before the header. Am i missing something here.. could you look into this please.
Thanks



124
vinit
Re: CODING: Support needed for coding index.php
  • 2004/10/28 3:36

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


Thanks Mithrandir, it worked perfectly.

Now next thing thats needed is if user clicks on submit button on edituser.php without filling up the "Real Name" and "Extra Info" field than a proper error message has to be shown and should be redirected back to edituser.php.

i think this has to be done in edituser.php somewhere after line 52.

I thought of this, could you verify wether this is right or not

Quote:

if (empty($name) ) {
$errors[]=_US_EMPTYREALNAME;
}

if (empty($bio) ) {
$errors[]=_US_EMPTYEXTRAINFO;
}



Do let me know if i am wrong.



125
vinit
Xoogle issuses
  • 2004/10/27 18:41

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


i get following errors seen when php debug is own.

Notice [PHP]: Undefined index: query in file modules/xoogle/blocks/xoogle_search_block.php line 22
Notice [PHP]: Use of undefined constant _XO_SEARCH_LABEL - assumed '_XO_SEARCH_LABEL' in file modules/xoogle/blocks/xoogle_search_block.php line 28
Warning [PHP]: implode(): Bad arguments. in file modules/xoogle/include/xoogle.php line 87
Notice [PHP]: Undefined index: estimatedTotalResultsCount in file modules/xoogle/include/xoogle.php line 163
Notice [PHP]: Undefined index: page in file modules/xoogle/include/xoogle.php line 165
Notice [PHP]: Undefined variable: post in file modules/xoogle/include/xoogle.php line 169
Notice [PHP]: Undefined index: soap_error in file modules/xoogle/include/xoogle.php line 125
Warning [PHP]: Invalid argument supplied for foreach() in file modules/xoogle/include/xoogle.php line 133
Notice [PHP]: Undefined variable: ret in file modules/xoogle/include/xoogle.php line 140


does anyone else also getting this error msgs.. i think it needs few fixes.



126
vinit
Re:How to: Onmouse over effect to show submenus
  • 2004/10/27 18:10

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


Quote:

m0nty wrote:
here's some info on mouseovers including tutorials etc.. you should be able to do what u want from reading these..

http://www.google.co.uk/search?sourceid=navclient&ie=UTF-8&q=onmouseover


Thx m0nty, even i googled arround. But thought that some one might have implemented this so it would be of more ease. Looking ahead to hear from some web designer who had implemented this in XOOPS themes



127
vinit
Re:How to: Onmouse over effect to show submenus
  • 2004/10/27 16:37

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


holla...........can anyone peep into this ????
Any idea how to achieve this ???



128
vinit
Re: CODING: Support needed for coding index.php
  • 2004/10/27 5:31

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


Can some developers or module coders look into this and lend me some helping hand.



129
vinit
Re:Mozilla Dev Team is considering using XOOPS
  • 2004/10/26 7:25

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10




Mozilla Meets Mambo
http://eiproject.net/phpbb2_dev/viewtopic.php?t=153


Rick is it XOOPS or Mambo ????
Could you be more clear in what you are trying to achieve???



130
vinit
Re:How to: Onmouse over effect to show submenus
  • 2004/10/16 9:19

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


Designers..could you look into this and give me some clue...




TopTop
« 1 ... 10 11 12 (13) 14 15 16 ... 47 »



Login

Who's Online

159 user(s) are online (100 user(s) are browsing Support Forums)


Members: 0


Guests: 159


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits