Menu breaks with CYC

Forums Forums Menus Menu breaks with CYC

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #739
    Luffer
    Member

    Hi,

    I’ve got the Customize Your Community plug-in set up with multi-level menus and have a problem.

    When using CYC, the log-in and register pages work fine. But, the navigation menu breaks on the profile page. Try it yourself, head to http://www.techietalk.co.uk[/url:3qv9xzgu%5D and register on the forum. After registration you are redirected to the profile page. But my navigation menu disappears! What’s happened? I don’t understand why the menu breaks on that page, but none of the others.

    #5824

    Hi,
    I don’t have any experience with this plugin sorry. I don’t have time to register for your forum, but if you post a link to an example page with the problem I might be able to see what is going on.

    #5825
    Luffer
    Member
    "Ryan" wrote:
    Hi,
    I don’t have any experience with this plugin sorry. I don’t have time to register for your forum, but if you post a link to an example page with the problem I might be able to see what is going on.

    I can’t post a link because this issue only shows up on the users profile page so you have to be logged in. I’ve attached screenshots to this post so you can see the problem. But I have no way of recreating this without you being logged in.

    In this screen grab the menu displays correctly, as it does for all other pages on my site:
    3417137069_35982b83d8_o.jpg

    But on the profile page, the menu has vanished! I don’t understand where it’s gone:
    3417946502_5fdeb77af7_o.jpg

    #5826

    It’s probably because whatever template is being used to display that part of your site doesn’t have the pixopoint_menu() function specified in it.

    I was intending for you to post a replica page of the problem, not the actual page.

    #5827
    Luffer
    Member

    Well the pixopoint_menu() function is called in header.php theme template:

    [code:1dk8c05c]<div id="navbar">
        <div id="navbarleft">
            <div id="nav">
                <?php if (function_exists(‘pixopoint_menu’)) {pixopoint_menu();} ?>
            </div>
        </div>
        <div id="navbarright">
            <form id="searchform" method="get" action="<?php echo $_SERVER[’PHP_SELF’]; ?>">
                <input type="text" value="Search this website..." name="s" id="searchbox" onfocus="if (this.value == ‘Search this website...’) {this.value = ”;}" onblur="if (this.value == ”) {this.value = ‘Search this website...’;}" />
                <input type="submit" id="searchbutton" value="GO" />
            </form>
        </div>
    </div>[/code:1dk8c05c]

    header.php is being loaded because that contain the logo as well as the search bar, which are both being displayed fine.

    I don’t know what you mean by posting a replica page? I’d happily do so if I knew how.

    Regards,
    Luffer

    #5828

    By ‘replica page’ I mean saving the page and uploading it somewhere so that I can see what it looks like. If the links to CSS files, scripts etc. are specified absolutely then you should just have to grab the source code, dump it into an HTML file and it should work fine.

    #5829
    Luffer
    Member

    Okay, I figured out what you mean now:

    Login page with menu:
    http://www.techietalk.co.uk/login.html%5B/url:oq7o3e1p%5D

    Profile page with broken menu:
    http://www.techietalk.co.uk/profile.html%5B/url:oq7o3e1p%5D

    #5830

    It looks like the wp_head() function is not loading in whatever template is being used for that page.

    The wp_head() function can normally be found in the header.php file just before the </body> tag.

    #5831
    Luffer
    Member

    I’m a bit lost again now, why would there be a </body> tag in header.php?

    Looking at the source code for profile.html it looks like everything inside header.php is being used, so the header.php is being loaded for the template. But for some reason the menu code is being stripped out. Why would that be?

    #5832
    &quot;Luffer&quot; wrote:
    I’m a bit lost again now, why would there be a </body> tag in header.php?

    Sorry, I meant </head> tag.

    &quot;Luffer&quot; wrote:
    … But for some reason the menu code is being stripped out. Why would that be?

    No idea sorry. That is a strange problem.

    Are you sure that you don’t have another template file which contains the header information but is missing wp_head()?

    #5833
    Luffer
    Member

    Okay, I’ve solved the issue. It seems to be that the "Customize Your Community" plug-in is really buggy. No support for it either, not that I’ve been able to find anyway. I’ve found a far superior plug-in that does a much better job than CYC:

    [b:3stfxtxf]Theme My Login[/b:3stfxtxf]

    http://webdesign.jaedub.com/wordpress-p … gin-plugin

    This allows users to be redirected depending on their "Role" so admins can be sent to wp-admin while subscribers to another page. It’s all fully customisable and much easier to use than CYC. It also integrates with your theme far better than CYC did.

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.