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 » Header configuration & styling »

[SOLVED] Ordering the rotating headers


  #1  
Old Jun 8, 2010, 09:18 AM
reklaw
 
4 posts · Jun 2010
Hi, I would like to specify the order that the header images load and rotate on my website. I tried to follow the instructions from this blog post to no avail. Here is a link to my site so you can see what I am trying to do- I am trying to get the colored evolution sequence from left to right.

Has anybody already found a solution for this? Thank you, Brian
  #2  
Old Jun 8, 2010, 09:34 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Name the images image1.jpg, image2.jpg etc
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Jun 8, 2010, 09:35 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
It looks like you don't have your images named sequentially. The should be something like 1-header.jpg, 2-header.jpg, 3-header.jpg, etc. in the order you want. You have lm1red.jpg, mh6.jpg, 6mh6.jpg. Thus the rotato doesn't know what order you want.
__________________
~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.
  #4  
Old Jun 8, 2010, 09:36 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Ooops... I was too slow.
__________________
~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.
  #5  
Old Jun 8, 2010, 11:17 AM
reklaw
 
4 posts · Jun 2010
Thanks for the help guys, but even when I name them sequentially, there seems to be no reason to the order. But, the order does repeat itself. Very weird.
  #6  
Old Jun 8, 2010, 02:40 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
which settings for the header images are you using?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old Jun 8, 2010, 05:47 PM
reklaw
 
4 posts · Jun 2010
My header settings are-1 sec js rotation, 1 sec fade, no preload js, no clickable, 175 ht, top-center, no for the rest. Also, my images are named image01.gif-image13.gif.
  #8  
Old Jun 8, 2010, 08:03 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Try turning off the fade code
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #9  
Old Jun 9, 2010, 05:23 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
do you know what server your site is running on? is is linux or something else?

could you try this. Edit bfa_m_find_in_dir.php (it's in the functions folder) and find line 36 (in version 3.5.1) which should be
HTML Code:
    closedir( $dh );
and change it to
HTML Code:
    sort($file);
    closedir( $dh );
it seems that the php 'readdir' functions returns the files in the directory
Quote:
...in the order in which they are stored by the filesystem.
I'm thinking your server doesn't store them by name, maybe by date. Hopefully this will fix it.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #10  
Old Jun 9, 2010, 07:40 AM
reklaw
 
4 posts · Jun 2010
Thank you for the reply Juggledad, I tried your suggestion and edited the php file, but I could not get the files ordered. To see if the server was storing the photos chronologically, I deleted the files from the header folder and re-uploaded them one at a time. Still no order.

I found a solution that allows me a little more control- I made an animated gif in photoshop. The one drawback is that I can't seem to get the frames to fade in and out so I am still interested to a solution to this problem if someone comes across it. Thanks again, Brian
  #11  
Old Jun 9, 2010, 07:42 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
How about a slideshow plugin. I think some of them allow for random or sequential ordering.
__________________
~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.
  #12  
Old Jun 9, 2010, 09:19 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Brian,
can you put back in the iages and if you are willing, could you send me a PM with an admin id and PW so I can take a look and maybe do some debugging. I can't recreate it on my system so I need to test where it is a problem.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #13  
Old Jun 10, 2010, 06:59 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
I added a piece of code and it seems to be working, but your images need to be renamed. If you hafe 1.jpg, 2.jpg 3.jpg, 11.jpg and 22.jpg and sort them, you will get
1.jpg, 11.jpg, 2.jpg, 22.jpg, 3.jpg
you would have to call them 01.jpg, 02.jpg 03.jpg, 11.jpg and 22.jpg

The easiest thing is to call them image-01.jpg, image-02.jpg etc.

Please rename the images and see it it works now.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Jun 10, 2010 at 02:40 PM.
  #14  
Old Jun 14, 2010, 10:51 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
see 'BUGFIX 351-02: Header images not showing in sorted order'
http://forum.bytesforall.com/showthread.php?t=7577
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cache and rotating images headers! Ponics Header configuration & styling 8 Dec 31, 2010 02:30 AM
[SOLVED] Ordering pages for horizontal nav bar and adding space before and after the cjceer Page & Category Menu Bars 2 Nov 6, 2009 09:29 AM
Ordering items in a combined page & posts menu bar blueplanet Page & Category Menu Bars 1 Oct 22, 2009 05:52 AM
[SOLVED] Links re-ordering by date of insertion cactus02 Sidebars & Widgets 3 Oct 2, 2009 06:22 AM
Category ordering in widget pminner Sidebars & Widgets 2 Mar 15, 2009 07:37 AM


All times are GMT -6. The time now is 05:38 AM.


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