Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

[SOLVED] In WP MultiSite all icons are missing


  #1  
Old Dec 17, 2012, 04:24 PM
helga
 
1 posts · Dec 2012
Iceland
Unhappy [SOLVED] In WP MultiSite all icons are missing

[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 04:16 AM.
  #2  
Old Dec 19, 2012, 02:47 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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, 04: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, 09: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, 08: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, 03:58 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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, 08: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 27, 2013, 11:56 PM
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 08:47 AM
Multisite and google ayzola ThemeFrame Presales 4 Dec 9, 2010 09:07 AM
Multisite or not? paulae Installing & running WordPress 1 Nov 15, 2010 02:44 PM
Missing Save Changes button again, and missing footer area paulae Sidebars & Widgets 1 May 13, 2009 09:46 AM


All times are GMT -6. The time now is 06:37 AM.


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