11
WOOHOO!!!!, I think i have fixed the templates not generating issue if article is installed with redmexico gui/rmcommon
In xoops_version.php I replaced:
le="color: #000000"><?php if ($isModuleAction) { include_once dirname(__FILE__) . "/include/functions.render.php"; $modversion["templates"] = art_getTplPageList("", true); }
with:
le="color: #000000"><?php $modversion['templates'] = array(); $modversion['templates'][1] = array( 'file' => 'article_archive.html', 'description' => 'archives' ); $modversion['templates'][] = array( 'file' => 'article_article.html', 'description' => 'article page' ); $modversion['templates'][] = array( 'file' => 'article_author.html', 'description' => 'authors' ); $modversion['templates'][] = array( 'file' => 'article_category.html', 'description' => 'categories' ); $modversion['templates'][] = array( 'file' => 'article_cparticle.html', 'description' => 'article cpanel' ); $modversion['templates'][] = array( 'file' => 'article_cpcategory.html', 'description' => 'category cpanel' ); $modversion['templates'][] = array( 'file' => 'article_cptopic.html', 'description' => 'topic cpanel' ); $modversion['templates'][] = array( 'file' => 'article_directory.html', 'description' => 'directory' ); $modversion['templates'][] = array( 'file' => 'article_inc_category.html', 'description' => '' ); $modversion['templates'][] = array( 'file' =>'article_inc_sponsor.html', 'description' =>'sponsor text' ); $modversion['templates'][] = array( 'file' =>'article_inc_topic.html', 'descrition' =>'' ); $modversion['templates'][] = array( 'file' =>'article_index.html', 'description' =>'article index page' ); $modversion['templates'][] = array( 'file' =>'article_index_blog.html', 'description' =>'blog layout' ); $modversion['templates'][] = array( 'file' =>'article_index_list.html', 'description' =>'list layout' ); $modversion['templates'][] = array( 'file' =>'article_index_news.html', 'description' =>'news layout' ); $modversion['templates'][] = array( 'file' =>'article_item_blog.html', 'description' =>'bloglayout item' ); $modversion['templates'][] = array( 'file' =>'article_list.html', 'description' =>'list of articles' ); $modversion['templates'][] = array( 'file' =>'article_search.html', 'description' =>'search page' ); $modversion['templates'][] = array( 'file' =>'article_topic.html', 'description' =>'topic page' ); $modversion['templates'][] = array( 'file' =>'article_topics.html', 'description' =>'topics' );
and the templates now generate evn if redmexico gui/rmcommon is installed.
Hmm, maybe im not too bad at this programming thing afterall.
Result:

Well with that fixed now it just leaves the other bugs and uneeded features.