Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter TommeN

    (@tommen)

    @roch The thing is that for my part, i manage the webpage for a league with 6 teams, around 15 players each team. It takes many hours to get a new season up and running, with all the manual work that is to be done.

    I have more ideas that i’ll post on you ideaboard. But this “bug” should be considered to fix now. As @theangryduck says, you can actually add players to wrong teams, and have wrong teams play a match in a season! That makes is hard to learn other to use the plugin, as they have the possibility to break things….

    Thread Starter TommeN

    (@tommen)

    And stats should alså be linked to the club the player was “current” at that season. All the players i have joined last year season, and this years has “none” club for stats… It makes no sense to make same changes many places…

    • This reply was modified 8 years, 11 months ago by TommeN.
    Thread Starter TommeN

    (@tommen)

    Other thought… Cant i achieve this by installing PHP-Exec plugin, and make a code for each page?

    Nevermind, i did as you sad, made a custom template, and dumped the index.php page into that, and limited the loop to only show cat id6. That made my day! But, now the Childobjects wont show in the menu, how do i make them show? My menu shows only related childobjects to that page that is open. This work for the rest of the page, but not my custom template themed page…

    Where is the code in the page.php that tells the childobject menu to show?

    Thread Starter TommeN

    (@tommen)

    Ok, thanks! I have never tried the custom page template thing, but ill read the link, and try a little with my very limited PHP skills.

    The fix i did above did the job showing the posts, but nothing more. And it removed the childobjects unser the page..

    Thread Starter TommeN

    (@tommen)

    Because i have a menu, with submenu’s.
    The childobject don’t show until you click on the mothermenu.

    Like this:

    Front page (show the generel news to the club)
    About
    – Est. xxxx
    – History
    Leadership (show a category)
    – Leaders
    First Team (show one category)
    – Training
    – Games
    – Players
    Secound team (show another category)
    – Training
    – Games
    – Players

    ….

    Thread Starter TommeN

    (@tommen)

    @esmi

    Thank you, i have this fix:

    <?php
    $catID = 0;
    if (is_page('contribute')) {
      $catID=6;
    } elseif (is_page('about')) {
      $catID=9;
    }
    
    if ($catID) {
       $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
       query_posts("cat=$catID&paged=$paged");
    } ?>

    But isnt there a other way? Cause i want to hade the “post” shown the same way that they do on the front page. With author, date/time, category and comments. This disappear when i use that fix..

    Forum: Plugins
    In reply to: Subscribe2.2.2 long buttons

    404 here too

    Forum: Plugins
    In reply to: Set WordPress Offline
    Thread Starter TommeN

    (@tommen)

    Sorry, ive put wrong ID in the code. It works

    Forum: Plugins
    In reply to: Set WordPress Offline
    Thread Starter TommeN

    (@tommen)

    That did’nt work actually…

    Forum: Plugins
    In reply to: Set WordPress Offline
    Thread Starter TommeN

    (@tommen)

    Spmple, dirty but brilliant. Just what i needed 🙂 thanks.. But, where should i put it? In the bottom of the header?

Viewing 10 replies - 1 through 10 (of 10 total)