1

I am still learning Expression Engine so please forgive any misunderstanding or ignorance that I might have. I am using the Pages module and I want to be able to set which page is the default page for the whole site regardless of which template is used. Is this possible? If I need to elaborate upon any details please inform me.

3

You can't do that from the Pages module. You can set the default template, and then, in that template, call a specific entry by entry_id.

This is an example of what I typically do in the default template (site home page)--e.g., site/index:

{exp:channel:entries
    entry_id="1"
    channel="home_page"
    disable="member_data|trackbacks|pagination|categories"
    limit="1"
    dynamic="no"
}

... your template and page content...

{/exp:channel:entries}

So, the template is pulling in a single entry's content. And, it's not using the Page URI at all on the entry with entry_id = 1.

Would that work for you? It's not exactly what you described, but you can't literally set a default Page for the site.

4
  • Yes, that helped a lot, thanks! But how do you know what entry_id a particular page has... I hope I am making sense. – Vial Aug 19 '13 at 23:55
  • Ok one way is to search for it in edit. – Vial Aug 20 '13 at 0:07
  • Right, you generally grab the entry_id from the Edit screen in the control panel. This is the one case where I reference an Entry ID on an EE site. – Jay F Aug 20 '13 at 0:34
  • If you didn't want to use an Entry ID, you alternatively could use a unique URL Title for the default entry. But, each Entry ID is always unique for the entire site (and, actually across multiple sites if you use the Multiple Site Manager add-on). An entry URL Title is only guaranteed to be unique per channel--you'd have to humanly enforce uniqueness for the URL across the site. – Jay F Aug 20 '13 at 0:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.