Hello, I have one problem with module.

When I make a reservation, although it appears on the Booking calendar, but only the node is displayed, the order id is not displayed (I'm put order id to know who made the reservation). But it seems that the command and the node is unable to bind and as they are not linked, the cron delete my reservation.

But if I go through "structure" and "Content types" and when I go to "manage display" of "Reservation" and I click on "Save" that's work. I have my reservation in order.

I don't know what's the probleme and i hope you can't help me. I work in French langage.

I hope I was clear because my English is not very good

pictures:
O = Order Id

CommentFileSizeAuthor
#3 day.PNG11.8 KBGaronja2
orders.PNG62.56 KBGaronja2
notLinked.PNG371.66 KBGaronja2
linked.PNG299.53 KBGaronja2

Comments

agill’s picture

Version: 7.x-2.0-beta1 » 7.x-1.x-dev

But if I go through "structure" and "Content types" and when I go to "manage display" of "Reservation" and I click on "Save" that's work. I have my reservation in order.

do you mean after you do what you describe above the according reservations show the order id?
i would guess the clear cache has the same result?

somehow this behavior sounds familar i think its possible i fixed this in the 7.x-2.x-dev version.

Garonja2’s picture

do you mean after you do what you describe above the according reservations show the order id?

Yes it's that because we can't display the name / first name of one person in place of "OnlineReservation"

i would guess the clear cache has the same result?

You're right, I get the same result.

Thank you for what you do and your module

Garonja2’s picture

StatusFileSize
new11.8 KB

I took your version dev and it works great.
Thank you again.

By the way, there is a problem with the sort of day in Booking Calendar. When you click on the name of your "Categories" and then click the "units" that you created, it's doesn't work.

For my part I just added "$currentcategory" in the "agres-views-day.tpl.phps" on line 49 and 53 and it's works.
If that can help you

<table class="agreservations-table">
      <tr class="agreservations-calendar">
        <th class="agreservations-calendar th unittypes">
          <a class="<?php print (!isset($currentunittype)) ? "agreservations-calendar a unittypessel" : "agreservations-calendar a unittypes"; ?>" href="<?php print(base_path() . $agrescurrentpath . "/" . $currentselectedday. "/" . $currentcategory); ?>"><?php print (t('show all units')); ?></a>
        </th>
        <?php foreach ($unittypes as $unittype): ?>
          <th class="agreservations-calendar th unittypes">
            <a class="<?php print (isset($currentunittype) && $currentunittype == $unittype->nid) ? "agreservations-calendar a unittypessel" : "agreservations-calendar a unittypes"; ?>" href="<?php print(base_path() . $agrescurrentpath . "/" . $currentselectedday . "/" . $currentcategory . "/" .$unittype->nid); ?>"><?php print ($unittype->title); ?></a>
          </th>
        <?php endforeach; ?>
      </tr>
    </table>
agill’s picture

Status: Active » Closed (fixed)

ok if all goes well i will release another beta this month, its still too early for a stable version i think.

i also don´t know why i did not include the $category in the link-building, i probably just forgot it.
thanks for your contribution Garonja2.