test
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • splifen Friend
    #164039

    How can i change the black background-color to forexampel a grey color?
    Where do i find the css file?

    Best Regards Kenneth

    http://www.byggeoplevelser.ceciliavej.dk/

    chavan Friend
    #391393

    There are only 2 color schemes light and dark.

    so we have to do some custom code. please try the following.

    Step1: set the Color Scheme to light in the Extension -> module manager -> facebook like box module edit page

    Step2: you need to create a param, where you must enter your Color Code

    For making this Param Go to this file modulesmod_jafacebooklikeboxmod_jafacebooklikebox.xml

    Search for this code

    <param name="connections" type="text" default="10" label="Connections" description="CONNECTIONS DESC" />

    Add this Code After it.

    <param name="bg" type="text" default="#FFFFFF" label="Background" description="BACKGROUND DESC" />

    Then Go to this File modulesmod_jafacebooklikeboxmod_jafacebooklikebox.php :

    Search for this code

    $aParams['border_color'] = $params->get( 'border_color', '' );

    Add this Code After it


    $aParams['bg'] = $params->get( 'bg', '#FFF' );

    Go to this File modulesmod_jafacebooklikeboxtmpldefault.php:

    Replace this Code


    <iframe id="jafbl<?php echo $module->id ?>" src="http://www.facebook.com/plugins/likebox.php?<?php echo $sFacebookQuery ?>" scrolling="no" frameborder="0" style="border:0px;overflow:hidden; width:<?php echo $aParams['width'] ?>px; height:<?php echo $aParams['height'] ?>px;"></iframe>

    With the Following


    <iframe id="jafbl<?php echo $module->id ?>" src="http://www.facebook.com/plugins/likebox.php?<?php echo $sFacebookQuery ?>" scrolling="no" frameborder="0" style=" background:<?php echo $aParams['bg'] ?>;border:0px;overflow:hidden; width:<?php echo $aParams['width'] ?>px; height:<?php echo $aParams['height'] ?>px;"></iframe>

    Then Go the Edit page of the Facebooklikebox module. There you will have a option as background. Enter your color coding there like #FF0000, #ECECEC etc…

    Note: If you Find my Post useful please click on the Thanks Icon

    splifen Friend
    #391683

    Hey thanks for your answer,

    When i change this i am getting a error in line 19…

    [PHP]<?php
    /*
    # ————————————————————————

    # Module JA Facebooklikebox for J15

    # ————————————————————————

    # Copyright (C) 2004-2010 JoomlArt.com. All Rights Reserved.

    # @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html

    # Author: JoomlArt.com

    # Websites: http://www.joomlart.comhttp://www.joomlancers.com.

    # ————————————————————————
    */
    echo ‘<iframe src=”http://www.facebook.com/plugins/likebox.php?’.$sFacebookQuery.'” scrolling=”no” frameborder=”0″ style=”border:0px;Margin-left: -10px; background-color: #292929; overflow:hidden; width:’.$aParams[‘width’].’px; height:’.$aParams[‘height’].’px;” allowTransparency=”true”></iframe>’;
    ?>[/PHP]

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 2 voices, and was last updated by  splifen 13 years, 7 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum