Menu

#81 Ver. 1.2 Categories conversion script fixed

Core Module
closed-accepted
Code/Logic (73)
5
2007-07-19
2007-06-25
Eloi George
No

The Categories conversion script has a few bugs, namely that the generated links point to the Menu Manager conversion script, sometimes doesn't include the "ignore=1" parameter, & it doesn't import the associated images.

Attached is a script ("conversion_patch.txt") that corrects both those problems.

However there is another problem, though. The script completely ignores 3rd-Party module items. To import Article Manager items, I created a function that can be included in the base Convert class, if you like.

This way the conversion process can be made more intuitive. FatCat categories can be converted *before* the category-using modules & each module can easily convert their own item categorizations. The function is attached as ("category_item_conversion_function.txt").

Discussion

  • Eloi George

    Eloi George - 2007-06-25

    Proposed convertCategories function

     
  • Eloi George

    Eloi George - 2007-06-25

    Logged In: YES
    user_id=619893
    Originator: YES

    File Added: conversion_patch.txt

     
  • Eloi George

    Eloi George - 2007-06-25

    Patch to /convert/modules/categories/convert.php

     
  • Eloi George

    Eloi George - 2007-07-04
    • labels: --> Code/Logic
    • milestone: --> Core Module
    • summary: Categories conversion script fixed --> Ver. 1.2 Categories conversion script fixed
     
  • Eloi George

    Eloi George - 2007-07-04
    • assigned_to: nobody --> stardog
     
  • Anonymous

    Anonymous - 2007-07-19

    Logged In: YES
    user_id=400519
    Originator: NO

    I have added your patch to svn. Thank you. I am adding the second file in its current text format. Let me know if you want to add more usage information.

     
  • Anonymous

    Anonymous - 2007-07-19
    • status: open --> closed-accepted
     

Log in to post a comment.

MongoDB Logo MongoDB