Foreground talk

Community Portal

(Redirected from Foreground:Community Portal)

Welcome to the Community Portal of the MediaWiki Foreground Skin. You may use this to ask questions about Foreground or suggest improvements to this site. See also the page about the mailing list.

Adding logo image?

What is the best practice for adding a small logo image to the left of the title-name? --RobertRies (talk) 09:04, 15 March 2017 (CEST)

"Forground" takes the logo from the $wgLogo configuration parameter, so you have to add something like the following to your "LocalSettings.php" file prior to invoking "Foreground":
$wgLogo = "$wgScriptPath/images/assets/Logo.png";
Cheers --Kghbln (talk) 10:17, 15 March 2017 (CET)

Update: Had trouble getting this to work, and finally resolved by defining the $wgForegroundFeatures array (default values listed below) in LocalSettings.php and change navbarIcon => true,

$wgForegroundFeatures = array(      
      'showActionsForAnon' => true,
      'NavWrapperType' => 'divonly',
      'showHelpUnderTools' => true,
      'showRecentChangesUnderTools' => true,
      'wikiName' => &$GLOBALS['wgSitename'],
      'navbarIcon' => false,
      'IeEdgeCode' => 1,
      'showFooterIcons' => 0,
      'addThisFollowPUBID' => ''
);

--RobertRies (talk) 02:01, 19 April 2017 (CEST)

Indeed, that's correct. I did not think of this at the time I was writing and thought I would happen automatically. Sorry for this mistake and thank you for reporting back. --Kghbln (talk) 08:21, 19 April 2017 (CEST)

Drop down menues?

How do you create drop down menus in foreground? -- Forrestlaprade (talk) 23:38, 17 March 2014‎

Sorry that you did not get an answer yet. Just edit MediaWiki:Sidebar. Cheers --Kghbln (talk) 17:23, 2 July 2016 (CEST)

Styling dropdown menu.

I'm having a hell of a time styling my Foreground skin. I had a previous version but upgraded at some point which killed a lot of the styling options. Things like the following examples don't do anything to change the dropdown lists. I'm at a loss of the combination of CSS calls needed to target the dropdown menus now.

/* Darker color for the hover over items */
.top-bar-section ul li.hover > a,
.top-bar-section ul li ul.dropdown li.hover > a {
    background: #ffae00;
}

/* Slightly darker color for the dropdowns */
.top-bar-section ul li ul.dropdown li > a {
    background: #ffe4b2;
}

Any ideas of how I can get this working? I'm running Wiki 1.28.1 and Foreground 2.1.0-alpha. Thanks.

Restoring your question if you do not mind. Probably others will run into the issue too and this information will probably be of help to them. Cheers --Kghbln (talk) 06:27, 8 May 2017 (CEST)

Echo display issues...

I just installed Echo at Children of StarClan. Their is something weird going on with how it displays that also happens here (at least in Safari and Firefox) that I think you'll want to address. I haven't worked out if it's a CSS problem or not yet, but if I do. before you patch, I'll update you. Kitsufox (talk) 04:00, 23 May 2017 (CEST)

KitsusDisplayIssue.png
Indeed the integration of Echo is painful however the issue is more with Echo than with Foreground. Echo was totally refactored a couple of times which is difficult to trace and track. I recommend to already use the latest development version of Foreground which will probably be released soon. The integration of Echo was fixed for that release. I use it on a wiki for a month now. --Kghbln (talk) 08:54, 23 May 2017 (CEST)
Does the foundation 5 upgrade change the way tabs have to be programed? It breaks every tab set on the site... Kitsufox (talk) 16:28, 26 May 2017 (CEST)
Indeed, it does and this has to be reworked on the wiki and this is painful. I believe that tabs now act like it was described here. Pivot it also using Foundation 5. Cheers --Kghbln (talk) 16:38, 26 May 2017 (CEST)
That worked perfectly, thank you! I've even already got everything swapped over (and loving how much cleaner the code is for the updated tabs! Much more user friendly). Kitsufox (talk) 01:41, 27 May 2017 (CEST)