Menu
  • HOME
  • TAGS

Change Visual Studio 2013 Summary Tag Color on Dark Theme

xml,visual-studio-2013,tags,documentation,themes

have a look at: Tools => Options => Environment => Fonts and Colors => Text Editor => XML Doc Tag Hope it helps :)...

visually debug GTK3 applications (GtkInspector / gtkparasite)

linux,debugging,themes,gtk3

I had the same problem with GtkInspector on Debian Jessie and I solved it by calling terminal and typing next : gsettings set org.gtk.Settings.Debug enable-inspector-keybinding true this enables GtkInspector shorcut buttons just run your application and press Control-Shift-I or Control-Shift-D I hope it helps...

Wordpress 2015 Theme: Space on top of page. No related css found

php,html,css,wordpress,themes

That space actually appears to be caused by the margin on the #topmenu element. Adding the following CSS to disable the margin on that element should solve your issue. #topmenu { margin: 0; } ...

Why doesn't my JFrame repaint when I set a new Synthetica theme?

java,swing,jframe,themes,synthetica

Swing GUI objects should be constructed and manipulated only on the event dispatch thread, after you've invoked UIManager.setLookAndFeel(). try { UIManager.setLookAndFeel(new SyntheticaAluOxideLookAndFeel()); } catch (UnsupportedLookAndFeelException e) { e.printStackTrace(); } catch (ParseException e) { e.printStackTrace(); } EventQueue.invokeLater(new Runnable() { public void run() { JFrame frame = new JFrame(); … frame.pack(true); frame.setVisible(true);...

Does anyone have any tips to help me organize and implement multiple jQuerymobile themes in one application?

jquery-mobile,themes,themeroller

What you've got there should work. You'll need to include the jquerymobile.js and jquerymobile.css, as well as your theme's css file. Aside from that, you can apply theme directly to parts of a page (either jquerymobile controls, or general page elements) by using the theme related css classes such as...

How to upload WordPress child theme to XAMPP + Bitnami + Mac OS?

wordpress,osx,xampp,themes,bitnami

I was able to change permissions through the Mac "Get Info" panel. Doh!! "Get Info" panel, unlocked See screencap....

Windows Phone 8 App - How to change color of clock and top bar icons

windows-phone-8,colors,themes

You can change it in xaml, BTW it is called System Tray not top bar. <phone:PhoneApplicationPage ... xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone" shell:SystemTray.IsVisible="True" shell:SystemTray.BackgroundColor="Blue"> ... Hope this helped you...

can someone pls help me to find out opensource drupal themes which has user login options and file upload

drupal,plugins,content-management-system,themes,drupal-modules

Themes are (usually) only styling front-end of your site. Drupal by default (must) have users system login/registration form and all other functionality related to users. When you activate your new theme logout and go to page "/user" to see your loging form. There are also "/user/register", "/user/password" and some other...

How to retrieve data from wordpress database in php and display on a page?

php,wordpress,themes

try this global $wpdb; $result = $wpdb->get_results("select * from `table_name` where column = value"); foreach($result as $results){ echo $results->field1; echo $results->field2; } ...

JavaFX css themes

css,user-interface,javafx,styles,themes

Guigarage provides 3 out-of-the-box styles. AquaFX, a native look & feel for Mac OSX AeroFX, that gives you the look of a Windows Forms app for Windows 7 Flatter, a flat-design gui theme Feel free to complete this list by answering the question....

What sets the left file pane margin for Sublime Text 3 UI themes?

user-interface,themes,sublimetext3

The class you are looking for is sidebar_container and the property is content_margin. I see in your screenshot that you already know what file you need to look in, but maybe is usefulf for other users to know that you can create a file called Soda Dark 3.sublime-theme inside Packages/User...

Windows7 RSS Wallpaper Theme

windows-7,rss,themes

Nevermind! I got it working myself, <?xml version='1.0' encoding='utf-8' standalone='yes'?> <feed xmlns='http://www.w3.org/2005/Atom' xmlns:dc='http://purl.org/dc/elements/1.1/' xmlns:flickr='urn:flickr:user' xmlns:media='http://search.yahoo.com/mrss/'> <title>Fun Feeds</title> <link rel='self' href='[Url of Feed]' /> <entry> <link rel='enclosure' type='image/jpg' href='[Link to Image]' /> <title>[Post Title]</title> <link rel='alternate' type='text/html' href='[Link to...

Update Dspace 4.2 installation directory from source

maven,ant,themes,dspace

You are correct. mvn package will build the code in dspace-source/target. ant update will copy the code from dspace-source/target to your installation directory. The maven build is generic and does not know your configuration settings. The ant task will read your configuration settings (which contain the install path). After running...

Implementing different styles within a Silverlight 5 application

xaml,silverlight,styles,themes

Chris, you hit the nail on the head with that link! I didn't know there was such a thing as DynamicResource, which lead me to what I am seeking: Silverlight 5’s New Style Data Binding...

Aptana Studio 3: How to apply themes to python editor

python,colors,themes,editor,aptana

Install Eclipse Market Place on Aptana Studio From Eclipse Market Place install Eclipse Color theme Plugin You will find out most of the popular themes after installing plugin.(In Aptana Studio -> Window->Preferences->Appearance->Color Theme). You can also install themes from here by importing themes. To install Eclipse market place on Aptana...

symfony2 twig - raw & slice filter together doesn't work

php,symfony2,themes,twig

striptags should be used here instead of raw object.content|striptags|slice(0, 50) See fiddle...

Separating title from thumbnail on wordpress

php,css,wordpress,themes,sidebar

Have you tried insert a break line between them? get_the_post_thumbnail($recent["ID"], 'thumbnail') . '<br />' . $recent["post_title"].' OR add this to the CSS file: img.attachment-thumbnail { margin:10px; } ...

Wordpress hook after theme is deleted

php,wordpress,plugins,themes

There is a very good tutorial here that shows you how to create a register_deactivation_hook for your theme. Wordpress does not have this feature for themes (like plugins) by default, but with a little tweaking your can duplicate the behavior for your theme. For reference, it used to be done...

Prevent my android:theme from modifying dialogs?

android,android-fragments,styles,themes

According to my knowledge you can't do that for Dialogs created by System, like the ones in the Preferences but you can change of Dialogs which you create from sratch Here's what I found from another answer : protected AlertDialog(Context context) { this(context, com.android.internal.R.style.Theme_Dialog_Alert); } public Builder(Context context) { this(context,...

IBM Connections 5 custom theme not getting published to second cluster node

synchronization,themes,cluster-computing,ibm,connections

So finally here's the solution: Stopping ALL cluster nodes AND the deployment manager at the same time, then deleting the temp-Folders on ALL nodes AND the deployment manager and starting all nodes again did the trick. Not sure why this was necessary, it shouldn't be in a cluster scenario. Daniel...

Wordpress not showing comments in admin

php,wordpress,themes,comments

I found the issue. I changed the WPML settings and it worked..

Wordpress Theme with page slider

ajax,wordpress,themes,wordpress-theming

this code below works for me with posts: $('a.ajax').click(function(event) { $.ajaxSetup({cache:false}); var post_url = $(this).attr("href") + ' #primary-ajax'; nanobar.go(100); $("#portfolio-content").load(post_url,function(){ $(this).addClass('open'); $('body').removeClass('ajax-wait'); }); event.preventDefault(); }); I just tested it for pages and it works too. You will need to tweek it for you needs but this entirely possible!...

Found a Customizer setting that did not have a sanitization callback function. wordpress theme check plugin

wordpress,themes

install the the theme check plugin and then modify plugins/theme-check/checks/customizer.php file add echo "$file_path: $match "; After this section of code: `if ( false === strpos( $match, 'sanitize_callback' ) && false === strpos( $match, 'sanitize_js_callback' ) ) { $this->error[] = '<span class="tc-lead tc-required">' . __('REQUIRED','theme-check') . '</span>: ' . __(...

Android Custom ActionBar Style

android,xml,themes

The exception is pretty clear : you need to use a theme that inherits from Theme.AppCompat, probably because you are using ActionBarActivity, which requires it as specified in the docs. You can do this : <style name="AcelinkTheme" parent="@android:style/Theme.AppCompat.Light"> <item name="android:actionBarStyle">@style/AcelinkActionBar</item> </style> <!-- ActionBar styles --> <style name="AcelinkActionBar" parent="@android:style/Widget.AppCompat.ActionBar"> <item...

Theming Dialog on API 21 (Lollipop) Android

android,xml,dialog,themes,android-5.0-lollipop

Found out I needed to use <item name="android:alertDialogTheme">@style/AlertDialogCustom</item> instead of alertDialogStyle. Don't know why it made a difference, I would have expected either to work, since Style worked all the way up to api 21. I am posting this answer well after I had this question, and the solution I...

“lessify” a CSS color theme

css,themes,less,partials

Stil, they won't be defined on the imported files, just on the main file, so >compilation will break on the imported files. You see what I mean? Nope? example: mixins.less: .mixin() { color: @color; } variables.less: @color: orange; project.less: @import "mixins"; @import "variables"; p { .mixin(); } Now running...

How get back to previous activity by onBackPressed() and use new theme?

android,android-intent,themes,preferenceactivity,onbackpressed

if you want to exit from app on BackPress then In onBackPress Use moveTaskToBack(true); finish() and for another ques i can say take some String with intent by putString and then check condition in another activity by If statement .. if it is true then change theme acc to condition.....

Wordpress custom post_type archive url and default query

php,wordpress,templates,themes,custom-post-type

The rewrite parameter in the arguments you pass to register_post_type determines the permalink for your custom post type archive. https://codex.wordpress.org/Function_Reference/register_post_type Looking at the example in the documentation: $args = array( 'labels' => $labels, 'public' => true, 'publicly_queryable' => true, 'show_ui' => true, 'show_in_menu' => true, 'query_var' => true, 'rewrite' =>...

Better way of using different colors for different pages

css,themes

No you can't, with pure CSS at least. Assuming that your elements share common styles, your CSS would need to be structured like this... #theme-green .thingnumber1, #theme-green .thingnumber2, #theme-green .thingnumber3 { stuff here; } If you wish to do as you suggest in your question you could use a CSS...

I cannot get Android ActionBar Custom theme to work (believe me I've tried)

android,android-actionbar,styles,themes,appcompat

I would like to be able to use something like the Android Action Bar Style Generator that I mentioned, As is noted on the site, that generator is deprecated, because you do not need it with the AppCompat action bar. If your objective is to provide a custom background...

Why change of custom.css in “clean” of Moodle theme is not working?

php,layout,themes,moodle

Might be caching. On your development machine add this to your config.php $CFG->themedesignermode = true; Only do this when designing though, Moodle will be very slow otherwise. Remove it or set it to false when you are finished designing. I wouldn't recommend putting it on a production server. https://docs.moodle.org/28/en/Theme_Designer_Mode...

AppCompat Library Disadvantages

android,api,themes,action,appcompat

AppCompat should add functionality of the latest API to older APIs when needed. For instance, lollipop added the CardView class, which can be used in older Android APIs when AppCompat is used, with some minor differences (some of the Android L animations may not apply on older versions of Android...

Remove frameborder in avada theme in youtube shortcode?

wordpress,themes,shortcode

Shortcode comes in fusion core plugin. fusion-core/shortcodes.php findout add_shortcode('youtube', 'shortcode_youtube'); remove frameborder from div under above shortcode....

Change color of the actionbar's arrow dynamically

android,themes

You can achieve it through code. Obtain the back arrow drawable, modify its color with a filter, and set it as back button. final Drawable upArrow = getResources().getDrawable(R.drawable.abc_ic_ab_back_mtrl_am_alpha); upArrow.setColorFilter(getResources().getColor(R.color.grey), PorterDuff.Mode.SRC_ATOP); getSupportActionBar().setHomeAsUpIndicator(upArrow); ...

Request-URI Too Large (414 error) in jarida theme

javascript,html,wordpress,themes

Thanks all . problem solved that is jquery confiscation

Is Using bootstrap professional work or not?

themes,bootstrap

I don't think bootstrap is more or less professional than alternatives. You should certainly clear it with your client. Make it clear to them what the advantages and disadvantages are with using a framework. Tell them if it'll constrain their choices in any way and get their buy in....

Why does no WPF ListView Theme work?

wpf,xaml,listview,themes

When I create a ListView with columns and an ItemsSource, it works (but the colors are messed up, probably a different issue): <ListView x:Name="ListView1" HorizontalAlignment="Left" VerticalAlignment="Top" Width="200" Height="150"> <ListView.View> <GridView> <GridView.Columns> <GridViewColumn DisplayMemberBinding="{Binding A}" /> <GridViewColumn DisplayMemberBinding="{Binding B}" /> </GridView.Columns> </GridView> </ListView.View> </ListView> And in code-behind (of course this is...

Need to change the Colour of each menu heading. - Wordpress

html,css,wordpress,header,themes

You can do this with CSS nth child selector as follows: #menu-default li:nth-child(1) a { color: green; } #menu-default li:nth-child(2) a { color: red; } #menu-default li:nth-child(3) a { color: yellow; } #menu-default li:nth-child(4) a { color: orange; } #menu-default li:nth-child(5) a { color: blue; } ...

Convert current .vssettings to .vstheme for VS 2013

visual-studio,visual-studio-2013,themes,vssettings

Open Tools > Customize Colors and make a copy of the theme you want to work with, then edit it to get the theme editor open.(Visual hints) Next, go to Tools > Import and Export Settings to install the .vssettings file you downloaded (Details). Follow the prompts to optionally save...

Why do Sublime Text 3 Themes not affect the sidebar?

themes,sublimetext,sublimetext3,sidebar

You can manually change the sidebar style by editing Default.sublime-theme. To do this, edit the “sidebar_tree”, “sidebar_heading”, etc classes in Packages/Theme - Default/Default.sublime-theme. You can overrode those defaults by putting this Default.sublime-theme inside the Packages/User folder. From the sublime text menu, selecting “Preferences → Browse Packages…” will take you to...

Tumblr captions overflow container [on hold]

css,themes,tumblr

Add word-wrap: break-word to your posts class .posts { width: 500px; background: #fff; color: #aaa; font-family: 'Gibson', sans-serif; font-size: 12px; margin-bottom: 20px; padding: 10px 10px 10px 10px; text-align: left; -webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset; -moz-box-shadow:0 1px 4px rgba(0, 0, 0,...

CSS files included with menu and PHP GET CSS selector

php,html,css,security,themes

Printing variable into string works only if the string is in double quotes. Your is in single hence $onlynumbersandletters wont print out. It should look like this: echo '<link rel="stylesheet" type="text/css" href="css/'.$onlynumbersandletters.'.css" />'; Cookies to store this are fine. And for your security concerns. If you plan to use that...

How to get an index number in Hexo article loop “for each”?

javascript,templates,themes,hexo

Try this: <% site.posts.sort('date', 'desc').limit(8).each(function(post, i){ %> <div id="post-<%=i+1%>" class="post"> <%= post.title %> all the other post tags and content </div> <% }) %> As you can see, there is an additional parameter, i, which means index....

100% exact Espresso theme for Sublime Text?

themes,sublimetext,color-scheme,espresso

If you can't find a color scheme there is a nice tm-theme editor to build your own scheme: http://tmtheme-editor.herokuapp.com/#!/editor/theme/Monokai%20Extended%20Mod

How do you make themes on a website using multiple changing stylesheets?

javascript,css,themes

Instead of physically swapping CSS stylesheets from the head, why not create a global CSS selector for each of the themes within your stylesheet? You can use onClick or onChange events on the radio buttons to know when they've been changed. You can then use jQuery's addClass and removeClass functions...

Not about programming, but issues with SublimeText UI

themes,sublimetext3

You can simply resize vertically the panel by dragging it.

StatusBarColor doesn't change

android,themes,statusbar

Write this code in the oncreate function of your activity if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { getWindow().setStatusBarColor(Color.parseColor("#0288d1")); } ...

Python Tkinter. Cant apply theme for second window of program

python,ubuntu,tkinter,themes

With such code looks good: from Tkinter import * from ttk import * def label(row, column, text): L = Label(root, text=text, anchor='w') L.grid(row=row,column=column,sticky="nw",pady=2,padx=3) def button(root, row, column, text, command): B = Button(root, text=text, command=command, width=15) B.grid(row=row, column=column, sticky="e", pady=4, padx=3) def entry(row, column, insert="", show=""): E = Entry(root, width=32) E.insert(0,...

How to configure a pelican theme?

python,themes,pelican

The first step is understanding Jinja template inheritance. Then you can drill down into the templates as needed. For example, author information in the NotMyIdea theme is located in article_infos.html.

CakePHP 3 look at plugin controller first

cakephp,themes,cakephp-3.0

Write a custom route class that you'll use for the route to that controller(s). See the routing chapter of the manual for how to do that. Inside your route you'll implement the logic that checks if the actual controller file you expect is present or not and define a callback....

node compile.js doesn't generate combined css file

css,node.js,dojo,themes,customization

Due to the way Dijit themes are traditionally structured, yes, this is intended. claro.css doesn't contain any styles of its own, it simply contains @imports to each individual file which is being compiled by compile.js. Dojo's build system is already capable of flattening CSS imports, so that is the point...

How to add SB-admin v2 in Ruby-on-Rails app

ruby-on-rails,ruby-on-rails-4,themes

What I did is: Create an admin.html.erb layout with the base markup provided in index.html of the SB Admin 2 template Take a look at the js and css files included in the template and put them in their corresponding dirs in vendor/assets Add the corresponding requiere and import in...

How to setting background image in actionbar android [closed]

android,android-actionbar,themes,appcompat,android-toolbar

Please read this article: http://cyrilmottier.com/2013/05/24/pushing-the-actionbar-to-the-next-level/ There you will find example and tutorial about your questuion And also you can set action bar background like this. private void setActionBar() { getSupportActionBar().setDisplayOptions(ActionBar.DISPLAY_SHOW_CUSTOM); getSupportActionBar().setDisplayHomeAsUpEnabled(true); getSupportActionBar().setHomeButtonEnabled(true); getSupportActionBar().setDisplayShowHomeEnabled(true);...

Android ActionBar error

android-activity,android-actionbar,themes

You are no longer using the support ActionBarActivity, but the normal Android Activity. Thats why instead of getSupportActionBar() you have to call getActionBar() supportInvalidateOptionsMenu() you have to call invalidateOptionsMenu() getSupportFragmentManager() you have to call getFragmentManager() and so on.....

ImpressPages 4.5.1 seems to be missing the theme setting after install

php,themes,impresspages

The theme can be set in the database by creating a following record: Plugin: Ip Key: theme Value: "Air" //Quotes are important. As this must be json'ed value. Looks like reinstalling would be also not a bad idea....

remove blank space in wordpress theme

css,wordpress,themes,blank-space

I've looked a bit over your website. Firstly, you want to remove the 170px right-margin from .content. Than you can edit the width of .sidebar-primary to fit in the space. @media all and (min-width: 1140px) { .site-container .content { right-margin: 10px; } .site-container .sidebar-primary { width: 330px; } } As...

Unable to use the Sphinx Readability theme

python,themes,python-sphinx

So I was able to fix this by applying a patch to sphinxtheme-readability. There is also a bug report on this. Configuration: My source/conf.py looks like this: import sphinxtheme html_theme = 'readability' html_theme_path = sphinxtheme.get_html_theme_path() Patch: This is the patch I had to apply to sphinxtheme/__init__.py: diff --git a/sphinxtheme/__init__.py b/sphinxtheme/__init__.py...

Is there something like style group?

android,styles,themes

I hope it helps you.This is style where you can declare your group style, child style , single style ... just like this <style name="Widget.Group" parent="@android:style/Widget"> <item name="android:layout_width">match_parent</item> <item name="android:layout_height">46dp</item> <item name="android:layout_marginLeft">10dp</item> <item name="android:layout_marginRight">10dp</item> <item name="android:layout_marginTop">-1dp</item> <!-- Ensures we don't get a 2 dp top stroke...

which is the template or theme of librosweb.es?

wordpress,templates,joomla,themes

I can only confirm that it isn't Joomla or Wordpress from looking at the code. The tidiness of the code suggests to me that it is likely to be a bespoke system or a static site - most CMS systems leave their footprints in the code somewhere. The html/css is...

Does “enable runtime themes” affect performance?

delphi,themes,delphi-2007

What "Enable runtime themes" actually does is telling Windows to Enable Visual Styling of the applications via following manifest entry <dependentAssembly> <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="*" publicKeyToken="6595b64144ccf1df" language="*" /> </dependentAssembly> You could also have runtime themes enabled in older Delphi versions using different methods. Delphi 7 included TXPManifest component that...

Sublime Text 3 - Lyte theme doesn't affect sidebar / tab view

themes,sublimetext,sublimetext3

It looks like you have only changed the color_scheme, which can be done in the menu, you need to also change the theme in the settings file: Add/edit this to your Preferences: Settings - User { "theme": "Lyte-Dark.sublime-theme", "color_scheme": "Packages/Theme - Lyte/Lyte-Dark/Lyte-Dark.tmTheme", } docs: https://github.com/lytedev/lyte-theme/blob/master/README.md#usage...

Material theme not applied correctly on pre-21 devices

android,themes,material-design

Change your res/values/themes.xml in: <style name="Theme.MyTheme" parent="Theme.AppCompat.Light"> <item name="colorPrimary">@color/green</item> <item name="colorPrimaryDark">@color/darkgreen</item> </style> Then remove the same theme (name="Theme.MyTheme") from res/values-v21/themes.xml...

Magento: register custom template files for static block widget

php,magento,templates,widget,themes

For the purposes of this answer I will assume you understand how Magento extensions work, but if not there are many good answers on this topic. Widgets are defined by widget.xml files, so you will need to add a widget.xml file to the etc subdirectory of a new or existing...

Local Storage is not working as expected

javascript,jquery,html5,themes,local-storage

Please remove apostrophe when using the variable name: var name = localStorage.getItem("value"); $('body').css("background-color",name); ...

Remove shadow effect on android button

android,layout,styles,themes

Your xml , instead of the button that you have, should be like this: <ImageButton android:src="@drawable/yourimagename" android:id="@+id/button1" android:layout_width = "wrap_content" android:layout_height = "wrap_content" android:background="@null" /> If you have any problems just let me know ;)...

Wrong Theme being applied to PreferenceActivity with xml reference

android,xml,reference,themes,android-preferences

Fixed it! i just renamed all the styles to inst_theme and referenced them with just @style/inst_theme Moral of the story: Think before you post...

Have Custom Style Change Based On My AppTheme Style Selection

android,themes

This should work (did not test): attrs.xml <resources> <attr name="customViewBackground" format="reference" /> </resources> styles.xml <style name="MyCustomViewBackground"> ... <item name="android:background">?attr/customViewBackground</item> ... </style> themes.xml <style name="AppTheme.Light" parent="@android:style/Theme.Holo.Light"> ... <item name="customViewBackground">@drawable/half_alpha_white_rounded_background</item> ... </style> <style...

Wordpress child theme vrs copy theme

css,wordpress,themes

If you want to disable theme update notifications you can do it by changing the Theme Name field in the main style.css, or if you don't wanna change the name the other option is changing its version number to something really high. /* Theme Name: Your Theme Name Author: Your...

“Use Theme.AppCompat theme with this activity” Exception

android,android-actionbar,styles,themes

change the parent of your Theme.BlinkMessage to Theme.AppCompat.Light. This should fix your : <style name="Theme.Blinkmessage" parent="Theme.AppCompat.Light"> ...

Emacs 24: Unable to find theme file for `solarized-dark.

osx,emacs,themes

Emacs 24 includes package.el, and I strongly recommend using that to install packages whenever possible. Versions of the Solarized theme are available from MELPA Stable, MELPA, and Marmalade. If you haven't used any of these package repositories yet, you'll need to add one by putting something like this in your...

Dark UI in sublime text 3

user-interface,themes,sublimetext3

If you installed Seti_UI through package control, you should be able to change your color scheme and theme by doing the following: Open up your Preferences/Settings - User/ The "color_scheme" and "theme" options in the file should be set like this: { "color_scheme": "Packages/Seti_UI/Scheme/Seti.tmTheme", "theme": "Seti.sublime-theme", } There may be...

Jquery Mobile default themes are reversed, a = black and b = white

jquery-mobile,themes

I think it might be because your using a pretty old version of jquery mobile, I see you're referencing version 1.2.1, try version 1.4.5.

Notice: Undefined index: page in

indexing,themes,undefined

Test existence of key with isset: if (isset($_GET['page']) && $_GET['page'] == basename(__FILE__) ) { ^^ ...

Themes with package igaster

php,laravel,themes,service-provider

Since Sessions in Laravel5 are initiated in the middleware stack you should create your own middleware and place it in the $middleware array in Kernel.php. This is a sample middleware: class myMiddleware { public function handle($request, Closure $next) { $themeName = \Session::get('themeName', 'NONE'); if(\Theme::exists($themeName)) \Theme::set($themeName); return $next($request); } } your...

Fatal error: Wordpress theme didn´t work after customising

php,wordpress,themes

The error is pretty self-explanatory, you are trying to create an instance of a class that doesn't exist. On line 244 you have the following: $footerLayout = new $footer(); And before it: //Get selected layout from theme options $footer = stge_get_option('footer-layout'); // Set default in case of not loaded options...

how to override WPF Theme style for a single button

wpf,styles,themes

Create two styles. One you already create for all buttons in your application. Now create another style but put the key attribute to it and assign it to your specific buttons. In your App.xaml: <Style TargetType="{x:Type Button}"> <!-- This is for generic button --> <Setter Property="FontSize" Value="12"/> </Style> Now its...

How To Deploy: Installing Mezzanine Theme

themes,customization,mezzanine,pythonanywhere

Preconditions: 0) Versioning Python 2.7.6. Django 1.6.10 Mezzanine 3.1.10 Moderna v.? (static content) 1) I used PythonAnywhere for hosting 2) I followed this way to install Mezzanine: here, at the bottom there are links to PythonAnywhere specific guides 3) So, initial state is: Mezzanine is deployed, empty, with default theme....

Eclipse Luna Dark Theme Modification: Change //Comments to be more distinct

eclipse,themes,comments,dark

Go to Window > Preferences > Java > Editor > Syntax Coloring. Expand the 'Comments' sections. Selecting the comment type (Multi-line, single-line) will enable the color box on the right hand side. Pick away!...

How to change window style/theme in c++

c++,user-interface,styles,window,themes

Yes, you can do it with the WinAPI. The primary message you care about is WM_NCPAINT. That's what's sent when the non-client areas of a window (e.g., the frame and title bar) need to be painted. Note that by default, rendering of the non-client areas is handled by the desktop...

Modify android theme from appcompat theme

android,background,themes,appcompat,actionmode

Use ActionMode properties' names without android: prefix.

App crashes on ActionBar with Theme.Appcompat

android,android-actionbar,themes,appcompat

You should use getSupportActionBar() with support library. Moreover, your activity should extend android.support.v7.app.ActionBarActivity, not android.app.Activity

Magento: Error when attempting to load a product

php,magento,themes

Problem solved: Mage_Catalog_Block_Product_View_Media::isGalleryImageVisible is a method in 1.9.1 and later, while the production environment I am on is 1.9.0.1....

How to get the Clicked ID and Output that ID Data in another Page in WordPress [closed]

php,wordpress,themes,wordpress-theming,web-deployment-project

May be steps below should do it Make receive.php as template, add <?php /* Template Name: theTemplateName */ ?> at the beginning of template file. Create a page, give it a slug, let say the-receiver, make sure you select theTemplateName as its template. Now, create a form inside single.php, give...

Quote marks broken in Sublime Text Cobalt theme comments?

themes,sublimetext,sublimetext3

This turned out to be a problem with non-anti-aliased font rendering on Sublime Text, at a certain font size. In other words, it's a very specialized problem. Switching to an anti-aliased font fixed the problem....

CSS - what am I doing wrong? Some thumbnails act funny, others are okay?

css,wordpress,design,themes

You've got a shed-load of <script> tags being inserted in between your product <li> elements; it looks like they are meant to insert a link to the brand archive page, but they aren't working. Not only are they not working, because they are inserted after some of the product <li>...

DevExpress theme to be set for windows controls

winforms,devexpress,themes

Devexpress doesn't supports skinning of regular winforms controls. You need to use their own controls to get the application skinned/themed. For TextBox you use TextEdit, for Button you use SimpleButton and so on. But you can read the skin element colors at runtime and apply yourself. Sample code from the...

dynamic generation of CSS attributes in CSS files based on user input in ASP MVC

c#,css,asp.net-mvc,razor,themes

I got some of it working via dotless just seems a bit old, wondering if its still maintained.

Android radio button style definition

android,radio-button,themes,appearance

You are definitely on the right track. My first guess would have been the theme and style used. I do not believe the version of the Android IDE will have anything to do with this. I would look a little bit more closely at the themes. See if you have...

Open modal popup form on button click using Button ID in jupiter Theme

javascript,jquery,themes

Try this code. $(document).ready(function () { $('#getintouch').click( function(){ alert('test'); // if( function_exists( 'ninja_forms_display_form' ) ) ninja_forms_display_form( 1 ); }); }); and then still not luck then comment //ninja_forms_display_form( 1 ); and then try...

Maintainable CSS for large number of themes

javascript,html,css,themes

Broadly speaking, I know of two ways to go about changing a site's style while using one css source (which may or not require multiple files). Define lots of classes .blueBorder, .redBorder etc and using JavaScript, add and remove classes on elements as needed. Or define classes and using JavaScript...