Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Members, groups and blogs pages broken/not working properly


gerikg
Participant

@gerikg

John James Jacoby the files are the same.

This line doesn’t work


@import
url(css/loader.php);

it will import css but not the php file.

I just added to the style.css

@import url(css/base.css);
@import url(css/directories.css);
@import url(css/settings.css);
@import url(css/components.css);

<?php
/* If there are any custom component css files inside the /custom-components/ dir, load them. */
if ( is_dir( 'css/custom-components' ) ) {
if ( $dh = opendir( 'css/custom-components' ) ) {
while ( ( $css_file = readdir( $dh ) ) !== false ) {
if( substr ( $css_file, -4 ) == '.css' ) {
echo "@import url(custom-components/$css_file);\n";
}
}
}
}

/* Now load the custom styles CSS for custom modifications */
if ( file_exists('css/custom.css') )
echo "@import url(css/custom.css);\n";
?>

I know it’s not the right way but it works…

Anyone know why the server won’t pull import the php?

Skip to toolbar