>>  Site Map >>  Forums >>  Themes

Forum module - topics in forum:



Themes - Theme discussion only, Have a theme you made wanna share it. you can post a link to it here or ask questions on making themes and theme issues.



black_enuff_violet theme help

Hi i am usinf nco 7.5 3.1 patched i just uploaded the black_enuff_violet theme I LOVE IT running into a little snag i think i have it but want to make sure. To so the right side blocks the read me says this

To get the right side blocks to show in sites using 3.1 patched find and comment out:
Code: :
}if ($index == 1) {
so it looks like this:
//if ($index == 1) {


and then uncomment:
Code: :
//if (defined('INDEX_FILE')) {
so it looks like:
if (defined('INDEX_FILE')) {

i am guessing this is in the theme.php file i found this

Code: :
//Without Patched 3.1
     if ($index == 1) {
     //With Patched 3.1
     //if (defined('INDEX_FILE')) {
   $tmpl_file = "themes/Black_Enuff_Violet/left_center.html";
   $thefile = implode("", file($tmpl_file));
   $thefile = addslashes($thefile);
   $thefile = "\$r_file=\"".$thefile."\";";
   eval($thefile);
   print $r_file;
   blocks(right);


do i delete where it says without patched 3.1 and the line under it and just add what the readme file says, or am i way off.
Thanks in advance






Real simple
Change:
Code: :
//Without Patched 3.1
     if ($index == 1) {
     //With Patched 3.1
     //if (defined('INDEX_FILE')) {
   $tmpl_file = "themes/Black_Enuff_Violet/left_center.html";
   $thefile = implode("", file($tmpl_file));
   $thefile = addslashes($thefile);
   $thefile = "\$r_file=\"".$thefile."\";";
   eval($thefile);
   print $r_file;
   blocks(right);

To:
Code: :
//Without Patched 3.1
     //if ($index == 1) {
     //With Patched 3.1
     if (defined('INDEX_FILE')) {
   $tmpl_file = "themes/Black_Enuff_Violet/left_center.html";
   $thefile = implode("", file($tmpl_file));
   $thefile = addslashes($thefile);
   $thefile = "\$r_file=\"".$thefile."\";";
   eval($thefile);
   print $r_file;
   blocks(right);







Awesome thank you Very Happy




Attention! You are currently viewing sitemap page!
We strongly suggest to look at original content

Search from web

Valid HTML 4.01 Valid CSS