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.

New pages are uploading in 2 different CATEGORIES

July 06, 2007 2:08am

Subscribe [2]
  • #1 / Jul 06, 2007 2:08am

    margster

    12 posts

    Hi, I have been uploading new pages no problems under different categories. There is now an error occuring when I do this. The new page will show up under the category I wanted it to be in, BUT it is also overriding the home page with its text and images.

    When I Close the status of the new page all is back to normal with the Home Page.

    Can anyone help here? Thanks in advance! I can’t upload anything until I get this sorted out.

    Cheers margie

  • #2 / Jul 06, 2007 4:27am

    silenz

    1651 posts

    Is the “unwanted” category the parent category of the one you are assigning to the entry?

  • #3 / Jul 06, 2007 4:38am

    margster

    12 posts

    HI, thanks so much for your reply. I’m not sure what you mean by ‘parent’ category? In my list of categories I can’t tell if the ‘Home Page’ is the parent, as this category and the 5 sub-level categories all sit together in Exp Engine.

    This is my url: http://www.flickchicks.com.au and whenever i now try and add a new page to one of the five categories(for example ‘What We Do’) it overrides the homepage completely.

    I hope this makes sense??

  • #4 / Jul 06, 2007 4:39am

    margster

    12 posts

    HI, thanks so much for your reply. I’m not sure what you mean by ‘parent’ category? In my list of categories I can’t tell if the ‘Home Page’ is the parent, as this category and the 5 sub-level categories all sit together in Exp Engine.

    This is my url: http://www.flickchicks.com.au and whenever i now try and add a new page to one of the five categories(for example ‘What We Do’) it overrides the homepage completely.

    I hope this makes sense??

  • #5 / Jul 06, 2007 5:24am

    silenz

    1651 posts

    I don’t know your setup.
    One thing I could imagine is that you have categories arranged like this.

    Homepage
       +-- The chicks
       +-- What we do
       +-- Embryos
       +-- ...

    So Homepage would be the parent category.

    There is a setting under
    CP Home ›  Admin ›  Weblog Administration ›  Global Weblog Preferences
    labeled “Auto-Assign Category Parents”.

    If this is set to “Yes” the following happens:
    When you post an entry and select the category “What we do”, the category “Homepage” is automatically assigned to it, too. So the entry has two categories and might show up where you don’t expect it.

    Just a wild guess ...

  • #6 / Jul 06, 2007 5:57am

    margster

    12 posts

    Hi again. The categories section is set up like this:

    Categories:

    The Chicks
    What We Do
    Embryos
    Feathers in our cap
    Contact us
    Front Page


    I tried what you just described and it is still doing the same thing unfortunately.

    It’s a strange thing…when I upload some old archived pages I have closed off, they don’t disrupt the hompage.  It just seems to be this batch of new ones. There must be some setting in there..perhaps that I changed, but was unaware of doing this???!!

    Thanks for trying to help, I really appreciate it.

  • #7 / Jul 06, 2007 6:55am

    silenz

    1651 posts

    Well, could you post {exp:weblog:entries} bit from your frontpage-template?

  • #8 / Jul 06, 2007 7:34am

    margster

    12 posts

    Sorry, I’m not sure what you mean. How do I find [exp:weblog:entries)? And how do I send it? I’d do a screen grab and attach the pic, but I don’t know how to attach it. Frustrating!!

    Thanks for perservering with me on this 😊

  • #9 / Jul 06, 2007 7:45am

    silenz

    1651 posts

    You said new posts override the home page.
    There must be a template in which is defined what is shown on your homepage. Part of the code in that template is something that starts with

    {exp:weblog:entries
  • #10 / Jul 06, 2007 8:37am

    margster

    12 posts

    I’m choosing TEMPLATES to try and find this. Not sure if this is where I should be looking??
    When Templates comes up there is a list under ‘Choose Group’ which looks like this:-

    *main
    search
    thechicks
    whatwedo
    embryos
    feathers
    contact
    images

    but there is no home page.  Should I be looking somewhere else for {exp:weblog:enries}??


    When I am working on a new page in PUBLISH, the categories section lists the home page there as ‘Front Page’ (as I described in a previous entry above)

    Maybe my system has been set up a little differently??

    Thanks again for your help!

  • #11 / Jul 06, 2007 8:48am

    silenz

    1651 posts

    Probably the template in question is the template named “index” in the group “*main”.

    As a sidenote: Isn’t your webdesigner who made the templates at hand?

  • #12 / Jul 06, 2007 8:55am

    margster

    12 posts

    Yes, my web designer is overseas!

    I’ve found the right Template and section now (THANKS) and have copied what shows up below.

    {embed="main/article-header"}
    <td background=”/images/index_12.png” width=“715”></td>
    <td>
    {embed="images/index_13"}</td>
    </tr>
    <tr>
    <td>
    {embed="images/index_14"}</td>
    <td background=”/images/index_15.png” width=“715” class=“contentcell”>
    {exp:weblog:entries weblog="flickchicks" limit="1" show="8"}
    <div class=“flash”>
    {if flick_menu == "Image"}{flick_graphic}{/if}
    {if flick_menu == "Flash"}
    <embed src=”{flick_graphic}” width=“415” height=“278”>
    </embed>
    {/if}
    </div>
    <div class=“textcontainer”>
    <div class=“heading”><div class=“text-padding”>{title}</div></div>
    <div class=“text”>
    <table cellpadding=“5” cellspacing=“0” class=“tabletext”>
    <tr><td>
    {flick_text}
    </td></tr></table>

    </div></div>
    {/exp:weblog:entries}
    {embed="main/footer"}

  • #13 / Jul 06, 2007 9:12am

    margster

    12 posts

    I can’t reach my web designer for the next couple of weeks as he is overseas on holiday. Sorry this has turned into a saga. i really appreciate you trying to figure this one out.

  • #14 / Jul 06, 2007 9:14am

    silenz

    1651 posts

    There we are.

    {exp:weblog:entries weblog="flickchicks" limit="1" show="8"}


    There is a little error inside this.
    show=“8” is not a supported parameter of the {exp:weblog:entries}-tag. So that will lead to unexpected results as we have learned. Probably any entry with a date newer than the frontpage-page entry will replace it.

    Now the question is what was intended with show=“8”.
    Can you go to “Edit” in your ControlPanel and see in the list of entries if the entry number of your frontpage-entry is 8?

  • #15 / Jul 06, 2007 9:42am

    margster

    12 posts

    The front page entry number is # 33. Number 8 is Community Service Announcements which is a page under the ‘What We Do ’ category.

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

ExpressionEngine News!

#eecms, #events, #releases