Is There a Way to Change the Order of the Categories?

freecashpro

Professional Web Developer & Coder
Hello,

I apologize for all the noob questions but I'm excited over this new script and I'm trying to tweak a few things so that I can get this first install perfect ;) Yes, I am making good headway getting through the support documentation but I'm not seeming to run into an answer for this one:

Below are the many initial categories I have chosen and I guess they seem to be occurring in alphabetical order (unless I'm mistaken) but I really hate the idea of the default category (when people go to register) being "CPA / Affiliate Networks Only" when I know (from experience with my other aardvark list) that most of the sites that will be listed will actually be "Get Paid To (GPT) Sites Only" and I know (again from experience) that some new list members will forget to select a category hence I'll end up with a whole bunch of misclassified sites unless I manually go in there and correct them.

Also, just for aesthetics there are certain categories that are more important to this list while other are more 'filler' categories.

Is there some way I can go in and order the categories as I please? I already took a look at the database and I'm not seeing any order index fields for these.

I did just have an epiphany that perhaps I should go back and add numbers [like 1) and 2) and so forth] to the front of the category names and maybe that would take advantage of the alphabetical tendencies of the list order (?) But is there a better way?

Thanks!

Screen Capture #833 - \'GetPaidTo_org Top Site List - Rankings - All Sites\' - www_getpaidto_org.png
 

freecashpro

Professional Web Developer & Coder
Ok, I guess I solved my own problem (unless there's a better way?) I just numbered my categories in the order of my preference :cool: Here's me off to a good start (lol) But still, I wish there was a better way...
Screen Capture #834 - \'GetPaidTo_org Top Site List - Rankings - All Sites\' - www_getpaidto_org.png
 
Last edited:

freecashpro

Professional Web Developer & Coder
Ok, that wasn't that bad (wink) I ended up reducing the display font for cosmetic purposes.
Screen Capture #835 - \'GetPaidTo_org Top Site List - Rankings - All Sites\' - www_getpaidto_org.png
 

Mark

Administrator
Staff member
Another option:

You can manually make a static list of your categories and paste the HTML code into wrapper template instead of relying on the dynamic category list.

So basically remove this tag from wrapper: {$category_menu}

and add the static links like so (you can view source on your page to get the exact block of code):

Code:
<ul class="category_menu">
 <li><a href="/path/to/category/">Category name here</a></li>
 <li><a href="/path/to/category/">Category name here</a></li>
 <li><a href="/path/to/category/">Category name here</a></li>
 <li><a href="/path/to/category/">Category name here</a></li>
 <li><a href="/path/to/category/">Category name here</a></li>
 <li><a href="/path/to/category/">Category name here</a></li>
</ul>
that is how I usually handle it anyway :)
 

freecashpro

Professional Web Developer & Coder
Another option:

You can manually make a static list of your categories and paste the HTML code into wrapper template instead of relying on the dynamic category list.

So basically remove this tag from wrapper: {$category_menu}

and add the static links like so (you can view source on your page to get the exact block of code):

Code:
<ul class="category_menu">
<li><a href="/path/to/category/">Category name here</a></li>
<li><a href="/path/to/category/">Category name here</a></li>
<li><a href="/path/to/category/">Category name here</a></li>
<li><a href="/path/to/category/">Category name here</a></li>
<li><a href="/path/to/category/">Category name here</a></li>
<li><a href="/path/to/category/">Category name here</a></li>
</ul>
that is how I usually handle it anyway :)

Ah, ok, that never really dawned on me... great suggestion - I will do it that way (and that way I have a hell of a lot more space saving options for the display as well) Awesome!
 

freecashpro

Professional Web Developer & Coder
You know, and I'm rethinking adding the 'facebook groups' category (lol) But I guess I could possibly put the ranking code (just the elements) in a facebook post and then tag it to the top of the group post list (lol) Anyone ever try this?
 

Basti

Administrator
Staff member
If you want members which site urls are facebook.com sites, make sure you either do a simple plugin to output a new button code on the link code page, or which also works, simply paste it into link_code.html

Something along the lines of this
Code:
Facebook voting code 
<br />
<textarea readonly="readonly" name="code" rows="6" style="width: 90%;" onclick="select_all();">{$list_url}/index.php?a=in&u={$button_username}</textarea>
<hr />
 
Top