Is it possible to get rid of the 'use image editor' button?

I am making a place for public members to add a photo with some metadata to our site.


I have used the keyword %details-F_file_upload% but it comes along with a 'use image editor' option that I would really like not to be there as I think it will confuse the heck out of the users.



It also doesn't seem to be working, but as the one automatically generated if you don't use the custom form does work I assume it's broken due to my own stupidity somewhere along the line so whatever. I don't want it working, I want it gone! :wink:



How do I get rid of the 'use image editor' button while keeping my commit button at the bottom?

[quote]I am making a place for public members to add a photo with some metadata to our site.


I have used the keyword %details-F_file_upload% but it comes along with a 'use image editor' option that I would really like not to be there as I think it will confuse the heck out of the users.



It also doesn't seem to be working, but as the one automatically generated if you don't use the custom form does work I assume it's broken due to my own stupidity somewhere along the line so whatever. I don't want it working, I want it gone! :wink:



How do I get rid of the 'use image editor' button while keeping my commit button at the bottom?[/quote]



I tried to do the exact same thing with the customised version of the asset builder. When I did it you were unable to use the keyword that allowed the user to simply see the upload box. I know this was logged as a bug in matrix but Im currently unsure if that was fixed in one of the later releases.

We are on 3.16.0.


Also a ‘choose pre-uploaded file’ box shows which I don’t want. It also doesn’t work… looks like it might be a [topic=“3988”]bug that is fixed in later versions[/topic].



Can I get rid of the ‘choose pre-uploaded file’ button too? All my users will be public, not logging in, maybe I can set permissions or something?

try setting a "Create Form Customisation" to your asset builder. then experiment on the keywords available.

Yeah, I've been using the customised option, but I can't find a keyword that doesn't bring the image editor and uploaded file stuff along with it.


Has anyone ever been successful with this?

We've only been sucessful in doing this by making our own version of the Insert Image plugin. Unfortunately, you won't be able to remove the link to the image editor with standard keywords.

Ah… sadly, that is the answer I was expecting…


Upon reading your answer I was about to give up, but then I remembered the visability property in css.



I looked at the page source and found the id names for the buttons and set them visibility: hidden, which looks like it works in Firefox and IE6.



The dangerous thing is that it looks like it's a blanket effect over the whole site. At the moment I don't want those buttons, but if I get into a situation where I want them on some builders and not others then there'll be trouble. ;p



Thanks for the input everyone. :slight_smile:

Adding a class or ID to the body tag for the custom form would enable CSS rules to be written only for that page.


CSS:

[codebox]body.festival08 #button {display: none;}[/codebox]



Keep in mind that ID's need to start with a letter, not a number.









If the change is required to be made to several pages in line with a design customisations, the following is possible:

[codebox]<body class="<MySource_PRINT id_name="body_class" var="body_class" />">[/codebox]



with the declared variable referenced at the top of the parse file and set as a customisation:

[codebox]<MySource_AREA id_name="body_class" design_area="declared_vars" print="no">

<MySource_DECLARE name="body_class" type="text" value="" description="Changing this value modifies the body class"/>

</MySource_AREA>[/codebox]