Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme »

[SOLVED] In WP MultiSite all icons are missing


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Dec 17, 2012, 05:24 PM
helga
 
1 posts · Dec 2012
Iceland
[moderater note] see post #7

On my WP MultiSite setup all the Montezuma Theme icons are missing. That is there are no icons on my two websites (multilanguage) that I am trying to create using WP MultiSite. My Montezuma test setup that I run locally on a VMWare Player using TurnKey WordPress has no problem.

I just updated everything to WP 3.5 but I am not sure if the icons went missing when I did that or if they were already missing.

Is there some known MultiSite problem that I should be aware of or did this happen with the update?

Last edited by juggledad; Feb 28, 2013 at 05:16 AM.
  #2  
Old Dec 19, 2012, 03:47 PM
juggledad's Avatar
juggledad
 
22,382 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
There does seem to be a problem. I've let the develper know about this.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Dec 21, 2012, 05:26 PM
xenlogic
 
1 posts · Dec 2012
@helga:
I had the same issue using the multisite setup, but seem to have found a temporary workaround using the single-site setup version of the Montezuma theme (which, as you suggest, performed the dual-color span tag input correctly). I'm no 'code poet' or anything, but here's what I did:

I backed up then replaced wp-content/themes/montezuma/admin/default-templates/javascript/javascript.js, and the default CSS file wp-content/themes/montezuma/admin/default-templates/css/grids/resp12-px-m0px.css with the code from style.css and javascript.js found in the single-installation wp-content/uploads/montezuma folder.

For me, it appeared to involve being able to write a montezuma theme folder to wp-content/uploads/ - despite already having the necessary permission to do so. See, e.g., starting at line 22 of wp-content/themes/montezuma/functions.php, which looks something like this:

Code:
21	/*************************************************************************
22	Default CSS served INLINE because wp-content/uploads is not writable.
23	This will change once wp-content/uploads is writable
24	**************************************************************************/
25	';
26		$bfa_css .= implode( '', file( get_template_directory() . "/admin/default-templates/css/grids/resp12-px-m0px.css" ) );
27		foreach ( glob( get_template_directory() . "/admin/default-templates/css/*.css") as $filename) {
28			$bfa_css .= implode( '', file( $filename ) );
29		}
30		$bfa_css = str_replace( '%tpldir%', get_template_directory_uri(), $bfa_css );
31		$bfa_css = "\n<style type='text/css'>\n" . $bfa_css . "</style>\n";
32	}
And so, for whatever reason, since the theme is not able to write to wp-content/uploads, it uses the CSS and JS from admin/default-templates/. I wonder if it is the Montezuma theme lacking write permissions, or if it has something to do with setting site/theme permissions from the WP "Network Admin" backend?

In any case, hope this helps.
  #4  
Old Jan 10, 2013, 10:46 AM
ivanen
 
1 posts · Jan 2013
hi
I'm new here. I use also the theme MONTEZUMA (is wonderful) and Wordpress 3.5. When I changed my site to multisite, I have the same issue. Has anyone found a solution to this issue.

Thank you very much
  #5  
Old Jan 27, 2013, 09:47 PM
inkdork's Avatar
inkdork
 
41 posts · Sep 2010
Lancaster, CA
Can you please share the code in the files you mentioned in uploads/montezuma? I have that directory, but its empty.
  #6  
Old Jan 28, 2013, 04:58 AM
juggledad's Avatar
juggledad
 
22,382 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
inkdork - that directory will only be empty if the process running wordpress does not have write access to the directory. You may need to change the file permission to '777'
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old Feb 27, 2013, 09:40 PM
aidan
 
1 posts · Feb 2013
I also had this problem (on WP 3.5.1), but solved it by:
Network Settings -> Upload Settings -> Upload file types: add "css js", making it read something like "jpg jpeg png gif mp3 mov avi wmv midi mid pdf css js"
Then forced generation of the CSS and JS files by simply changing one of the CSS files (e.g. various.css) in [My Site] -> Appearance -> Montezuma Options.
All the best!
  #8  
Old Feb 28, 2013, 12:56 AM
maryzaha
 
1 posts · Feb 2013
Quote:
Originally Posted by aidan
I also had this problem (on WP 3.5.1), but solved it by:
Network Settings -> Upload Settings -> Upload file types: add "css js", making it read something like "jpg jpeg png gif mp3 mov avi wmv midi mid pdf css js"
Then forced generation of the CSS and JS files by simply changing one of the CSS files (e.g. various.css) in [My Site] -> Appearance -> Montezuma Options.
All the best!
You are a genius! Only after I applied what you suggested, did the icons as well as dual colors appear. Thank you for posting your solution, and thanks BytesForAll for this state-of-the-art theme. It is the best I have ever seen, and no paid theme can compare to it.

Note: For this method to work, you must make changes in any of the css files as mentioned above. I am running a multilingual multisite and I wondered why it did not work for one of the sites. Then I realized that I had not made changes in any of the css files. In my case, it did not matter what changes and where I made them, so I think it can be any.
Thanks again!

Bookmarks

Tags
icons, missing image, multisite

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
WP Multisite - ATO functionality vCopia New Versions, & Updating 3 Apr 19, 2011 09:47 AM
Multisite and google ayzola ThemeFrame Presales 4 Dec 9, 2010 10:07 AM
Multisite or not? paulae Installing & running WordPress 1 Nov 15, 2010 03:44 PM
Missing Save Changes button again, and missing footer area paulae Sidebars & Widgets 1 May 13, 2009 10:46 AM


All times are GMT -6. The time now is 10:54 PM.


Powered by vBulletin® Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.