• *Just realised that this got posted in the installation forum and should be in the “How to” forum. I’m sorry, i didn’t realise i was posting it here. I apologise, if any moderators are kind enough to move this for me that would be appreciated, thank-you.*

    Good morning all. I wondered if it is at all possible to get the optioncount of categories to display before the category?

    I know it is probably similar to these posts…
    https://www.ads-software.com/support/topic/32453
    https://www.ads-software.com/support/topic/33287

    However i’m not that great at php, and i’m not sure what you would have to change to make the posts apear like this…

    (10) Category 1
    (7) Category 2

    Anyhelp would be great, I have done a search, but was unable to find any other than the links i have posted. Thanks again.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Someone will hopefully have an answer, though this is a fairly specialized request.

    I just wanted to add that you should know that your sort order is only by name or ID number in ascending and descending order, so if your goal is to sort this list by the number of post counts, that’s an even more complicated, if even possible, request.

    Thread Starter sevenupcan

    (@sevenupcan)

    No that’s alright, I’m only wondering if it is possible to display the number of posts in a categorie on the left hand side of the text rather than the right. Thank you for your response. Hopefully someone will know.

    The post you referred to are not the same issue.

    You could modify the source code to change the order, or play around with the CSS as follows.
    ul li a {
    position: absolute;
    padding-left: 30px;
    }

    You may want to give the category list a unique ID, so that the CSS above will only apply to category list.

    Thread Starter sevenupcan

    (@sevenupcan)

    Good idea alphodide, I’ll try that. So your saying basically take the anchor tags out of it’s natural flow by using the absolute positioning, so that the “number of posts” falls behind hind it, making appear as if it is in front?

    Do you even need to ask? ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘getting the “optioncount” to display before the category’ is closed to new replies.