Re: Almost converted

Posted by Northern on 1256583579
Most of what you see is a out sourced file, as in i have a blank xoops page that if calling a file,
<?php if (file_exists("mainfile.php")) { include("mainfile.php"); } elseif(file_exists("../mainfile.php")) { include("../mainfile.php"); } else { include("../../mainfile.php"); } include(XOOPS_ROOT_PATH . "/header.php"); $xoopsTpl->assign('xoops_showrblock', 0); // 1 display right blocks $xoopsTpl->assign('xoops_showlblock', 0); // 1 display right blocks include_once "../old/files/index.php"; include(XOOPS_ROOT_PATH . "/footer.php"); ?>


Rather basic.
The plus to this is its SEO.
Quote:

http://www.greasedknuckles.com/engines/diesel.php


but the down side, its not in the sitemap, or automaticly in the menu. these have to be added in, also, none of the mods can fix any error if they need to, sense its all done on the back end.
This will have to do till i finish a set of modules.
Then i will have not so friendly url's, but they can be fixed.
Quote:

http://www.greasedknuckles.com/modules/engines/diesel.php



Its just a matter of time.
Ive just about got the engines module done, once its finished and tested, ill clone it for a few others like Transmissions, Manufactures, Service Notes, Check Engine, ect.

This Post was from: https://www.impresscms.org/iforum/viewtopic.php?topic_id=3742&post_id=33946