Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Room Unit is empty #88

Open
dalareo opened this issue Mar 28, 2015 · 2 comments
Open

Room Unit is empty #88

dalareo opened this issue Mar 28, 2015 · 2 comments

Comments

@dalareo
Copy link

dalareo commented Mar 28, 2015

When I point to Room Unit URL (ex. http://188.166.20.248/drupal/unit/3) nothing is rendered into content, only room unit name as title (H1). I supose rooms_unit.tpl.php is the template. It seems like state, type, beds, etc. are disable with "unset" command.
I have to comment them in order to show any info:

// unset ($content['state']);
// unset ($content['type']);
// unset ($content['sleeps']);
// unset ($content['bed_arrangement']);

@jameswilson
Copy link
Contributor

I believe this may be the expected behavior. It's been a while since I've looked at the front end functionality, but I seem to remember that the default workflow was to separate front-end nodes from backend unit entities, and/or create room description content on a separate node which can be linked to the room type, which is supposed to get pulled in automatically on at least the -checkout- booking screen.

I believe the unit entities' "view" page certainly has more work that could be done to improve the default display. @dalareo , can you tell us more about your use case?

@dalareo
Copy link
Author

dalareo commented Mar 30, 2015

I am trying to build a MVP for a Airbnb-like project but dealing with clothes sharing instead of room sharing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants