menu déroulant:un nouveau plugin tout css

  • Statut : non résolu
15 sujets de 1 à 15 (sur un total de 18)
  • Auteur
    Messages
  • #451091
    medianet
    Membre
    Chevalier WordPress
    118 contributions

    Bonjour,

    j’ouvre un nouveau sujet car la solution trouvée dans le sujet précédent faisait appel à un peu de javascript tandis que ce nouveau plugin fait tout en css et est compatible avec à peu près tous les navigateurs…( lien vers le plugin: http://www.tenterhooks.mbmontessori.com/archives/13 )

    cependant, comme d’habitude, j’éprouve qqs difficultés à obtenir le résultat escompté: voici l’erreur qui est affichée

    *
    
    WordPress database error: [Table ‘fdesperriers.l2c’ doesn’t exist]
    select c.category_parent, c.cat_name, c.link_count, c.cat_ID , u.display_name, l2c.link_id , l.link_url, l.link_name, l.link_target, l.link_rating, l.link_description, l.link_rel from pa_categories c left join l2c on c.cat_ID = l2c.category_id left join pa_links l on l.link_id = l2c.link_id left join pa_users u on l.link_owner = u.ID where l.link_visible = “Y” order by category_parent, cat_name, link_name

    qq’un aurait-il la patience de m’indiquer une voie de recherche car je coince un peu…?

    lien vers le problème: site en développement

    #595370
    muskokee
    Membre
    Initié WordPress
    7 contributions

    Bonjour,

    I do not speak french but I can read it a “peu”.

    I am the author of the plugin webdezine css drop menu.

    The warning is for the “link2cat” table. link2cat . You must not have this table?

    What tables do you use for your blogroll?

    Sheri

    From Canada

    #595371
    medianet
    Membre
    Chevalier WordPress
    118 contributions

    sorry Sheri for my english!

    i’m a newbee for wordpress but i try to understand many things with the help of the french wordpress dream team:D

    my blogroll was empty…i’ve added a link
    i don’t see what you mean..sorry!

    perhaps someone here in the forum can help me…

    francois

    #595372
    muskokee
    Membre
    Initié WordPress
    7 contributions

    Francois,

    If you cannot find help here please leave a comment on the plugin page and we can find our way through the language barrier. (my daughter is very good with French!).

    Best,
    Sheri

    #595373
    Fran6
    Participant
    Chevalier WordPress
    107 contributions

    Je peux peut-être vous aider ?? Hi Sheri, I’m gonna try to help you !!! 😉

    François, Sheri voudrait savoir si tu as la table “link2cat”, c’est elle qui semble poser problème… En fait, il semblerait que tu ne l’aies pas et Sheri te demande ce que tu utilises comme tables dans ta blogroll…

    Good luck guys !! I”ll stay around !!

    #595374
    medianet
    Membre
    Chevalier WordPress
    118 contributions

    merci vieux!!

    en fait je comprends l’anglais mais pas la langue “php/code/developper/c++…”:boulet:

    donc les termes de “table” etc sont pas loin d’être du chinois pour moi…

    je vais essayer de chercher ce que tout cela peut bien vouloir dire!

    merci beaucoup pour ton aide!
    thanks for your help!

    francois

    #595375
    medianet
    Membre
    Chevalier WordPress
    118 contributions

    link2cat

    je suis allé voir dans phpmyadmin chez mon hébergeur free voir si j’avais une table du style wp-link2cat..
    je n’ai pas trace de cette table dans aucun de mes 3 blogs wordpress..

    j’ai ceci: pa_linkcategories pa_links

    normal?
    je cherche au bon endroit?

    merci !

    #595376
    medianet
    Membre
    Chevalier WordPress
    118 contributions

    linkcategories pour wordpres 2.0xxx
    link2cat pour wordpress 2.1 ???

    ce ne serait pas cela par hasard mon problème??

    trouvé sur ce site peut être la confirmation:

    Thanks to quickonlinetips.com – which, no offense, sounds more like a trojan spider page than the neat helper that it has gracefully been to me when I was desperate – I quickly found out that “Developers using the former linkcategories table should be aware that link categories are now part of categories.”

    any solution??
    francois

    #595377
    muskokee
    Membre
    Initié WordPress
    7 contributions

    I believe it is a version issue. Looks like your version of wordpress calls the table ‘linkcategories’ while the new versions of wordpress call the table ‘link2cat’.

    See this post from wordpress http://wordpress.org/development/2006/12/naughty-or-nice/

    #595378
    medianet
    Membre
    Chevalier WordPress
    118 contributions

    wowww!

    at the same time..!!

    thanks for your help!

    no chance for me..

    #595379
    muskokee
    Membre
    Initié WordPress
    7 contributions

    maybe you have a chance;) what information is stored in the ‘linkcategories’ table? if it is exactly the same info then i can just right another plugin to be compatible with version 2.0

    #595380
    medianet
    Membre
    Chevalier WordPress
    118 contributions

    i can’t help you but i found this :

    Umm, okay. So I replace every ->linkcategories with categories. I have to take out auto_toggle because it doesn’t exist anymore. I have no time to look into it further, whether it’s an option or not so I just leave it behind for now.

    $results = $wpdb->get_results(“SELECT cat_id, cat_name FROM $wpdb->categories ORDER BY cat_id”);

    I also commented the following lines out:
    # if (‘Y’ == $row->auto_toggle)
    # echo ‘ (auto toggle)’;

    it’s for the feedworpress plugin but with chance…anything could be possible…

    #595381
    muskokee
    Membre
    Initié WordPress
    7 contributions

    If you put this into your template (at the bottom would be fine) then you can see the types if information you have in the tables. Upload the template and refresh the screen. If you could post the results here that would be great. Then I could customize the plugin for your version.

    <?php
    echo '<div><pre>';
    $link_cat_egor_ies = $wpdb->get_row('select * from '.$wpdb->linkcategories);
    print_r($link_cat_egor_ies);
    $cat_egor_ies = $wpdb->get_row('select * from '.$wpdb->categories);
    print_r($cat_egor_ies);
    $l_i_n_k_s = $wpdb->get_row('select * from '.$wpdb->links);
    print_r($l_i_n_k_s);
    echo '</pre></div>‘;
    ?>

    #595382
    medianet
    Membre
    Chevalier WordPress
    118 contributions

    tada…

    stdClass Object
    (
        [cat_id] => 1
        [cat_name] => Blogroll
        [auto_toggle] => N
        [show_images] => Y
        [show_description] => N
        [show_rating] => Y
        [show_updated] => Y
        [sort_order] => rand
        [sort_desc] => N
        [text_before_link] => [text_after_link] =>
    # [text_after_all] =>
    
        [list_limit] => -1
    )
    stdClass Object
    (
        [cat_ID] => 1
        [cat_name] => une
        [category_nicename] => non-classe
        [category_description] => 
        [category_parent] => 0
        [category_count] => 9
    )
    stdClass Object
    (
        [link_id] => 19
        [link_url] => http://www.yakaz.fr/
        [link_name] => Yakaz
        [link_image] => 
        [link_target] => 
        [link_category] => 2
        [link_description] => Yakaz – Petites annonces gratuites
        [link_visible] => Y
        [link_owner] => 1
        [link_rating] => 0
        [link_updated] => 0000-00-00 00:00:00
        [link_rel] => 
        [link_notes] => hardcode name: no
    hardcode description: no
    hardcode url: no
    update/hold: scheduled
    cats: immobiliernappartement
    feed/title#: 1
    feed/title: Yakaz
    feed/link#: 1
    feed/link: http://www.yakaz.fr/
    feed/description#: 1
    feed/description: Yakaz – Petites annonces gratuites
    feed/pubdate#: 1
    feed/pubdate: Sat, 24 Feb 2007 11:19:42 +0100
    feed/ttl#: 1
    feed/ttl: 90
    feed/tagline#: 1
    feed/tagline: Yakaz – Petites annonces gratuites
    feed/subtitle#: 1
    feed/subtitle: Yakaz – Petites annonces gratuites
    feed/id: http://yakaz.fr/rss/_C=eJxNjcsKwjAQAPdTQk8NXrJ5bVaKoHhW8AdCKbUWQooSX6j9uB1ZmBigusD4itDmqdbgXgHsT8dRZuWYds2h7F5lFo1Eo1UpwvVfRlzmUX0Cj7TX!gCzrQCpY8fRJUpMn9ow4VOyYpIQ6wQWd94GACsmVvmb33qDEhhxph1R1fVl4A6stK8Q_&pg=1
    update/last: 1173536277
    update/ttl: 90
    update/timed: feed
    
        [link_rss] => http://yakaz.fr/rss/_C=eJxNjcsKwjAQAPdTQk8NXrJ5bVaKoHhW8AdCKbUWQooSX6j9uB1ZmBigusD4itDmqdbgXgHsT8dRZuWYds2h7F5lFo1Eo1UpwvVfRlzmUX0Cj7TX!gCzrQCpY8fRJUpMn9ow4VOyYpIQ6wQWd94GACsmVvmb33qDEhhxph1R1fVl4A6stK8Q_&pg=1
    )

    thanks very much for your help!!

    #595383
    muskokee
    Membre
    Initié WordPress
    7 contributions

    Thanks for the info. I am just in the middle of another plugin but I will get to this later tonight. I’ll repost here when the plugin for your version is available!

15 sujets de 1 à 15 (sur un total de 18)
  • Le forum ‘Utilisation spécifique de WordPress’ est fermé à de nouveaux sujets et réponses.