<blockquote>
  <p>Do structures exist without any page behind it?</p>
</blockquote>

<p>No, you have to design a template for it. To make that template available under <code>mysite.dev/lunch-menu</code> you have multiple options.</p>

<p>The easiest way to do it is to simply save the template as <code>/lunch-menu/index.html</code>.</p>

<p>Another pretty common option is to use a Single section for your menu's Structure section index page. This is not very complicate to set up and because your "Lunch menu" now got it's own entry type, you can add custom fields to it. That's a good thing to have if you need other content on that lunch menu's index page besides the actual lists.</p>

<p>You could also create another structure (e.g. named "Pages") and make you Lunch menu structure's index page an entry of that other structure. Besides index pages, like the "Lunch menu" index or a "News" index for example, you could also add entries like "About" or "Contact" to that structure. One advantage of this approach is that you have all your pages (indexes and single content) in one structure and you can create your site navigation out of it.</p>

CC BY-SA 3.0
2014-09-03T23:14:44.077Z
2014-09-03T23:44:39.863Z
2014-09-03T23:44:39.863Z
carlcs
<p>I'm trying to build a restaurant menu using a structure.<br>
The structure looks like that:  </p>

<pre><code>&gt; Menu-part 1
  &gt; Menu-item 1
  &gt; Menu-item 2
  &gt; Menu-item 3

&gt; Menu-part 2
  &gt; Menu-item 4
  &gt; Menu-item 5
  &gt; Menu-item 6
</code></pre>

<p>How would I now make a page accessible with those entries ? Should I create a single-page and then add those categories ? Or is there a better way ?</p>

<p><strong>EDIT</strong><br>
What I don't understand is: Do structures exist without any page behind it? Because what I want is a page that just takes every entry from my menu-structure and builds me the food-menu on <code>mysite.dev/lunch-menu</code> for example.  </p>

CC BY-SA 3.0
2014-09-03T18:48:08.390Z
Hi @maxx, this question is very broad. Any potential answers will cover a lot of ground, much of which can be covered by simply [reading the docs](http://buildwithcraft.com/docs/templating/craft.entries). Would you mind breaking this out into multiple, more specific questions? Or at least refining this question into a **specific** need more than a general one? And as always, it's helpful to provide code examples of anything you've tried so far.
Lindsey D
<structure><best-practice>
How to access a structure
# How to access a structure

(Asked by: username_0 on 2014-09-03)

I'm trying to build a restaurant menu using a structure.
The structure looks like that:  
> Menu-part 1
  > Menu-item 1
  > Menu-item 2
  > Menu-item 3

> Menu-part 2
  > Menu-item 4
  > Menu-item 5
  > Menu-item 6

How would I now make a page accessible with those entries ? Should I create a single-page and then add those categories ? Or is there a better way ?
EDIT
What I don't understand is: Do structures exist without any page behind it? Because what I want is a page that just takes every entry from my menu-structure and builds me the food-menu on mysite.dev/lunch-menu for example.

**Tags:** structure, best-practice

> **Comments:**
> **username_1**: Hi @username_0, this question is very broad. Any potential answers will cover a lot of ground, much of which can be covered by simply [reading the docs](http://buildwithcraft.com/docs/templating/craft.entries). Would you mind breaking this out into multiple, more specific questions? Or at least refining this question into a **specific** need more than a general one? And as always, it's helpful to provide code examples of anything you've tried so far.  

---

## 1 answers

### Answer by username_2 on 2014-09-03. Score: 1

> Do structures exist without any page behind it?

No, you have to design a template for it. To make that template available under `mysite.dev/lunch-menu` you have multiple options.

The easiest way to do it is to simply save the template as `/lunch-menu/index.html`.

Another pretty common option is to use a Single section for your menu's Structure section index page. This is not very complicate to set up and because your "Lunch menu" now got it's own entry type, you can add custom fields to it. That's a good thing to have if you need other content on that lunch menu's index page besides the actual lists.

You could also create another structure (e.g. named "Pages") and make you Lunch menu structure's index page an entry of that other structure. Besides index pages, like the "Lunch menu" index or a "News" index for example, you could also add entries like "About" or "Contact" to that structure. One advantage of this approach is that you have all your pages (indexes and single content) in one structure and you can create your site navigation out of it.


---

