 |

dimeco
User
Nov 17, 2008, 11:23 AM
Post #1 of 11
(1383 views)
Shortcut
|
|
category headlines with no articles
|
Can't Post
|
|
I was thinking about including the "top headlines" from other categories plugin, ( <!-- INCLUDE TOP HEADLINES (from each category) --> <?php include('$published.groupedHeadlines.filepath$'); ?> ) but, if there are no articles, it says, "no articles in this category". Is there a way to NOT show the categories if they have no articles in the headlines, but still leave it that people could post to the topic? (Which would then make them appear) Amber
|
|
|  |
 |

dimeco
User
Nov 19, 2008, 12:13 PM
Post #2 of 11
(1369 views)
Shortcut
|
|
Re: [dimeco] category headlines with no articles
[In reply to]
|
Can't Post
|
|
Bump. No answer?
|
|
|  |
 |

Donna
Staff
/ Moderator

Nov 19, 2008, 2:14 PM
Post #3 of 11
(1368 views)
Shortcut
|
|
Re: [dimeco] category headlines with no articles
[In reply to]
|
Can't Post
|
|
Hi Amber! Just to let you know -- we go through all of our forum posts in order as they come in, so "bump" posts aren't necessary ... just means we haven't gotten to it yet. :) Anyway, yep, you can find the template that your grouped headlines is being generated from (if you have template debugging turned on, you can just view the source and it'll tell you which template is being used to display that section.) Then, open that template, and find where it says "No articles in this category" and change that to whatever you'd like. :) Donna
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
 |

dimeco
User
Nov 20, 2008, 10:32 AM
Post #5 of 11
(1363 views)
Shortcut
|
|
Re: [dimeco] category headlines with no articles
[In reply to]
|
Can't Post
|
|
Example to that: http://www.thatsubject.com/index.php We wiped out "most" articles for the purpose of testing / setting our final templates. You can see here though, how the categories look when there's no articles... tacky - loads too much onto the page with no content. This is what I want to eliminate if possible. Perhaps its an "if" statement? However I would need some guidance with that.
|
|
|  |
 |

Donna
Staff
/ Moderator

Nov 21, 2008, 1:52 PM
Post #6 of 11
(1343 views)
Shortcut
|
|
Re: [dimeco] category headlines with no articles
[In reply to]
|
Can't Post
|
|
Hi Amber, I took a look at your site, but I'm not quite sure how you want it to appear? Can you send us a basic mockup of how it should look? Donna
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
 |

dimeco
User
Nov 24, 2008, 8:17 AM
Post #7 of 11
(1307 views)
Shortcut
|
|
Re: [Donna] category headlines with no articles
[In reply to]
|
Can't Post
|
|
Hi Donna - sorry, you probably saw it after I removed the code. I'll put it on a separate page and post it shortly with what its doing and how I'd like it to appear. Amber
|
|
|  |
 |

Donna
Staff
/ Moderator

Nov 25, 2008, 3:23 PM
Post #8 of 11
(1231 views)
Shortcut
|
|
Re: [dimeco] category headlines with no articles
[In reply to]
|
Can't Post
|
|
That's perfect, thanks Amber. :) Donna
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
 |

dimeco
User
Nov 27, 2008, 9:55 AM
Post #9 of 11
(1131 views)
Shortcut
|
|
Re: [Donna] category headlines with no articles
[In reply to]
|
Can't Post
|
|
Sorry, been tackling some other stuff., almost ready to go :) It occurred to me as I was finalizing some pages and I found this statement does exist: <!-- templateIf : $articleList$ eq "" --> <div class="summary">Sorry, no articles were found.</div> <!-- /templateIf --> This is what I was talking about changing... Could this "if" statement be changed, that "if" nothing appears, to NOT show the topic in the list?
|
|
|  |
 |

dimeco
User
Nov 27, 2008, 12:00 PM
Post #10 of 11
(1128 views)
Shortcut
|
|
Re: [dimeco] category headlines with no articles
[In reply to]
|
Can't Post
|
|
Okay. I finally got it "mostly" fixed/done LOL Still need a few tweaks/assistance. This is the only page you'll see it almost finished - and read through here so I can explain "what" I've done and what I want to do: The page is: http://advertising.thatsubject.com/index.php After the header, you'll see: - headlines (which I have to remove, it goofed lol) - headlines with summaries (which I will fix - this is another question though as per a tutorial you have) Below you see: Elsewhere in Related Topics... As you can see, those look choppy. I made them as the div tags that had been suggested in a tutorial, but I really don't like how it displays, if there are for example, no headlines. Below that, you'll see I *did* figure out (manually!) how to make the full headlines look okay. But any suggestions on how to make the related categories look okay? I do have a set template for each main category (top menu bar that starts with Articles:) so its not a "global" / related, I hard coded for that part. (Some of the tutorials confuse me Amber
|
|
|  |
 |

Donna
Staff
/ Moderator

Nov 28, 2008, 4:15 PM
Post #11 of 11
(1086 views)
Shortcut
|
|
Re: [dimeco] category headlines with no articles
[In reply to]
|
Can't Post
|
|
Hi Amber, Any HTML in our tutorials is just for example -- you can definitely change that however you want. Use tables, divs, lists... whatever you want, it's totally up to you. :) No real suggestions here (we're really not designers, so we don't have a lot of input on design) but the sky's the limit! I'd recommend designing how you want it to look external to Article Manager first, then add in the artman code after. :) Donna
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
|