Hi,
Is there a way to hide an article from the article menu but still display it on the page?
I have set up my site with a horizontal menu and an extra vertical article menu (see http://www.itrichter.de/index.php?risiken ).
On each level I have one article with the text to be displayed at the top and any number of articles listed below, so the articles can be read by clicking on "read on" or by clicking the menu item.
But that way the top article is shown in the menu as well, which is not usefull, since there is no additional content there. So I just hide the first item in the article menu via css.
But now I realised the article can still be found via google, which is a little confusing since there is no real content.
So my question is, can I hide the article from the menu, or is there another way to solve this?
hide article from menu
Re: hide article from menu
Hi,
you have solved the problem?
Knut
you have solved the problem?
Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Re: hide article from menu
No, I haven't.
I'm wondering if there is a (convenient) way to prevent google from crawling that page, but as far as I can see that would only be possible by adding all those pages to the robot.txt or by adding the NOINDEX meta-tag, which I don't know how to do for a single article.
I'm wondering if there is a (convenient) way to prevent google from crawling that page, but as far as I can see that would only be possible by adding all those pages to the robot.txt or by adding the NOINDEX meta-tag, which I don't know how to do for a single article.
Re: hide article from menu
But I bet google will like these "collecting" pages!
BTW: Check the page template again with safari - there is a horizontal scroller showing up at the bottom
BTW: Check the page template again with safari - there is a horizontal scroller showing up at the bottom
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
Re: hide article from menu
Ok, I'm going to use Knut's article menu (http://www.phpwcms-howto.de/wiki/doku.p ... enu-archiv).
I simply adjusted the old css to fit the new menu.
Btw, when I tried the code of version 1.1 from the english part of the wiki It complained about the wrong number of argument, seems I wants 4 already. But I used 1.2 from the german part, so I'm fine.
Now I just need to re-sort half of my articles, since the menu does not use the sorting setting from the category, and I usually sort it "manually, descending", since I write my articles from top down. But then the menu hides the last article, not the first.
And yes, I haven't got around to check it on all browsers, and I don't have a safari available. Gonna ckeck that, thanks!
I simply adjusted the old css to fit the new menu.
Btw, when I tried the code of version 1.1 from the english part of the wiki It complained about the wrong number of argument, seems I wants 4 already. But I used 1.2 from the german part, so I'm fine.
Now I just need to re-sort half of my articles, since the menu does not use the sorting setting from the category, and I usually sort it "manually, descending", since I write my articles from top down. But then the menu hides the last article, not the first.
I don't see why not? It's not very different from any news page.claus wrote:But I bet google will like these "collecting" pages!
BTW: Check the page template again with safari - there is a horizontal scroller showing up at the bottom
And yes, I haven't got around to check it on all browsers, and I don't have a safari available. Gonna ckeck that, thanks!
Re: hide article from menu
There is a Safari for windows based systems:
http://www.apple.com/safari/ [direct link changed by OG]
http://www.apple.com/safari/ [direct link changed by OG]
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
Re: hide article from menu
Unfortunately the article menu does not use the navigation title, but the full title of the article. I see that makes sense for many uses, but for an actual menu, it's a drawback. I'll have to see If I can change that, although I have avoided diving into the code until now.