Re: [Radiant] A problem with the sitemapper and navigation

2010-01-21 Thread Joanna Ludmiła Ryćko
hello,

Haselwanter Edmund schrieb:
> you c
> On 20.01.2010, at 15:16, Joanna Ludmiła Ryćko wrote:
> 
>> Hello,
>>
>> I have a non-trivial problem with a construction of the sitemapper (and
>> an analogous problem with my navigation) and I wish you could help.
>> Whereas the problem with the sitemapper is hidden and the only the w3
>> validator sees the problem, the problem with the navigation causes false
>> output on the page...
> 
> you could try to use the wonderful navigation_tags extension (and look at the 
> forkes for additional 
> functionality like excluding pages)
> 
> http://github.com/derencius/navigation_tags/

Thanks for your advice. Do you know any better source of documentation
for this extension? Since the readme file is really short and not
detailed enough, so I can't understand if it's possible to look for
particular part of the children's pages and how to achieve it.


What do you mean with the "forkes"?

Joanna
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Re: [Radiant] A problem with the sitemapper and navigation

2010-01-20 Thread Haselwanter Edmund
you c
On 20.01.2010, at 15:16, Joanna Ludmiła Ryćko wrote:

> Hello,
> 
> I have a non-trivial problem with a construction of the sitemapper (and
> an analogous problem with my navigation) and I wish you could help.
> Whereas the problem with the sitemapper is hidden and the only the w3
> validator sees the problem, the problem with the navigation causes false
> output on the page...

you could try to use the wonderful navigation_tags extension (and look at the 
forkes for additional 
functionality like excluding pages)

http://github.com/derencius/navigation_tags/

cu edi

--


___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

[Radiant] A problem with the sitemapper and navigation

2010-01-20 Thread Joanna Ludmiła Ryćko
Hello,

I have a non-trivial problem with a construction of the sitemapper (and
an analogous problem with my navigation) and I wish you could help.
Whereas the problem with the sitemapper is hidden and the only the w3
validator sees the problem, the problem with the navigation causes false
output on the page...

SITEMAPPER
My sitemap is build like this:
On the page:
  

  

Snippet - "sitemapper":


  

  
  
  
  

  



It causes a not valid code, which includes some empty , if the
page has children, but all it's children include the part "no-map", so
they won't/shouldn't be shown in the site map. So I'm looking for the
way to check, if the children include "no-map" before outputting the
beginning (and then the end) of the list (, ) of the children
pages.


The same problem with the
NAVIGATION
Snippet - "Navigation" (a part of the snippet, which is relevant)


  


  
  

  
>

  


  


  


  

  


It should create an ">" if a page has children, but _unless_ the
children don't include the part "no-nav". With the current code it's not
possible. So if a page has children, which shouldn't be shown in the
navigation, it still creates an empty ">", which is unacceptable.

Do you have any idea, how to correct this? It's a very important issue
to me, since the ">" shows up on a production site, where it shouldn't.
Any ideas are welcome. I am aware of the information under:
http://wiki.github.com/radiant/radiant/making-a-sitemap
"Note that the tag  was introduced in version 0.6.4 of
Radiant. It is possible to create a sitemap without this tag, but it may
not pass w3c validation, because it will output an empty ."
but it still doesn't help me. :-) I just have to find a way to correct it.

Joanna
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant