×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Buttons in booking details broken in some template

Buttons in booking details broken in some template 7 years 8 months ago #29090

  • Rob Swart
  • Rob Swart's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 57
  • Thank you received: 5
Hi Yves,

Got another one for you.
In some templates the booking detailsform gets broken.
The buttons on the bottom don't all show up.
But when clicking the "Contact" button, the missing buttons show up at the bottom of the Contact form pop-up.
Can't explain why this is happening, but I found a way to work arround this.

In the default.php of the booking view I'v moved the code "echo MatukioHelperRendering::getContactDialog($this->event, $this->user, $this->booking);" to the bottom of the script, between the printdialog and the copyright dialog.
This solves the problem in the different templates and works in all of them.

Cheers,
Rob

Buttons in booking details broken in some template 7 years 8 months ago #29119

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Hi Rob,

that's weird - okay can move it there also (just need to add an additional if-clause there too), maybe some position: relative (capturing the contact lightbox div) in your template css? (Somewhere around the item)

Yves

Buttons in booking details broken in some template 7 years 8 months ago #29137

  • Rob Swart
  • Rob Swart's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 57
  • Thank you received: 5
Hi Yves,

There is a CSS "float : left;" in there somewhere.
But I'm not really a CSS or template expert, so I have no idea if this can be the cause.

Greets,
Rob

Buttons in booking details broken in some template 7 years 8 months ago #29140

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Hey Rob,

no that should not cause that issue. Nonetheless as i said i moved the code to the bottom, so don't worry to much ;-)

Kind regards,

Yves

Buttons in booking details broken in some template 7 years 8 months ago #29170

  • Rob Swart
  • Rob Swart's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 57
  • Thank you received: 5
OK, I Won't :)

Thanks again!

Buttons in booking details broken in some template 7 years 7 months ago #29484

  • Rob Swart
  • Rob Swart's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 57
  • Thank you received: 5
This post is just to confirm that it's working now.
No more broken buttons :)
  • Page:
  • 1
Time to create page: 0.153 seconds