chrometweaks.org

Question about iPage Easy Database?

Click Here To View All Answers...


My question is Question about iPage Easy Database? Many thanks for any response. Another question... Hello! A couple of things:.

1) Just wondering if anyone knows which file I need to edit to stop that little triangular warning sign coming up when, say, a user has inputted an invalid email address. (I've changed and formatted the error text OK, but just don't know where the symbol comes from)..

2) Also, I've just changed the 'input' class in my style sheet so that the input boxes look how I want them (1 pixel grey border with no shading), but now I also find that all my 'continue' buttons and my radio buttons have acquired this grey border too. And I just can't find the piece of code which tells all the buttons/input boxes etc which class they are, so that I can alter each one as I go along..

If anyone knows the answers to these two conundrums, please share! I'd be very grateful!.

(By the way, have a look at.

Http://www.cukoo.co....php?action=send.

If you want to see what I'm talking about)..

Thanks,.

Betty..

Comments (108)

That's a good question. I'm not sure what is the right answer to your question. I'll do some Googling and get back to you if I find an decent answer. You should email the people at iPage as they probably could answer your iPage question..

Comment #1

#2 the input class.

Input classes are radio buttons and continue button, continue button because it in effect is a submit button for the input field.

You could befine a seperate class to only effect your boxes then apply this class where required..

Comment #2

Hi Richard,.

Thanks very much for replying. I'll try doing that with the pixes_trans.gif. The only thing I was bit worried about was that the error text might not line up properly with the text above it if there's still a gif there. I would prefer to learn how to remove it completely, but then maybe I'm just being too perfectionist and should get over it!.

With the other thing, I have actually got a grey border around the send button on that page which shouldn't be there. And when I look in the code for the cell that the input box is in, it says the following:.

<td class="generalcontact"><input type="text" name="email" value="" size="59"></td>.

The thing is, a class called "input" in my stylesheet is actually defining the appearance of the box. It HAS worked but I can't see how! And I need to know how it's worked so I can stop it working where I don't want it to work i.e. around the send button!.

Help!.

Betty..

Comment #3

Hi again Steve! Thanks for that - I'll give it a go now!.

Liz..

Comment #4

Hi again..

Sorry about this lads but creating a new class for the buttons doesn't work...unless I'm doing it wrong (not unheard of!). My send button's cell looks like this:.

<td class="sendbutton" align="right"><?php echo tep_image_submit('button_send.gif', IMAGE_BUTTON_CONTINUE); ?></td>.

And the class 'sendbutton' has no mention of borders in it, yet my button still has the border..

Does anyone know how/where styles get attached to input boxes and buttons? I know how it's all done in the stylesheet but just don't see how these boxes and buttons know they're meant to be a certain style?.

Betty..

Comment #5

In stylesheet you define the parameters for the class:.

Example:.

Sendbutton {.

Color: #ffffff;.

Text-decoration: none;.

Etc....

}.

Try adding the following in the above class - border: 0px.

This post has been edited by.

Yesudo.com.

: 25 March 2004, 13:01..

Comment #6

The icon used is the warning icon which is also used for other messages.

I believe the code is this part for the error message contained in the if and else staement for error check in catalog/includes/classes/message_stack.php.

If ($type == 'error') {.

       $this->messages[] = array('params' => 'class="messageStackError"', 'class' => $class, 'text' => tep_image(DIR_WS_ICONS'error.gif', ICON_ERROR)'&nbsp;'$message);..

Comment #7

Steve - you're a genius. That's worked a treat - thank you very much! GadgetLover - nice try, but it didn't work. thanks very much for replying though..

Anyone else got any ideas?..

Comment #8

Betty.

How did you go about handling this bit of code did you comment out the part for the image and leave the.

$message.

Or something else.

Curiosity is getting the better of me..

Comment #9

Hiya,.

Yep - I just deleted anything I thought was involved with the the warning sign, so went from:.

To....

$this->messages[] = array('params' => 'class="messageStackError"', 'class' => $class, 'text' => $message);.

Very handy!..

Comment #10

Hello! A couple of things:.

1) Just wondering if anyone knows which file I need to edit to stop that little triangular warning sign coming up when, say, a user has inputted an invalid email address. (I've changed and formatted the error text OK, but just don't know where the symbol comes from)..

2) Also, I've just changed the 'input' class in my style sheet so that the input boxes look how I want them (1 pixel grey border with no shading), but now I also find that all my 'continue' buttons and my radio buttons have acquired this grey border too. And I just can't find the piece of code which tells all the buttons/input boxes etc which class they are, so that I can alter each one as I go along..

If anyone knows the answers to these two conundrums, please share! I'd be very grateful!.

(By the way, have a look at.

Http://www.cukoo.co....php?action=send.

If you want to see what I'm talking about)..

Thanks,.

Betty..

Comment #11

If you right click on the little picture you will find that it is in images/icons/error.gif. The easiest way to fix it with no coding is to copy your pixes_trans.gif file and rename it error.gif and upload it over the file that is already there..

I did not see what you were talking about in #2 but if you want to know what class is being used for a particular area just click on view source and look down the page and you can find it. You can then go into that pages php file and change it if you need to...

Comment #12


This question was taken from a support group/message board and re-posted here so others can learn from it.