PDA

View Full Version : How to customize JASubmit buttons?


techknowcafe
07-18-2006, 04:22 PM
How do you remove some of those buttons in the JASubmit interface?

latinflava31
10-21-2006, 12:29 AM
How do you remove some of those buttons in the JASubmit interface?

I am hoping someone can let me know how to remove the background colors on the buttons please see example. I think it has to do with the css but I would rather not have the buttons like this.. I would like to remove the surrounding colors. Thanks in advanced.

http://www.joomlart.com/forums/attachment.php?attachmentid=61&stc=1&d=1161390578

bowman999
04-13-2007, 11:55 AM
I am hoping someone can let me know how to remove the background colors on the buttons please see example. I think it has to do with the css but I would rather not have the buttons like this.. I would like to remove the surrounding colors. Thanks in advanced.

http://www.joomlart.com/forums/attachment.php?attachmentid=61&stc=1&d=1161390578
:( :eek: :confused: Have been trying to fix the same problem for ages! Can anyone help!!!! Please!!
I'll be your best friend! :D

mikaelfs
04-16-2007, 07:50 AM
the code which is used to display the button is here:

<?php
// Toolbar Top
mosToolBar::startTable();
mosToolBar::save();
mosToolBar::cancel();
mosToolBar::endtable();
?>

if you want to change the background color, you need to change the default css for the toolbar which is accessible from includes/HTML_toolbar.php

bowman999
04-17-2007, 10:01 AM
Thanks for that, but doesn't help unfortuately. :(( I think it's loading the default toolbar background images somehow from the main menu CSS (e.g. the same image that appears on the background of the Save and Cancel buttons is used in the background of the main menu toolbar).

The image in question is nowhere to be found in HTML_toolbar.php. It only has the CSS for the Save and Cancel buttons, but no reference to any background images. If I remove the background image from Save and Cancel the main menu goes too.

Does "mosToolBar" somehow load more than what I find in HTML_toolbar.php? Can I tell it somewhere in HTML_toolbar.php to not load the global default toolbar image background?

I hope this is making sense. Appears to be a tricky one. At least for me anyway. :) Thanks in advance.

Raspro
07-12-2007, 12:58 AM
Thanks for that, but doesn't help unfortuately. :(( I think it's loading the default toolbar background images somehow from the main menu CSS (e.g. the same image that appears on the background of the Save and Cancel buttons is used in the background of the main menu toolbar).

The image in question is nowhere to be found in HTML_toolbar.php. It only has the CSS for the Save and Cancel buttons, but no reference to any background images. If I remove the background image from Save and Cancel the main menu goes too.

Does "mosToolBar" somehow load more than what I find in HTML_toolbar.php? Can I tell it somewhere in HTML_toolbar.php to not load the global default toolbar image background?

I hope this is making sense. Appears to be a tricky one. At least for me anyway. :) Thanks in advance.

To submit any content without any prob just go to the admin Cpanel.
But that is not in question for now. Just wanted to users to add a content just from the frontend. that's all .
Most of us don't want it that way because mostly one person is driving the site. Just for free people (users) that have been exposed to a potencial incident can write her/his storie down in our site. A compleet network!

<quote>
function custom( $task='', $icon=NULL, $iconOver='', $alt='', $listSelect=true ) {
if ($listSelect) {
$href = "javascript:if (document.adminForm.boxchecked.value == 0){ alert('Please make a selection from the list to $alt');}else{submitbutton('$task')}";
} else {
$href = "javascript:submitbutton('$task')";

</quote>

This function is calling the admin.form and it has nothing todo with it.

I don't want any people to mess with my site, only for registred.

I'am working on it to find a solution, and I will let you know.

lehoai
07-12-2007, 08:40 AM
hi everybody,
i think i can help you with this component but please sum up all your question clear please. Now i will answer two question first.
+ to remove some button on ja submit interface. which one do you want to remove? ( if save button or cancel button is very difficult because when you remove them you have to add them again on somewhere to use on ja submit interface )
+ to change background color of button, because here we used joomla toolbar class css. so if you want to change background color of button you have to change these code
"
<td width="42%" rowspan="3" align="right"><?php
// Toolbar Top
mosToolBar::startTable();
mosToolBar::save();
mosToolBar::cancel();
mosToolBar::endtable();
?>
</td>

"

you should del these code and insert a new code with two button to perform "save" and "cancel" button. Note these button have call "submitbutton" javascript funtion. So just try and if you need help i will help you more.

Thanks for reading and goodluck

skiguru
09-03-2007, 10:08 AM
I don't want to change the buttons, just get them to work - Neither submit or cancel buttons work.. Any ideas where I can look to get them working?

Thanks

Skiguru

Menalto
09-03-2007, 11:40 AM
I don't want to change the buttons, just get them to work - Neither submit or cancel buttons work.. Any ideas where I can look to get them working?

Thanks

Skiguru
Can you give us your site url so we can take a look?`If log in needed to try it out give it by a PM