SEO Software Talk Forum Index LinkAssistant Technical Support
Empty top level category shows up
View previous topic :: View next topic
Display posts from previous   
All times are GMT
Post new topic  Reply to topic  
Empty top level category shows up Sat Apr 14, 2007 11:59 pm
Comenius
Another question about generating my links page.

I have the following category hierarchy:

Links
- Category 1
- Category 2
- Category 3

There are no sites directly assigned to Links, they are all under a sub category. Links is empty and has no sites in it.

When I generate my page, though, I get the following:

Links

Category 1

Category 2

Category 3

Why is Links showing up? It's empty and I want to hide it.

This is my code:

Code:
<[LINKS_LIST_VIEW]>
<[FOR_EACH_CATEGORY hideEmpty="true"]>
<p class="contentheading">
<[CATEGORY_NAME/]>
</p>
<ul><[FOR_EACH_PARTNER]>
<li>
<strong><a href="<[PARTNER_DOMAIN/]>" target="_blank"><[IF_PARTNER_NAME_IS_BLANK]><[THEN]><[PARTNER_DOMAIN/]><[/THEN]><[ELSE]><[PARTNER_NAME/]><[/ELSE]><[/IF_PARTNER_NAME_IS_BLANK]></a>
</strong><[IF_PARTNER_DESCRIPTION_IS_BLANK]><[ELSE]><br>
<[PARTNER_DESCRIPTION/]><[/ELSE]><[/IF_PARTNER_DESCRIPTION_IS_BLANK]>
</li><[/FOR_EACH_PARTNER]>
</ul><[/FOR_EACH_CATEGORY]>
<[/LINKS_LIST_VIEW]>

Thanks! Smile
View user's profile Send private message Reply with quote
Re: Empty top level category shows up Mon Apr 16, 2007 2:29 pm
LinkAssistant
Comenius wrote:
Why is Links showing up? It's empty and I want to hide it.

Frankly speakig, this is not how we've been thinking Confused We thought that the "Links" category contains other categories ("Category 1", "Category 2", etc), thus it can't be considered as an empty one.

As far as I understand, you need the following category hierarchy:
Links
Category 1
Category 2
...
(i.e. ALL categories are on THE SAME level) -- then you'd get the result you want.

Unfortunately the current version of LinkAssistant can't work with such type of a hierarchy (sorry Sad), but we'll add such a possiblity into LinkAssistant 3.0. Very Happy
_________________
Search Engine Optimization Software
View user's profile Send private message Reply with quote
Tue Apr 17, 2007 1:18 am
Comenius
Thanks for the reply. Smile

As a workaround I just renamed and decided to use the Links category as one of my primary categories. It seems a bit odd but it works.

I guess if the Hierarchy is

A
-1
-2
-3

It seems like you should be able to make another top level category. At least for me, I can only make children of A, not new parents like:

A
B
C
D

Hope this makes sense. Smile
View user's profile Send private message Reply with quote
Tue Apr 17, 2007 1:05 pm
LinkAssistant
Comenius wrote:
It seems like you should be able to make another top level category. At least for me, I can only make children of A, not new parents

Absolutely!.. Sorry we realized that a bit late Sad But we'll definitely implement the possiblity to add multiple top-level categories pretty soon.

Thanks again for all your invaluable help, Comenius Exclamation

Kind regards,
LinkAssistant
_________________
Search Engine Optimization Software
View user's profile Send private message Reply with quote
Wed Apr 18, 2007 11:59 am
scanreg
Comenius wrote:
Thanks for the reply. Smile

As a workaround I just renamed and decided to use the Links category as one of my primary categories. It seems a bit odd but it works.

I guess if the Hierarchy is

A
-1
-2
-3

It seems like you should be able to make another top level category. At least for me, I can only make children of A, not new parents like:

A
B
C
D

Hope this makes sense. Smile


But how are your pages named?

Are they still named like this:

/links-category1.html
/links-category2.html

What is your page prefix like?

Thanks Smile

I'm looking forward to when there will be no need for a prefix.
View user's profile Send private message Reply with quote
Thu Apr 19, 2007 9:26 am
LinkAssistant
scanreg wrote:
...Are they still named like this:

/links-category1.html
/links-category2.html

Yes, this hasn't been fixed yet, sorry.
_________________
Search Engine Optimization Software
View user's profile Send private message Reply with quote
Post new topic  Reply to topic  
Back To Top
Page 1 of 1
Jump to:  
Powered by phpBB
Copyright 2007, Link-Assistant.Com — The Amazingly Effective SEO Tool