ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

pages

July 01, 2007 5:15pm

Subscribe [3]
  • #1 / Jul 01, 2007 5:15pm

    thisconnect.be

    73 posts

    Hi all,

    How can i make it so that my first page(index file) become a static page. I tryed leaving de uri empty but this doenst work.
    Is there an other trick to accomplish this?

    Grtz,

  • #2 / Jul 01, 2007 5:50pm

    Cocoaholic

    445 posts

    Some options are:

    - .htaccess mod_rewrite
    rewrite your domain root to the pages URI

    - PHP redirect
    check if there is a segment_1, if not redirect to your pages URI

    The latter will of course show the Pages URI in your browser’s location field.

    I tried the following code and that doesn’t work:

    {if segment_1 == ""}
    {embed="your/page/uri"}
    {if:else}
    ...
    {/if}
  • #3 / Jul 04, 2007 6:25pm

    thisconnect.be

    73 posts

    hello EE support?

    Anybody alive? do you guys have a solid solution for this? Or is it just not possible?

    Greetz,

  • #4 / Jul 04, 2007 6:30pm

    Boyink!

    5011 posts

    Uh, you do realize it’s a holiday here in the States?

  • #5 / Jul 04, 2007 6:34pm

    thisconnect.be

    73 posts

    well i didn’t know and i asked this question a few days ago…i’am just a bit disapointed no EE-staff awnserd until now. Normally they always reply good or bad 😊

    Grtz,

  • #6 / Jul 04, 2007 6:37pm

    Lisa Wess

    20502 posts

    A page is just a weblog entry with a special URL and a pre-defined template. You can still use url_title and entry_id parameters to force that to display on the home-page.  But no, there’s no checkbox “use this page as homepage” or any such thing, and when using those parameters it won’t be forced to use the pre-defined template, so you’d want to style your home-page accordingly.  That would also, of course, make the home-page non-dynamic so you’d need to make sure you use other templates for things like category pages, etc.

    Hope that helps. =)

  • #7 / Jul 04, 2007 6:49pm

    thisconnect.be

    73 posts

    right i could do something with that.. i’am just looking for a maximum of usability for my client.
    thanks for the very fast awnser!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases