QUERU VINCENT wrote:
> Sorry if this question has been asked before by someone else, I am quite new
> to this list so I haven't read the older messages.
> 
> I noticed in the manual that there is a "mg_move_article" function that
> enables to move articles to another topic (this is very useful if you want
> to redesign your topic tree for example) but this feature doesn't seem to
> exist anywhere in the current Admin Site.
Yes, current Admin Site doesn't include support for many modern Midgard
features. We are working now on the new version of Admin Site. There is
no code available yet.

> That's not really a problem : I designed a very simple HTML form that
> simples passes the article and new topic ids to a small php script that
> calls the mgd_move_article function.
> 
> Unfortunately, that doesn't seem to work and I noticed in the manual that
> this feature is only available from the 1.4 versions of Midgard so here are
> my questions :
> 
> 1) I'm not sure which version of Midgard I am using right now (someone else
> installed it), is there an easy way to know it ?
Add small PHP statement into simple page:
<?php phpinfo(); ?>
and you'll find Midgard's version in output. If you see a list of
Midgard functions there, than your version supports all tree-related
functions (this feature -- list function names -- and tree management
was added at the same time). Tree management and object moving/copying
exist in Midgard since 1.2.6beta2.

> 2) When it says in the manual that a functionality needs the 1.4 version
> does this include the 1.4 beta versions too ?
Exactly, because final version of 1.4 doesn't released yet (scheduled
for September).

> 3) Would it be sufficient just to change the topic field in the article
> table in the database to move articles around ?
Yes, in most cases, there could be exclusions, I can't remember exact
variants.
 
--
Alexander

--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to