I'm still a little confused with the WRAPS install and I was hoping someone could point me in the right direction. I dunno, I guess I'm an idiot.
I'm running the following system
Website URL:
http://localhost/xoopsXOOPS Version:
XOOPS 2.0.15
XOOPS Theme:
karate_redux_blue
XOOPS Template Set:
wraps
PHP Version:
5.1.6
MySQL Version:
5.0.24a-community-nt
Server Software:
Apache/2.2.3 (Win32) DAV/2 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_autoindex_color PHP/5.1.6
User's Browser:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; iebar; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50215; Avalon 6.0.5070; WinFX RunTime 3.0.50215; InfoPath.1)
I didn't have to do anything with .css files because my site is hard coded and I never used a style sheet. What I plan to do, if I can get this to work, is strip out all the header and footer info on each page, edit the links to /localhost/ and do the wrap.
I unziped the archive.
From /html/modules/wraps I moved /wraps to the /xoops/modules/ directory, so it's at /xoops/modules/wraps
I created a second directory called /whip_cream, so it's at /xoops/modules/whip_cream.
I moved the /xoops_trust_path to /xoops/xoops_trust_path.
Inside /xoops_trust_path is
/xoops/xoops_trust_path/modules
/xoops/xoops_trust_path/modules/admin
/xoops/xoops_trust_path/modules/class
/xoops/xoops_trust_path/modules/language
/xoops/xoops_trust_path/modules/language/english
/xoops/xoops_trust_path/modules/language/japanese
/xoops/xoops_trust_path/modules/main
/xoops/xoops_trust_path/modules/sql
/xoops/xoops_trust_path/modules/templates
/xoops/xoops_trust_path/wraps
/xoops/xoops_trust_path/wraps/whip_cream
All the files to be added are in /xoops/xoops_trust_path/wraps/whip_cream
(There is an index.html page with links to the rest of the pages. Although I'll have to figure out the relative path and change the links to that. Right now it links online to my website.)
I inserted into mainfile.php
AFTER define('XOOPS_URL', 'http://localhost/xoops');
define('XOOPS_TRUST_PATH','http://localhost/xoops/xoops_trust_path');
I cloned the templates, calling it 'wraps', and set the default template to 'wraps' in System Admin - Preferences.
Following the directions at
http://www.peak.ne.jp/xoops/md/news/index.php?page=article&storyid=354I inserted into class/smarty/xoops_plugins/resource.db.php
if ( !file_exists( $filepath ) ) {
$tplobj = $tplfile_handler->find( $tplset, null, null, null, $tpl_name, true);
if ( count( $tplobj ) ) {
return $cache[$tpl_name] = $tplobj[0];
}
}
I even cut n paste the entire script into resource.db.php.
I ended up getting this error
Error: Smarty error: [plugin] function smarty_resource_db_source() not found in /class/smarty/xoops_plugins/resource.db.php (core.load_resource_plugin.php, line 61)
When I go to Modules Admin I am not seeing 'WRAPS'. The only thing I see is an error
Module File for whip_cream Not Found!Module File for Not Found!Module File for Not Found!Module File for Not Found!Module File for Not Found!Module File for Not Found!
So, any idea what I did wrong? Im sure it's probably something easy.
Thanks
Frank
admin@franksrecipes.com