Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Page & Category Menu Bars »

Bug? Atahualpa 3.3.3 Theme Options > Category Menu Bar


  #1  
Old May 16, 2009, 11:55 AM
Deahna
 
2 posts · May 2009
Germany, near Hanover
It seems I have found a bug. On my blog I use the category menu bar ordered by name. This works fine in 3.3.2. Yesterday I switched over to 3.3.3. Now the categories are ordered by ID whatever else I select.

I tried to figure out what is actually saved in the database table and found:
option_name: bfa_ata_sorting_cat_menu_bar
option_value: name
Now that looks quite right to me but my category menu bar is still sorted by ID. I checked several different browser and remembered to empty the cache, too. When I switch back to 3.3.2 the order is by name again.

Any idea where the problem is?

Deahna

Last edited by Deahna; May 17, 2009 at 02:26 AM. Reason: more info
  #2  
Old May 16, 2009, 07:42 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
Thank you for finding this. To fix it in 3.3.3 change in functions/bfa_hor_cats.php

if ( !function_exists('mycategoryorder') ) { $sort_order = "ID"; }

to

if ( !function_exists('mycategoryorder') AND $sort_order == "order" ) { $sort_order = "ID"; }
  #3  
Old May 17, 2009, 02:25 AM
Deahna
 
2 posts · May 2009
Germany, near Hanover
Thanks for your help, now my categories are ordered alphabetically again

Deahna
  #4  
Old May 17, 2009, 06:45 PM
darrenk
 
3 posts · May 2009
Possibly related? I want to order my category menu by 'order'. I am using the my-category-order plugin and selecting 'order' for 'Sort Category Menu Bar by' in the theme options. However it sorts by ID.
Any suggestions?
Thanks
Darren
  #5  
Old May 19, 2009, 09:57 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
It works for me for the (horizontal) category menu bar. It may not work for the WP default category widget. Perhaps a MySQL user permission issue? http://wordpress.org/extend/plugins/my-category-order/
  #6  
Old Jun 1, 2009, 09:46 PM
fromtheranks
 
149 posts · Apr 2009
Dev Env't: XP Pro SP3, IIS 5.1, MySQL 5.1, PHP 5.2.x, WP 2.7.1, Atahualpa 3.3.3, IE 7, FF 3.0.x
Quote:
Originally Posted by Flynn
Thank you for finding this. To fix it in 3.3.3 change in functions/bfa_hor_cats.php

if ( !function_exists('mycategoryorder') ) { $sort_order = "ID"; }

to

if ( !function_exists('mycategoryorder') AND $sort_order == "order" ) { $sort_order = "ID"; }
This fix works great! Thank you!! As background:

I have WP 2.7.1 and Atahualpa 3.3.3

I'd set up my Configure Header Area to include "%cats" as the last value in the string. I then went into Category Menu Bar and set Sort Category Menu Bar by: Name, and Sorting Order Category Menu Bar by: ASC.

At the moment I have just three Categories (I'm mid development and will be adding more), they are (in alpha order): Fundamentals (Cat =3), Management (Cat=4), Uncategorized (Cat =1).

When I sorted by ASC I got, horizontally, Management (Cat=4), Fundamentals (Cat=3), Uncategorized (Cat=1).

When I stored by DESC I got, horizontally, Uncategorized (Cat=1), Fundamentals (Cat=3), Management (Cat=4). Everything but, Fundamentals, Management, Uncategorized.

Clearly it was sorting by ID. ... After the above fix, problem solved.

Bookmarks

Tags
category bar menu, menu bar, menubar



Similar Threads
Thread Thread Starter Forum Replies Last Post
Atahualpa Theme Options not working. Art.ist Atahualpa 3 Wordpress theme 19 Mar 28, 2011 02:43 PM
[SOLVED] I have category bar options but no category bar ??? jankph Page & Category Menu Bars 2 Jul 7, 2009 08:44 AM
Bug: Atahualpa 3.0 Theme Options > Page Menu Bar bseppa Page & Category Menu Bars 5 May 9, 2009 09:59 PM
Cannot save any changes in Atahualpa theme options ssoszka Atahualpa 3 Wordpress theme 1 Apr 28, 2009 04:30 PM
Atahualpa 3.0 Theme Options > Page Menu Bar - Page Error on Save bseppa Atahualpa 3 Wordpress theme 9 Dec 12, 2008 06:35 PM


All times are GMT -6. The time now is 12:04 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.