![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
bleh sorry, was having a bad day, and i was trying to get everything setup before alexa crawled my site again
|
| |||
| Question on Categories.
I was wondering if there was an easy way to set your own order to the way the categories display in the menu. I thought about trying to set the cat number in the database but then I realized that they are in alfabetical order, so that wouldn't help. So is there an easy way to set my own order? Thanks. |
| ||||
| Sorting on category id instead of name Quote:
Code: $categories = mysql_query("select category_id, category_name, count(*) as count from links, categories where category_lang='$dblang' and category_id=link_category group by link_category ORDER BY category_name ASC");
If you change that to ORDER BY category_id ASC"); it will sort with the id number. Haven't tried it, but I guess it should work. BTW, I don't think it is a good idea to put this as a standard or an option in the MB template, because most don't like/know how to tinker with the database. But if you do, go ahead and try this one.
__________________ Like my work? Donations are welcome if you would like to support my work! Finger pliggin' good sites of mine: receptencocktail.nl / numarketing.nl / goboz.com Last edited by beatniak; 06-07-2006 at 01:33 PM.. |
| |||
|
Thanks, that worked . I had to do a little fixing of the colors and cat_id numbers to get it the way I wanted, but it did the trick. After playing with it a bit, I see what you mean that it shouldn't be an option in the template. At least like that. If there was a way to just open some admin panel and select the order and color for the categories, that would be the only way to put it in a template or source. I'm sure thats way down the road on the priority list since it probably wouldn't be an easy patch. Thanks again for your help. You are always quick to respond. |
| ||||
| Quote:
__________________ Like my work? Donations are welcome if you would like to support my work! Finger pliggin' good sites of mine: receptencocktail.nl / numarketing.nl / goboz.com |
| |||
|
i cant remember the name of the original code (starts with an m.... the spanish one) they have sub categories, and i notice there is a sub category button in the category section. will that be added sometime soon?
|
| |||
|
I guess this is a template issue... if not, admins are welcome to move it. I'm really happy with the 7.2 / 1.3 Mollio combination now. See what I've done with it at http://homomojo.com/proto Anyway, on submit step 3 the users are getting confused and trying to vote for the topice before hitting "submit". How can I get rid votebox on that page? All I want is the description text for verification purposes. Any help would be appreciated.... I am rolling out the site this weekend. |
| ||||
| Quote:
(I'm comparing the config.php in Pligg beta 7.2 here, with the config.php in Mollio-Beat 1.3 here, all downloaded this morning.) Under "// Submitting a new story / link" Code: define('Submit_Show_URL_Input', true); // This should only be set to false if the a 'Submit_Require_A_URL'
Code: // The story page
// This is for the "you last viewed this page X minutes ago"
define('enable_show_last_visit', true); // True = On / False = Off
//define('default_show_last_visit', true); // The default value. Can be changed (eventually) via the profile page.
// ---
Code: define('Default_Gravatar_Large', '/img/Gravatar_25.jpg');
define('Default_Gravatar_Small', '/img/Gravatar_15.jpg');
Code: //Comment Order $CommentOrder = 2; // 1 = Top rated comments first // 2 = Oldest comments first // --- Code: //Recommend a Story
define('Enable_Recommend', true); // true / false
define('Recommend_Type', 1);
// 1 = AJAX method
// 2 = Open new page for recommending // NOT READY YET
define('Email_Subject', "Pligg.com story: "); // the story title will be added to the subject.
define('Default_Message', "I thought you might like to see this.");
define('Included_Text_Part1', "Pligg.com user ");
define('Included_Text_Part2', " would like to share this story with you: ");
define('Send_From_Email', "pligg@pligg.com");
Last edited by jackdaw; 06-10-2006 at 09:18 AM.. |
| |||
|
Hi, I compared the config.php of 7.2 and that provided by MB 1.3 and there are some differences. For example, Recommend a Story is not in the MB one and neither is comment order. MB also doesn't have a default gravatar set or enable show_last_visit on the story page. Was this done on purpose because the MB template doesn't make use of these items? This isn't a complaint, I'm just curious. |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| MacBlue Free Pligg Template by Yankidank | Yankidank | Pligg Templates | 13 | 11-10-2008 05:37 PM |
| How to upgrade modified mollio beat from beta8 to bet9 | lauris | "Mollio-Beat" | 4 | 01-28-2007 02:07 AM |
| Cannot vote with Pligg B7.2 and Mollio Beat template. | luckyclover | Installation and Upgrade Help | 8 | 09-06-2006 11:50 PM |
| Release: Mollio-Beat Template 1.1 | beatniak | "Mollio-Beat" | 42 | 08-23-2006 06:40 AM |
| Release: Mollio-Beat Template 1.0 | beatniak | "Mollio-Beat" | 60 | 05-10-2006 10:17 PM |




Linear Mode

