Forum Replies Created

Viewing 15 replies - 16 through 30 (of 31 total)
  • Forum: Your WordPress
    In reply to: Menu Borked

    HI there,
    what I’ve seen of you css and html i would do what I will tell you
    IF:
    The sidebar (nav) is a child of any main div (maybe “main”) container for the hole layout.
    put in the css rule of
    #main {

    position: relative; <– this you have to put in

    }
    and finally set the hole bar to a unique position. Because the layout is liquid i would say to the damn sidebar.
    “Move you ass on the right sight and stay x pixel away from the top”
    CSS rule for the div container of the hole sidebar (I guess “nav”)
    #nav {
    position: absolute;
    top: 80px;
    right: 5px;
    }
    top: the pixels from the top of the _parent container_ of the sidebar
    right: How many pixel starting from the right you want the sidebar to appear.
    that should fix it.
    More information about “position: absolute” you find with google
    $0.2
    Rene

    One (maybe not the best) would be to check if the url ist the url of the document root (e.g. example.com) and then set the text. Or you use different templates and you hardcode it in the homepage template.
    $0.2
    Rene

    Forum: Fixing WordPress
    In reply to: Visually Edit?

    Hi all,
    to get Lamp working on Windows somebody recommened XAMP or XAMPP (search by google maybe) He said is was so damn easy to install.
    And I LOVE The developer Toolbar! I use it all the time.
    Best for hardcore CSS editing is topstyle from Nick Bradbury (cant live without it – thanks nick!)
    I strongly recommend the little programm called “sizer” it resizes every window on some editable dimensions.
    For IE I would recommend the extension “List Stylesheet”.
    $0.2
    Rene

    To solve this problem, I use htaccess.
    I use permalinks
    /artikel/%postname% and the last line of my htaccess looks like
    RewriteRule ^artikel/([^/]+)/?([0-9]+)?/?$ /wp1.34/artikel.php?name=$1&page=$2 [QSA]
    so if I view a single page it uses my artikel.php
    HTH

    Thread Starter renegrass

    (@renegrass)

    I also want alternative background color for the comments. There are some plugins/hacks arround, I use a dumb simple little script.
    What I use (with the config in the first post) to get this working.

    ....
    <li id="comment-<?php comment_ID();
    //It counts the comments up
    $y = $y + 1;
    if ($y %2 !=0) {
    //that should be the default and should change nothing
    echo '">';
    } else {
    //the second one gives us the alternative class and we could start formating
    echo '" class="alternativ">';
    }
    ?>
    ....

    Maybe it helps someone too.
    HTH
    Rene

    HI,
    if somebody should provide you more help, it would be usefull
    to see you htacces code, maybe an link to your wp installation, what Is your wp installation….
    provide more info
    HTH
    Rene

    Hi,
    if you want that the background should not repeat, tell him
    background-repeat: none;
    To get the column work, maybe use position: absolute; for the parent div and the rest do with margin.
    Or float it, or use margin wisley depends on how you work.
    The easiest would be to use position absolute.

    position: absolute;
    top: 30px;
    right: 20px;
    To get it aligned with the “main big chief container” (outer_rap) use only position: relative for the outer_rap.
    So the right column starts counting the positions points from the border of the outer rap.
    HTH
    Rene

    Hi allusion,
    I’m pretty suprised how friendly and helpfull you admin, developers and the hole wp community is.
    Thats not the common way, what you see in the internet. Most time its: Take what you get and then the hell out of here (here = other places)
    (Sorry I’m just suprised)
    Rene

    Hi,
    maybe erase the trailing slash of the rewritebase url, it helps me get this working on my shared host.

    Hi,
    try to erase the last slash of the rewriteBase link in the htaccess.
    From:
    RewriteBase /yourBlogRoot/
    Into:
    RewriteBase /yourBlogRoot
    It helps me to get the permalinks working.
    If you want to edit the htaccess via wp you need chmod of 666 or 766.
    HTH
    Rene

    Forum: Fixing WordPress
    In reply to: please help

    Hi ,
    remove the htaccess from you account and you happy again.
    The problem caused the 500 was the htaccess which delivered a wrong rule maybe.
    good night

    Thread Starter renegrass

    (@renegrass)

    Hi,
    what helped me on my shared host account is to remove the last slash from the link of the rewrite base.
    old:
    RewriteBase /wp1.34/
    new:
    RewriteBase /wp1.34
    Thats it. Got the same problem with 1.2, because I had not tried this.
    Maybe it helps

    Thread Starter renegrass

    (@renegrass)

    Good morning chuyskywalker,
    we getting closer together. ??
    You are totally right, with the feeds problem. I dont want to harm the other directories.
    You wrote:

    I see what you want. Normally WP is set up so that the url
    /archives/category_name
    will pull up all the posts in the category. You are trying to create an actually folder, place an index file in there and then have that index file pull all the posts from the category that you specify.
    What you want is an .htaccess solution that will allow a person to type:
    /category_name
    and get all the posts from that category.

    And the problem ist if my categorylinks and the permalinks (more… eg. /article/year/month/date/%postname%) with the category “articles” inside the link are not viewable on a “real” “articles” folder.
    It works perfect without the mode_rewrite but the mode_rewrite maybe “blocks” it any way.
    My question should be (if I’m able to explain it :-] ) that I want that damn index.php displaying the post of the category “articles”
    Would maybe a plugin helps?

    Thread Starter renegrass

    (@renegrass)

    Hi moshu,
    i will explain it.
    My links to an post looks like
    /css/css_for_a_dummy/
    Normally within WP you are able to call you categories with e.g.
    /archives/category/css/
    and in this virtual folder all the posts from the category CSS will get displayed:
    What i want to have is a link looks like
    /css/
    where all the posts of this category get shown. So I copy the index.php to this folder and try to only display the css post with

    $cat = ‘id of css’;

    its not working I always get “no post matches…”
    if I rename the folder e.g. “css1” it works perfect.
    You know what I mean?
    Thx for you help!

    Thread Starter renegrass

    (@renegrass)

    HI chuyskywalker,
    thx for your file, but I only see the normal wp folders in your htaccess (and I’m not so familiar with mode_rewrite). I’m able to get it work with …/archives/…, …./category/…, but I’m not able view all my post again in an real folder called “article” (wenn I use as a permalink /article/%postname%), if I change it to articles or whatever it works fine, but I want to get the links and the folder with the same name.
    If I’m blind, please take my head and bounce it 10 times to the interessting line, to enlight me a little more. ??
    Thx anyway for you help
    greetings
    Rene

Viewing 15 replies - 16 through 30 (of 31 total)