Jump to content
Server Maintenance This Week. ×

Delete button still displays


This topic is 5833 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

Even though I have turned off delete the delete button still shows under my image.

Images::FilePath & "Images/" & Get ( RecordID ) & "?style=nodelete"

& "height=" & GetLayoutObjectAttribute ( "pict" ; "height" ) - 80

& "&width=" & GetLayoutObjectAttribute ( "pict" ; "width" ) - 10

& "&background-color=white&align=center"

On another layout where I have ?style=readonly&nodelete the delete button doesn't show.

Edited by Guest
Link to comment
Share on other sites

  • 2 weeks later...

Hi, it looks like you're missing an ampersand before your "height" parameter. Unfortunately, URLs in the FMP calculation quickly turn into "ampersand soup" :

Images::FilePath & "Images/" & Get ( RecordID ) & "?style=nodelete"

& "&height=" & GetLayoutObjectAttribute ( "pict" ; "height" ) - 80

& "&width=" & GetLayoutObjectAttribute ( "pict" ; "width" ) - 10

& "&background-color=wh ite&align=center"

Link to comment
Share on other sites

This topic is 5833 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.