Questions tagged [theme-settings]

Use it for questions about the settings that can be retrieved with theme_get_setting(). Don't use it for generic settings.

Filter by
Sorted by
Tagged with
4
votes
3answers
4k views

Favicon not loading from https

I have enabled https for my site. All images and files are served with https url, but favicon it is serving from http://example.com/sites/default/files/favicon.ico instead it should show as https://...
0
votes
2answers
649 views

Cache pages for anonymous users stuck on

I can't turn off the "Cache pages for anonymous users " cache option. I uncheck it and then hit save as usual but it stays on. Is there some sort of module conflict causing this or possibly an issue ...
0
votes
0answers
71 views

Logo does not display after uploading it

After I selected the logo in the theme settings (Appearance > Settings > Choose File), I clicked 'Save Configuration'. It says 'custom logo path is invalid'. I did not have write permission for the ...
2
votes
0answers
77 views

Unlimited value field in theme settings

Trying to implement an unlimited value date field in my theme settings, using theme_form_system_theme_settings_alter to add the form inputs, including a button with an ajax callback function, which is ...
0
votes
1answer
72 views

Can you retrieve the Omega breakpoint settings?

As the title suggests, is it possible to retrieve the Omega breakpoints you set in the settings for your subtheme via any kind of function or call? Like the ones from the picture.
0
votes
2answers
86 views

Add epsacrop to programmatically added image field

I'm adding an image field to my theme form in order to setup a default image for the user. I'd like the user to be able to use EPSAcrop to crop the image he uploads here. Is this possible, if so; How?...
2
votes
1answer
127 views

How to add custom text settings to a custom theme?

I'm working on a custom theme called "YingYang". I didn't make the theme, but I have to do some stuff with it. The theme has custom text settings which is bassically some pre-set content. It looks ...
1
vote
1answer
1k views

Is it possible to theme node add form in drupal 7

I am using zen drupal-7 sub theme. I have created a content type named edison. I need to change the node add form for the user. I've tried adding page--node--add--edison.tpl.php in template.php. I ...
1
vote
1answer
115 views

Need help with my form with duplicate file and resetting form

Need help with my form for uploading an image on my theme's settings. I have a form that uploads an image that can be used as a background image. I have two problems with my form: first is how to ...
0
votes
1answer
131 views

Passing Settings from page.tpl to Javascript: Uncaught TypeError: Cannot read property

I want to pass this to my js file : in page.tpl <?php $my_settings = array( 'message' => $message, ); drupal_add_js( drupal_get_path('theme', 'sizin') .'/js/anim.js', array('...
2
votes
1answer
98 views

Pass a logo to image module

How do I pass the logo on my theme to the image module to create different sizes? I'm using domain access to I can't use <?php print theme('image_style', array('style_name' => 'thumbnail', '...
0
votes
1answer
64 views

display results from a form in theme-settings.php

I've been working on a way to upload a background image for months and I finally got it to work. How do I display the URL to the image on page.tpl.php? It's a form called background_file. Here's my ...
0
votes
2answers
495 views

Display Image logo along with site slogan and site name

I am using Impact theme for my site. It either displays text logo(site name, site slogan) or image logo. I want both image logo and text logo for my site. Any helps are welcomed
0
votes
1answer
32 views

How to create a form on settings o settings page

I like to learn how to crate a form on theme settings page to save two variables In my thempate.php are some conde as follows: function MYTHEME_preprocess(&$variables, $hook) { $variables['...
1
vote
1answer
149 views

Page Caching wrong CSS

got a weird issue I was hoping someone could help with. I have a site that uses multiple subthemes, with different ones being served depending on url var. IE, subsiteone.mysite.com, and subsitetwo....
1
vote
3answers
1k views

Default logo according to theme setting

I'm creating the theme with two styles, dark and light. User can choose which style he wants in theme settings. My default theme logo is in the root of the theme. Now I want to change default logo ...
0
votes
0answers
121 views

Problem with function from theme-settings.php in sub-theme

I want to create the sub-theme of my custom theme but I have the problem with the function from theme-settings.php. I have a few managed_file fields in my theme settings and my submit function for ...
2
votes
1answer
80 views

Is it possible to set a single member of a complex-variable inside the variable table

I want to use Drush vset to modify a subset of values stored in the 'variable' table's theme_themeName_settings record. I've found references to vget and vset but all I've found so far is for the ...
1
vote
0answers
345 views

Get field formatter setting value from preprocess

I have added to media>video files a taxonomy term reference "video_quality", i.e. 480, 720... I use those files in a content type "video-article" and render the file with Video.js module. This module ...
2
votes
2answers
965 views

How to set the file status of files uploaded through theme settings to permanent?

I have been trying for a week to get image files uploaded to a Drupal server through the use of "managed_file" theme settings to remain on the site longer than the default 6 hours. I have visited the ...
2
votes
1answer
526 views

Using theme_get_setting getting empty value

I am using theme settings in my Drupal 7 theme to provide a theme option as follows. $form['mythemename_settings']['loaderImage'] = array( '#type' => 'fieldset', '#title' => t('Loader Icon')...
0
votes
2answers
813 views

Add custom title and custom alternative text to Logo Image Settings

I am looking for a module that adds custom Title and Alt fields to the box shown below in the Appearance Settings of a theme
1
vote
0answers
59 views

Open Atrium 2: Get back the old design

Is there a way to make Open Atrium 2 look a bit more like Open Atrium 1 (e.g. display icons for the sections)? We'd like to make it easier for our users to switch. Besides OA 1 looks friendlier in our ...
2
votes
1answer
50 views

Display external link using theme settings

I'm using theme-settings.php to store links to external pages (like Facebook, Twitter, etc.) and the links aren't storing correctly. In theme-settings.php, I have: function ...
0
votes
1answer
151 views

file_managed not working when i try to save permanently

First of all, i want to say that i tried everything, i have coded since 10:30 am and i cannot get the solution, i looked in forums, combined code and many other things and nothing seems to work. What ...
1
vote
1answer
497 views

marinelli banner images not cycling

drupal 7 marinelli banner images not cycling (no forward or back icons either) I had disabled banner for a while and on trying to re-enable, images load but don't cycle. my back up site works but ...
1
vote
1answer
23 views

Prevent form fields changes

I have custom field on theme settings. I get default_value for that field from .info file and that's OK. I change the value of that field and submit the form and get a changed value but I do not want ...
2
votes
2answers
3k views

Drupal 8 Theme Header Background Image Upload

I'm upgrading the Mayo theme to Drupal 8. For Drupal 7 it worked like this in theme-settings.php with hook_form_system_theme_settings_alter(): $form['adv_header']['header_bg'] = array( '#type' =...
0
votes
1answer
41 views

Deleting an icon from dashboard [closed]

I am trying to change my website logo on my dashboard. I want to delete the old logo and insert a new one. I can locate the old logo but Drupal does not give me options to delete or alter it. Please ...
2
votes
0answers
30 views

Drupal themes all deactivating at irregular interval

I recently updated my website from 7.22 to 7.33. I have a problem with my templates randomly getting disabled. I have 3 themes : desktop / mobile / corpo. My URLs are has follow : www.mywebsite....
2
votes
1answer
141 views

In drupal 7, how can I make clicking the logo navigate to a different site? [closed]

I'm starting a drupal development project to recreate an existing site, doing it in stages. For now, I need the logo in the header to link to the old site, not the homepage of the drupal site. Is this ...
1
vote
0answers
47 views

Problem in theme-settings trying to save and modify file drupal 7

I have downloaded a template and what i want to achieve is that i can upload a file from the template option without using the ftp client. I have three slideshows and the code that i have implemented ...
1
vote
4answers
953 views

Set path for favicon.ico and apple-touch-icon.png

I would like my favicon.ico to be accessible by http://example.com/favicon.ico and http://example.com/apple-touch-icon.png, but I can't manage that. I tried few things, but nothing helped. My favicon....
0
votes
1answer
99 views

Missing Logo block on a fresh build of Drupal 7 using Omega 3.x theme

I just did a fresh install of Drupal 7 and I'm currently made a sub-theme with omega 3.x and for some reason the blocks page is missing the logo block. I tried also uploading a logo image on the sub-...
3
votes
2answers
629 views

Upload Image in system_theme_settings form using Zen on Domain Access System

I want to upload the image as the background in the settings page of the zen theme. In zen , It's easy to add an extra field in the theme-settings.php and it's worked at the single site system. ...
0
votes
1answer
192 views

Site name\logo in a panel pane?

I want the site's name\logo to appear in a column in a Panels pane (instead of it's regular appearance in the header region). is there any way to achieve this without programing?
0
votes
1answer
1k views

Turn off responsive behavior for Bootstrap 3

I know how to turn off responsive in bootrap . but how it can be in drupal theme. As i am using Drupal Bootstrap and created a subtheme. can that subtheme be non-responsive ??
1
vote
3answers
4k views

Uploaded images in theme settings is going to be lost

I have a flexslider and I make its images customizable through the theme settings. I added a caption property for the the slide to meet multiple languages websites as follows in theme-settings.php: //...
0
votes
1answer
370 views

Is there a way to upload files to the theme directory

I use the following code to upload images should be used in slideshow of the theme settings theme-settings.php: for ($i = 0; $i < 7; $i++){ $form['best_responsive_settings']['slideshow']['...
2
votes
1answer
315 views

How to give a content editor access to the theme settings?

I'm using the Marinelli theme and want to give my main content editor access to the theme settings. Ideally just the ability to upload/change/add/subtract/enable the backgrounds of the rotating ...
1
vote
1answer
98 views

Why are there so many settings.php files one in each folder or sub-directory?

I am Drupal newbie taking over a poorly documented D6 group of sites organized by sub-domains. In examining the dev.[domain].org/sites/ folder I discover folders: all, default, demo.[domain].org and [...
0
votes
2answers
325 views

Replacing logo.png in a subtheme

So, I created a subtheme, and added a random logo.png (found a random icon online, and renamed it). It worked, of course. Then I got the .png that I actually wanted to use... and the site won't update....
1
vote
1answer
34 views

Enabling a block to inherit the settings of a sub theme

Being relatively new to Drupal, I apologize in advance if what I'm saying is unclear, but I'd imagine that a fix should be simple enough: Basically, I'd like to add a header block that functions ...
1
vote
1answer
40 views

Page view mode and node settings

I have been creating new view modes with the entity view mode module as well as created template files for the new view modes. At this point I would like to know how I tell a given page or url (ie. ...
0
votes
1answer
148 views

Main menu is hidden from unauthenticated users

I am using a slightly modified Responsive Batrik theme. The odd thing is that the main manue and site logo are hidden from unauthenticated users. When they log in, they can see the menu and logo. I'...
0
votes
2answers
175 views

Show custom menus in seven theme

I am using Seven for the theme of a internal application. I have custom items setup in the mainmenu, but cannot get it to show?!?! The blocks for seven are limited to content and help (despite the ....
0
votes
2answers
452 views

Extending the Year range in Popup Calendar

I am trying to extend a year range of a popup calendar in drupal 7 but have been unable to see where I can do this. After doing more research, I discovered that I can change it through the 'More ...
0
votes
0answers
217 views

changeing serveral classes when navbar style is switched on settings site in bootsrap 3 theme

Hy folks, Im new to themeing drupal and force my luck wiith the bootstrap 3 framework. I like to change some styles conditionally to the users selection of the navbar style in the theme settings. ...
1
vote
1answer
496 views

Adding website logo as the first top level menu item in tb megamenu

I am usting tb megamenu module to get a main menu on my site. Is there a way to add the website's logo as a top level menu item (NOT SUBMENU ITEM)
0
votes
1answer
154 views

Logo size should not reduce after uploading - Drupal 7

I have had uploaded a logo in my site. After uploading the image's size is reduced. Because of that, image quality is decreased and it doesn't look good. What should I need to do TO NOT REDUCE THE ...