DISQUS

CDC Studios: CDC Clean Archives

  • Ole · 3 years ago
    Thanks for the nice Clean AJAX Archives!
  • Kahil · 3 years ago
    The only thing that I think should be fixed is that when you have the page scrolled down and you click to have something expand, it automatically goes back to the top of the page and then you are forced to scroll back down. Is there a way to prevent that?

    Thank you,

    Kahil
  • Tal Galili · 3 years ago
    Great plugin - I will go to use it soon.
    Waiting and hoping for the next upgrades :)


    Tal.
  • matt · 3 years ago
    I have followed your instructions (installed the plugin, placed php call on the archive page, uploaded scripts and linked them in my header). The archive list shows up but without the accordian effect. All I know is that there are a couple of undefined classes:
    moo.fx.js line 57
    moo.fx.pack.js line 10
    .. though I doubt that that actually makes any difference.

    I had been using Hicksdesign style archives but was fed up with the scrolling too.
    Any ideas? Known bugs?

    Looks great on your site.
  • Kit · 3 years ago
    I'm having the same issue as Matt, above, after having followed the same steps. Just chiming in so I'll remember to come back and look for an update!
  • Chris · 3 years ago
    Are you using the archives on a page or on a standalone "archives.php" style page? I have had infrequent issues with people using pages generated by wordpress. I'll be releasing an update with a few new bug fixes that'll fix issues with IE 7 as well as really trying to nail down the pages issue (I still haven't encountered it here or on my test blog).
    If you can turn the plugin on and then let me take a look at it I'll try and resolve the issue for you.
  • Alex · 3 years ago
    Hi Chris, your plugin looks pretty impressive, but I'm a newbie so I really have no clue with the instruction. Where exactly do I have to put the javascript? In the archive.php of my theme? And do I have to put the javascripts in the js folder of my theme?

    I tried these already and activate the plugin but doesn't work so far.

    Sorry for these stupid questions, I appreciate your help.

    Alex
  • Chris · 3 years ago
    All you need to do is add the following to a new page (outside of wordpress) named archive.php : cdc_clean_archives()
    IF that doesn't work let me know and I'll email you for more information.
  • Alex · 3 years ago
    Thanks Chris for your answer, but it doesn't work, as a test I put the scripts in a "scripts" folder and created an archive.php file. Still not working.

    www.derfrison.com/archive.php

    I really appreciate your help

    Alex
  • Chris · 3 years ago
    Try making a copy of your themes page template and then renaming it archive.php and then put the required tag into the middle where the post portion should go.
    That should fix the issue. Send me an email via my contact page if you'd like me to do it for you. I'm currently trying to find a way around the wordpress not allowing php to be run in a post without requiring yet another plugin.
  • Juliano · 3 years ago
    Hello Chris,
    I'm having the same issue as Alex, but I managed to make the correct changes (at least I think I had). Nothing appears :(
    And I'm sure the "cdc_clean_archives.php" file is being loaded, because if you take a look at the source code of my archives page it shows the three js. calls:
    http://blog.ipbrasil.com/arquivos/
    Any ideas?
    I really would love to have your plugin working in my blog.

    Thanks,
    Juliano.
  • Chris · 3 years ago
    Here's the easiest solution I can give you.
    Go to your wp-content/templates/<template you="you" use="use">
    and copy the index.php file. Rename the copy to archive.php then delete the entire "post" div and replace it with this:
    <div id="archive"><h1>< ?php _e('Archives:'); ?></h1>

    Click any of the months below to see a list of the all posts from that month.




    < ?php cdc_clean_archives() ?>


    </div>
    Save that archive.php file in your root directory (http://yourdomain.com/archive.php)
    That should fix the issues perfectly.
    Let me know if there is anything else.
    </template>
  • Juliano · 3 years ago
    Hmm, I don't have a "wp-content/templates/", but a "wp-content/themes/" folder, and there isn't an index.php file in there...
    I noticed that the theme I'm using is a litle different from the default and classic themes, and maybe that's the problem. What I made was to take the index.php file from another theme, remove the "post" div and add the code you gave me, but that didn't work too.
    The odd thing is that I tried the srg_clean_archives before testing yours and it didn't work too... :(

    If I send access data to you (FTP and admin panel), would you take a look at this for me, please? I'm not in a hurry at all.

    I appreciate your help :)
  • Chris · 3 years ago
    That'd be fine Juliano. I'd be happy to take a look at it.
  • scart · 3 years ago
    hello, its not working to me either... is the plugins already fix?
  • Chris · 3 years ago
    Since Viper's done a much better version of this, I'm going to end development of it for now. It might end up integrated into the next big moodash release but likely it is done for good.
  • killercup · 3 years ago
    hello,
    i would like to integrate this great plugin in my theme - it's full of moo.fx!
    everything works fine, but there are no effects!
    the reason might be that i'm using the lite version of prototype. please have a look at http://web2.vs242109.vserver.de/index.php/archiv (my test blog) and i hope you can tell me how to have the same effect with prototye.lite :)
  • killercup · 3 years ago
    ok, i ve solved my problem. "indow.onload" does not work. ;)
  • enrico · 3 years ago
    hi

    i could exclude a category from the archive?

    how to?

    thnx
  • Chris · 3 years ago
    I'm not sure how you'd do that actually.