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.

Wiki category display issue on EE 2 compared to EE 1

November 04, 2012 10:56am

Subscribe [2]
  • #1 / Nov 04, 2012 10:56am

    Linda A

    666 posts

    On my live site, which runs EE 1 at the moment, I get the following output:

    B
    - Basics Contacts
    - Basics Credits
    - Basics Overview
    
    C
    - Character Alts
    - Character Concepts
    - Character Guide

    It can be seen at : http://www.westeros.org/BoD/Helpfiles/Category:Info/

    On my EE 2 test site, I get this:

    BASICS_CONTACTS
    - Basics Contacts
    
    BASICS_CREDITS
    - Basics Credits
    
    BASICS_OVERVIEW
    - Basics Overview
    
    CHARACTER_ALTS
    - Character Alts
    
    CHARACTER_CONCEPTS
    - Character Concepts
    
    CHARACTER_GUIDE
    - Character Guide

    Comparing the relevant sections of the template, they look pretty much identical, so I am not sure what is happening. The template does seem to dictate that the list should look as on EE 1, but it isn’t happening.

     

  • #2 / Nov 06, 2012 10:42am

    Shane Eckert

    7174 posts

    Hey Linda,

    Thank you for posting your question.

    Can you show me the code you are using to produce your list?

    I can use that as a starting point and see what I can come up with.

    Thank you,

  • #3 / Nov 06, 2012 10:46am

    Linda A

    666 posts

    Its pretty much the default code from the Wiki Templates:

    {wiki:category_articles limit="500"}
    
    {header}
    <h3>Articles in category "{topic}":</h3>
    <p>There {if articles_total == '1'}is 1 article{if:else}are {articles_total} articles{/if} for this category.<br />
    {/header}</p>
    
    <p>{letter_header}{letter}{/letter_header}</p>
    
    <p><div>- <a href="http://{path:view_article}">{title}</a></div></p>
    
    <p>{footer}{/footer}</p>
    
    <p>{/wiki:category_articles}

  • #4 / Nov 07, 2012 1:01pm

    Shane Eckert

    7174 posts

    Hey Linda,

    Thanks for your patience.

    I am going to ask an engineer about this. I am not seeing anything in the changelog that would indicate a difference between the two.

    Hang tight!

    Cheers,

  • #5 / Nov 07, 2012 1:02pm

    Linda A

    666 posts

    Thanks. 😊

  • #6 / Nov 07, 2012 2:57pm

    Robin Sowell

    13255 posts

    Hrm- I don’t replicate.  My 2.x looks pretty much like your 1.x.  If you try it using the default theme, is it still doing that?

    {exp:wiki base_path='wiki' wiki="default_wiki" theme="default"}

    It definitely looks buggy to me, but like I say, I’m not replicating.  (See attched.)

  • #7 / Nov 07, 2012 3:25pm

    Linda A

    666 posts

    Yes, I am getting the same result using the default. Hrm, that’s very curious, indeed.

  • #8 / Nov 09, 2012 4:06pm

    Robin Sowell

    13255 posts

    K- let’s try this- can you attach your custom theme page- the wiki_article.html one?  I’ll try dropping it into my default and see if things go horribly wrong.

    Is weird though- because the bit you posted looks correct.  So I don’t see why it would bork.  Yet clearly it’s theme related.  Hrm.  Anyway- if you can attach, I’ll give it a test.

  • #9 / Nov 09, 2012 5:33pm

    Linda A

    666 posts

    Hrm, of course…I just realized that it could be my wrapper setup after all. I moved the wrapper out of the wiki theme file and into the template where I put the wiki tag so that I could easily update it along with any other templates.

    I had thought the fact that the default theme also threw the error meant it wasn’t this, but of course, it would actually end up double-wrapped.

    But why it would kill this particular part of it, hrm. I will need to look at the wrapper first.

  • #10 / Nov 12, 2012 9:19am

    Robin Sowell

    13255 posts

    Yep- I can see the wrapper possibly being in play, but like you, I can’t see why it would break the way it’s breaking.  It’s like the letter header is totally skipped and it’s showing a url title above the title every time.  It’s just weird!  But I’m thinking it’s something in that custom template code doing it.

    If you can’t spot it and sending it over isn’t a good option, let me know and we can get you some info on how to take a closer look.

  • #11 / Nov 12, 2012 2:10pm

    Linda A

    666 posts

    What’s the best way of sending it over? Attaching it to a PM, maybe, so I don’t need to strip out any system-revealing stuff? 😊

  • #12 / Nov 12, 2012 2:13pm

    Robin Sowell

    13255 posts

    Email is fine- .(JavaScript must be enabled to view this email address).  If you have any of it in the actual template itself (beyond the wiki tag itself), can you include that as a text file too?

  • #13 / Nov 13, 2012 1:36pm

    Robin Sowell

    13255 posts

    This one actually turned out to be a bug, which is fixed up now, and should be good in the next release.

    Sorry it caught you, Linda!  And that I couldn’t replicate w/out going in.  It only shows up if mb_strtoupper() isn’t supported.

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

ExpressionEngine News!

#eecms, #events, #releases