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 »

Category Menu bar options - scrolling clickable category marquee


  #51  
Old May 20, 2010, 09:58 AM
alfie
 
74 posts · Apr 2010
Long Island NY
Imilesw

I downloaded category- order. Tried the drag and drop re-ordering of categories and saved but when i returned to web site nothing changes. In addition to re-ordering i would like to maintain the bar menu at only one level which is about 6 categories but the plugin does not seem to have capability to limit category count. But first re-ordering does not work ???

Also tried the ATO count option to limit it to 6 but that also does not change anything???

WP 2.9.2, Atahualpa 3.4.6
php 5.1
  #52  
Old May 20, 2010, 11:36 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Did you download Category Order or My Category Order? If it was Category Order I would suggest trying My Category Order as this is more up to date.

To maintain the category bar level to only one just don't use any sub categories.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #53  
Old May 21, 2010, 08:46 AM
alfie
 
74 posts · Apr 2010
Long Island NY
Imilesw

I did download category order. I notice that My Category Order refers to sidebar and not the bar2 menu that i am using? Should i try it anyhow?

In regards to keeping bar level at 1, I am using sub-categories, it would take a big change to eliminate sub-categories and the number of categories would grow even larger.

Are you telling me that the count option does not work.
  #54  
Old May 21, 2010, 09:04 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
I would try My Category Order. As for the counts are you saying you have more than 6 levels of sub categories like the following? If you only have a bunch of categories with one level of subcategories under them then the count set at 6 would have no effect.

Category
SubCategory
SubSubCategory
SubSubSubCategory
SubSubSubSubCategory
SubSubSubSubSubCategory
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #55  
Old May 21, 2010, 01:29 PM
alfie
 
74 posts · Apr 2010
Long Island NY
On the subject of the count option, I presently have 14 categories, 1 has 3 sub category levels and a second has 2 sub category levels - all other are single category.
Rather than have you interpret each situation i would prefer to know the algorithm since it may change with time.

I will try the plug in my category order.
  #56  
Old May 21, 2010, 02:11 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
In your case alfie your setting the count limit to 6 does nothing since at the most you have 3 sub category levels. That count setting is used to limit the number of sub categories that show not the number of items within a category.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #57  
Old May 21, 2010, 02:30 PM
alfie
 
74 posts · Apr 2010
Long Island NY
I downloaded My category order and it worked very well. One down two to go.
Thanks, i now understand the limitations of the count option. It is related to sub categories.

I stll must find a way top limit the number of top level categories that are shown to prevent an excessive number of levels from appearing. I nowwhave two which is ok but there may be more.

Can you now see why i wanted the scrolling marquee.


Now for the bigee. Being able to modify the code when necessary. My experience has been with C, C++ and visual Basic (object oriented programming) It's hard for me to recall an incident where I was unable to modify code to accomplish my objectives. PHP is new to me but I've been able to navigate and make small changes. My problem is that i do not understand the architecture of wordpress/Atahualpa which is vital to knowing where the code canbe found to make the changes. The forums are good but there are cases, as you can see, where I am left to find my own solution. Without a good tutorial on wordpress/theme architecture, this task is extremely time consuming or almost impossible.

I'm considering opening a new thread on wordpress/Atahualpa troubleshooting and modification.
  #58  
Old May 21, 2010, 02:48 PM
paulae's Avatar
paulae
 
1,333 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
There are so many options made available without coding in Atahualpa, you may not need to do much coding. That said, you can simply open up any of the php files in the theme and see what's what. functons.php is sort of the nerve center of the theme, I guess.

The wordpress.org codex is full of information. I'm sure there are entire books on it too, although it's changing so fast, I'd think it best to stick with updated website tutorials.

You really shouldn't modify the Wordpress code itself unless you want real pain.
  #59  
Old May 24, 2010, 11:17 AM
alfie
 
74 posts · Apr 2010
Long Island NY
Hi Paulae

We meet again. We were also having a discussion in the thread "Themeframe fort other CMSs". We were discussing Wordpress Atahualpa Architecture and problem troubleshooting. You had just mentionbed that options may be saved in the wordpress DB. I browsed thru the wordpress DB and looked ion wo_options which I see acts as a scratch pad memory interface. Could not sdee many of the options used in the ATO.

An example is always the best way to navigate. If you have read the prior posts in this thread you would have seen a discussion on using a marquee for the bar2 menu in the header. Note that we were trying to trace the %cat option sandwiched between <marquee>%cat</marquee> which gave us some degree of success but in my case a scrolling marquee without any categories %cat. Where is %cat. How do i trouble shoot this problem. Note that Juggledaddy recommended adding some code which did not work. I have a feeling that if we attempted to troubleshoot this anomoly a great deal could be learned.

I've tried doing a great deal of seaching for tutorials on architecture and troubleshooting but I have found very little.
  #60  
Old May 24, 2010, 11:47 AM
paulae's Avatar
paulae
 
1,333 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
I'm a novice when it comes to database issues, so I'll defer to Juggledad's greater knowledge on that. I do know that many of the Atahualpa rows in the wp-option table, have the preface bfa.

I've installed a plugin called Marquee-Plus. I gave it a test message. I then used PHP to add it under the header image. I'm doing this just to show you how easy it can be to add functionality to Atahualpa without digging into the code.

In Atahualpa theme options, Style and Edit Header area, I pasted the following under %image:
Code:
<?php echo show_marqueeplus1(); ?>
.

You can see it in action: http://profilet.com

Last edited by juggledad; May 24, 2010 at 11:56 AM. Reason: changed tables to 'rows in the wp-option table'
  #61  
Old May 24, 2010, 04:20 PM
alfie
 
74 posts · Apr 2010
Long Island NY
Since you mentioned marqueeplus1 lets go one step further. Juggledad had recommended some code to display the categories instead of a text message and included the same echo line in the header bar config. Unfortunately it did not work and hung up the system. I had to restore by using a backup copy. No way to trouble without having the conventional breakpoint and watch tools?

Years ago when we had nothing more than DOS, we used print statements (similiar to echo - to troubleshoot) however with a web site - where do we print. would be nice if the echo statement could print to a footer line.

Troubleshooting seems to be a weakness in wordpress.
  #62  
Old May 24, 2010, 06:24 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
You can put echo statements in the code any where you want makIng sure to honor the php/HTML convention. I do it all the time.

what you don't seem to understand is that Wordpress is an application that is written in PHP and uses MySql for it's database. Go get a book about PHP and then read the wordpress documentation or it's code if you want to make major changes.

Maybe you should read about plugins and write one to do what you want, a Category Marquee. You can find lots of explanation on how to write plugins at wordpress.org and on the web, just do a google search. let us know when you have the plugin working.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #63  
Old May 25, 2010, 02:44 PM
alfie
 
74 posts · Apr 2010
Long Island NY
Juggledad

I have been at this application now for a few months. Never heard of php or Wordpress before that. My main objective was acting as an author and editor. I selected wordpress on a suggestion from a colleague who had read that it was a tool similiar to Visual Basic and C++ which minimized the need of the developer to write code and if a new requirement arose the forums provided a good source of information. However i found on occasion I had to make some minor changes in the wordpress code. This was acceptable.
I am jumping back and forth attempting to act as marketeer, author, editor and programmer and must assign my own priorities or I will get nothing done. I am trying to live with what exists in Atahualpa while continuing to improve on the WEB site with new plugins or simple coding changes if I can. To this extent I have been trying to use the forums as a tool. When I can get help I appreciate it and will show it by donations, in addition I have tried to help others who are experiencing problems that I have been lucky to overcome.
I say lucky because it is not always easy to know exactly where to look in the code in order to place an echo command or where on the theme the output can be displayed. As I said it would be helpful if the theme allowed a text box below the footer for troubleshooting and display.

Not understanding the architecture of wordpress + Atahualpa makes things more difficult. I can't tell you how many times I ask direct questions and find that I don't receive any feedback - when I repeat myself it becomes very awkward. (Hard to understand) I haven't as yet seen any books on this subject. I have primarily depended upon w3schools as a php learning tool. Apparently i may seem to be imposing by attempting to get help but I thought that was the purpose of the forums.

Just one more piece of information. I am eighty years old - I started on this project in an attempt to help my grandson get started on an application that would be suitable for him and which I could support. Sorry to make this a biography but at this point it may be easier for you to understand. I have tried to find a programmer to collaborate on this project but i find that most people have short term objectives and need that immediate pay check rather than a bundle down the road. So as you can see I'm trying to be superman - to accomplish anything I must establish priorities for each task. Yes I could attempt to write a category marquee plugin (which if necessary i can do without). I may not have too much time left so I have to use what i have prudently. To add to that I am still working full time.

My hope is to get this on line to be reviewed by some prospective investors so that I will have funds available to pass off the creation of a company to some young people while I remain in support as necessary.

" Now you know the rest of the story "
  #64  
Old May 25, 2010, 03:12 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
When one uses a free tool, one needs to work within the bounds of the tool. If one wants to change the way the tool works, one needs to be prepared to do a lot of work or to pay someone to do that work for them, no matter what age or what is motivating them.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #65  
Old May 26, 2010, 09:49 AM
alfie
 
74 posts · Apr 2010
Long Island NY
Juggledad

I do understand your message but as much as I tried to clearly explain my schedule and priorities I’m not quite sure if I got through. I understand that you are able and willing to solve the scrolling category marquee problem but for a price. You have also suggested that I read some books on php, which I have. However there are no books that discuss the internals of wordpress and Atahualpa integration – add to this mysql. I tried to ask some pointed questions during our dialogue to give me some insight as to how Atahualpa saves and retrieves the option data which I believe is related to the missing category data but for some reason no response was forthcoming. Obviously I can’t afford to go off on a long journey to re-invent the wheel. There appears to be several people who with little effort could save me a great deal of time with just a few words. This would make this task much easier and place it higher on my priority list. Without this knowledge there are many other tasks to complete first.

I’m not sure just what your business plan is but I must say that helping others to use your products successfully would place BFA in a position to share in the rewards of their users success and with this, open the doors for virtually unlimited consulting opportunities . To ask for a payment from those that are struggling appears to be self defeating. I don’t wish to appear unappreciative because that is not the case. I may not have completely understood what wordpress and Atahualpa was all about but at the present time I have taken that path and must stick with it. In doing that, while my knowledge increases I will try to stick with the mantra of “sharing and caring for others”
  #66  
Old May 26, 2010, 10:30 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
I just tried something and it worked for me in all browsers although IE didn't work as well but it did work.
  • I installed Marquee Plus
  • I put the php code for Marquee plus in place of %cats in the Configure Header Area box
  • I put %cats in the first box in Marquee Plus settings
  • I set the width for Marquee Plus to work with the width of my theme
All done and in my setup the links are clickable.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #67  
Old May 26, 2010, 12:43 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Alfie, I am a volunteer on this forum, Flynn is the developer and owner of the Atahualpa code. There are hundreds of request per week thak I 'could' get into and actually write the code/css and for many I do. Flynn made me a moderator because of the number of answers I've given. I am happy to give each forum member a small portion of my time, but when it starts to get too large, I have to bow out unless you want to hire me. If someone does hire me, they get my priority over answering questions on teh boards. People that have previously donated get a higher level of my support than someone who hasn't or promises to do so in the future.

We all have schedules and priorities, mine are not yours as yours are not mine.

I have several times thought about writting an in-depth guide to Atahualpa and wordpress, but I keep asking myself, how much time would I have to spend to do it correctly and then how much would I gain from it, ie would it be cost effective for me to do it. The answer so far has been 'no'.

Remember this is a free theme, the only way that Flynn will continue to develop it is if people give him donations. I keep answering questions because people donate to me.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #68  
Old May 26, 2010, 04:31 PM
alfie
 
74 posts · Apr 2010
Long Island NY
Imiles

Thanks for your interest, I will try to repeat your efforts. However, there is a certain amount of ambiguity in your post, please help me to clarify before i proceed.

Juggledad recommended some code several posts back- here it is below:
------------------------------
ok, here is a solution for you
1) get and install 'Marquee-Plus'
2) edit the plugin code Marquee-plus.php and replace line 19 - which is

HTML Code:
$marqueeplus_value_1 = html_entity_decode(get_option('marqueeplus_nrc_tex t1'), ENT_COMPAT);with

HTML Code:
$marquee_cat= '';
$categories= get_categories();
foreach ($categories as $cat) {
$marquee_cat .= $cat->cat_name.' - ';
}
$marqueeplus_value_1 = $marquee_cat; 3) add '<?php echo show_marqueeplus1(); ?>' to ATO->Style & edit HEADER AREA->Configure Header Area
4) edit the Marquee-Plus options:
a) set 'Text 1: Is Feed (Yes/No)?' to 'NO'
b) set 'Text 1: Direction (LEFT/RIGHT/UP/DOWN): ' to what ever you want
(leave width blank to go the full width of the page)
----------------------------
What were you referring to in place of %cats in ATO header config

IS IT THE HTML CODE ABOVE OR WAS IT
<?php echo show_marqueeplus1(); ?>
------------------------------

when you said you put %cats in the marquee plus settings are you referring to the Text1 box.

My width is the length of the screen which juggledaddy said a blank input would work.



I presently have reduced the number of categories so that i only have two cat bars. however since the app allows users to add categories (approved by the editor) I'm concerned that it can grow.

Thanks again, I await your reply before i proceed.
  #69  
Old May 26, 2010, 04:37 PM
alfie
 
74 posts · Apr 2010
Long Island NY
Juggledad

I understand completely and I do appreciate everything you have contributed. However if you are able to make a quick reply to a question that does not consume much of your time that would also be appreciated. I do hope that i can get this project going so that I can use your expertise in the future and share some of the rewards. In the meantime I will try to contribute by means of donations whenever i can.

Sincerely,

Alfie
  #70  
Old May 26, 2010, 04:41 PM
paulae's Avatar
paulae
 
1,333 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
Why can't you just use the PHP short code the plugin author suggests, and put that in the header configuration line? That's what I did...very simple.
  #71  
Old May 26, 2010, 05:31 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Here is my suggested procedure. To test this procedure do not mix with other procedures.
  • Get and Install Marquee Plus
  • In ATO->Style & edit HEADER AREA->Configure Header Area take out %cats and replace with
    HTML Code:
    <?php echo show_marqueeplus1(); ?>
  • Put %cats in the Text 1 box in the Marquee Plus settings
  • Do not edit any code with this suggested solution
  • You may have to adjust the height and width of Text Box 1 in the Marquee Plus settings to fit your menu layout

Quote:
Originally Posted by alfie
Imiles

Thanks for your interest, I will try to repeat your efforts. However, there is a certain amount of ambiguity in your post, please help me to clarify before i proceed...

Thanks again, I await your reply before i proceed.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #72  
Old May 27, 2010, 10:25 AM
alfie
 
74 posts · Apr 2010
Long Island NY
Imiles

I tried the changes you suggested and unfortunately they did not work?

The only item you did not specify was in marqueeplus1 plugin Is feed (yes/no) I tried with both

When I set it to Yes with all the other changes you recommended.

I observed an error: no such file or directory in marquee-plus.php line 207 I checked this out, it was implode("", file($ur");
A second error, "Invalid arguments passed in"

changing Isfeed to No I then observed no scroll marquee and no bar menus.

Removed all changes I'm back to a bar2 cat menu bar.

Puzzling, isn't it. But that's because we are using trial and error without understanding what we are doing. I'm a persistant son of a gun so I haven't given up yet (must pursue implode function) but for the moment i have to put on my editor hat.

Thanks for playing detective.

Alfie
  #73  
Old May 27, 2010, 10:32 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
line 207 should read
HTML Code:
	$feedeed = implode('', file($url));
you may want to reinstall it since it looks messed up (unless you made a typo)
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #74  
Old May 27, 2010, 03:53 PM
alfie
 
74 posts · Apr 2010
Long Island NY
It was just a typo.
  #75  
Old Jun 4, 2010, 02:13 PM
alfie
 
74 posts · Apr 2010
Long Island NY
addendum to thread on scrolling marquee.

I tried using all the recommendations suggested by imilesw on another computer having firefox and explorer browsers. Lo and behold I now saw the scrolling category browser. However the bar2 category menu still remained above the marquee. It appears that this is browser related, or in the case of the explorer browser one of the settings may have an effect.
I also tried different combinations of %bar2 and %cats in the ATO header config but the category bar menu did not disappear.

Can anyone provide any comments.


Alfie

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing category order in category menu bar, not in sidebar cat. list paulae Page & Category Menu Bars 13 Mar 30, 2011 06:36 PM
How do I highlight active category on a combined page & category menu bar? samij0 Page & Category Menu Bars 0 Mar 11, 2010 02:37 PM
[SOLVED] Category / Archive display problem with category menu bar madfab685 Page & Category Menu Bars 4 Jan 2, 2010 05:12 AM
[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.3.3 Theme Options > Category Menu Bar Deahna Page & Category Menu Bars 5 Jun 1, 2009 09:46 PM


All times are GMT -6. The time now is 01:37 AM.


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