11
fibri
Re: The admin menu doesnt work (¿SmartSection+SmartObject?)
  • 2010/6/2 15:08

  • fibri

  • Just popping in

  • Posts: 14

  • Since: 2010/5/20


Hi, its not to manage articles, its to use the hack to use smartsection as a slidershow.

Whatever, thats not my porblem. My problem is that I cant enter the admin area, and I am the administrator of a very important webpage.

Thanks for your help aniway, im really in a critical situation.



12
fibri
The admin menu doesnt work (¿SmartSection+SmartObject?)
  • 2010/6/2 14:51

  • fibri

  • Just popping in

  • Posts: 14

  • Since: 2010/5/20


Hello everybody. Im in a critical situation.
I tried to install smartsection in my Xoops, but the sistem remind me with an error messagge that firstly I must install SmartObject.
When I proceeded to install this module (SmartObject) I just got a whitepage as answer , and now I cant access the admin area.
I activated the debug_mode through phpMyAdmin and this is the error report:
Notice: Undefined index: tag in file /modules/xlanguage/include/functions.php line 258

The code of this file is as follows:

function xlanguage_select_show($options null

    include_once 
XOOPS_ROOT_PATH."/modules/xlanguage/blocks/xlanguage_blocks.php";
    if(empty(
$options)){ 
        
$options[0] = "images";        // display style: image, text, select
        
$options[1] = " ";            // delimitor 
        
$options[2] = 5;             // items per line 
    

     
    
$block b_xlanguage_select_show($options); 
     
    
$content ""
    
$i 1
    if(
in_array($block["display"], array("images""text"))){ 
        foreach(
$block["languages"] as $name => $lang){ 
            
$content .= "<a href="".$block["url"].$lang["name"]."" title="".$lang["desc"]."">";
            if(
$block["display"] == "images"){ 
                
$content .= "<img src="".$lang["image"]."" alt="".$lang["desc"].""";
                if(
$block["selected"] != $lang["name"]){ 
                    
$content .= " style="MozOpacity.8opacity.8filter:Alpha(opacity=80);"";
                } 
                
$content .= "/>"
            }else{ 
                
$content .= $lang["desc"]; 
            } 
            
$content .= "</a>"
            if( ( 
$i++ % $block["number"] ) == 0){ 
                
$content .= "<br />"
            } 
        } 
    }else{ 


/** THIS IS THE LINE 258
        $content .= "<select name="".$block["tag"]."" 
THIS IS THE LINE 258*/ 
                

onChange="if(this.options[this.selectedIndex].value.length >0 )    { window.document.location=this.options[this.selectedIndex].value;}"
                
>"; 
        foreach(
$block["languages"] as $name => $lang){ 
            
$content .= "<option value="".$block["url"].$lang["name"].""";
            if(
$block["selected"] == $lang["name"]){ 
                
$content .= " selected "; 
            } 
            
$content .= "/>".$lang["desc"]."</option>"; 
        } 
        
$content .= "</select>"; 
    } 

    define("
XLANGUAGE_SWITCH_CODE", $content); 
    return true; 
}



Thanks for your help.



13
fibri
Re: News slider
  • 2010/5/20 10:50

  • fibri

  • Just popping in

  • Posts: 14

  • Since: 2010/5/20


Do you know any webpage that already implements this hack to check the result? Thanks for your time.



14
fibri
News slider
  • 2010/5/20 9:51

  • fibri

  • Just popping in

  • Posts: 14

  • Since: 2010/5/20


Good morning. Firstly I would like to thank you all for your superb work with Xoops. Unfortunately, I am a newbie willing to learn.

My aim is to add to my webpage a news slider. I have seen similar modules for platforms like joomla:

http://demo.joomlaworks.gr/

But I dont need something so powerfull. For me , something like :

www.nba.com
http://www.segoviaudaz.es/

would be more than enough.

Thanks a lot fo your time, and waiting for your reply.




TopTop
« 1 (2)



Login

Who's Online

203 user(s) are online (120 user(s) are browsing Support Forums)


Members: 0


Guests: 203


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits