PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
spasticdonkey
RavenNuke(tm) Development Team


Joined: Dec 02, 2006
Posts: 1252
Location: Texas, USA

PostPosted: Sat Sep 26, 2009 9:18 am Reply with quote Back to top

In regard to:
Only registered users can see links on this board!
Get registered or login to the forums!


Just had a couple of questions regarding RN_MODULE_HEAD. I haven't had time to upgrade or play with the new distro as much as I would like, but I figure others may have these same questions...so,

With the introduction of RN_MODULE_HEAD is RN_MODULE_CSS still supported?
define ('RN_MODULE_CSS','mystyle.css');

and in this example it attempted to load the css from
themes/YOUR_THEME/style/

Is this where RN_MODULE_HEAD will look for css and js files?

Love the new wiki btw Smile
View user's profile Send private message
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2404
Location: Pennsylvania

PostPosted: Sat Sep 26, 2009 3:57 pm Reply with quote Back to top

RN_MODULE_HEAD will look in the root of your module.

RN_MODULE_CSS is still supported, and will load from the style folder within the theme.
View user's profile Send private message Visit poster's website
spasticdonkey
RavenNuke(tm) Development Team


Joined: Dec 02, 2006
Posts: 1252
Location: Texas, USA

PostPosted: Sat Sep 26, 2009 4:46 pm Reply with quote Back to top

excellent, thx Smile
spent some time today and think I'm catching onto the setup.
View user's profile Send private message
montego
Former Admin in Good Standing


Joined: Aug 29, 2004
Posts: 9071
Location: Arizona

PostPosted: Sun Sep 27, 2009 10:56 am Reply with quote Back to top

spasticdonkey, do keep the feedback coming, especially if there are ways to improve upon the Wiki documentation. Thanks!
View user's profile Send private message Visit poster's website
bdmdesign
Worker
Worker


Joined: May 11, 2009
Posts: 151
Location: Winsen/Luhe; Germany

PostPosted: Mon Oct 05, 2009 4:24 am Reply with quote Back to top

define ('RN_MODULE_CSS','mystyle.css'); <<--- where i must put this in ?

I tryed to load the osc.css its now in style and called catalog.css.

What must i do to load this css file?

Best Regards

Peter
View user's profile Send private message Visit poster's website
spasticdonkey
RavenNuke(tm) Development Team


Joined: Dec 02, 2006
Posts: 1252
Location: Texas, USA

PostPosted: Mon Oct 05, 2009 6:57 am Reply with quote Back to top

RN_MODULE_CSS is for module-level css, so insert in your module index
modules/Your_Module/index.php
something like:

Code:
if ( !defined('MODULE_FILE') )
{
   die("You can't access this file directly...");
}

require_once("mainfile.php");
$module_name = basename(dirname(__FILE__));
get_lang($module_name);
// To use Custom CSS in your RavenNuke Module
// place CSS file in themes/YOUR_THEME/style directory
// otherwise comment out
define ('RN_MODULE_CSS','your-css.css');
View user's profile Send private message
bdmdesign
Worker
Worker


Joined: May 11, 2009
Posts: 151
Location: Winsen/Luhe; Germany

PostPosted: Mon Oct 05, 2009 9:08 am Reply with quote Back to top

spasticdonkey wrote:
RN_MODULE_CSS is for module-level css, so insert in your module index
modules/Your_Module/index.php
something like:

Code:
if ( !defined('MODULE_FILE') )
{
   die("You can't access this file directly...");
}

require_once("mainfile.php");
$module_name = basename(dirname(__FILE__));
get_lang($module_name);
// To use Custom CSS in your RavenNuke Module
// place CSS file in themes/YOUR_THEME/style directory
// otherwise comment out
define ('RN_MODULE_CSS','your-css.css');


Thanx i will try it so.

Best Regards

Peter
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum