Shape 5

General Category => Wordpress Talk => : ueportland September 10, 2011, 07:09:07 AM



: S5 Extended (Widget) Options in WP?
: ueportland September 10, 2011, 07:09:07 AM
<If you want to customize which widgets display on each page, return to the widget control panel and use the S5 Extended Options for each widget >

Hi,

Trying to get the Comaxium theme working in WP (on a site that's successfully run a modified Atahualpa for years). Registered today to make the upgrade/change.

A few problems:

My most imminent problem: The S5 "Extended Options" do not appear in the Widget control panel (in either way), seeming to force the standard layout on all pages = all consecutive pages as the same layout of frontpage.

Other problems:
S5 Content and Image Fader doesn't appear to be working = showing fixed image(s) in horizontal order.

S5 Theme Options (Advanced 2) Would you like to disable the S5 Widget Context Options? choice leading to consecutive crashes. (Without a Yes or No row on top of the 'choices', not quite clear what I'm clicking either :-)

Any assistance or advice on where I can find the "extended options" for widgets? Many thanks

N



 


: Re: S5 Extended (Widget) Options in WP?
: Tristan Rineer September 10, 2011, 12:22:21 PM
I'll be glad to take a look at it for you.  Would you be willing to post a URL?

For some reason, it sounds like there might be some missing javascript in the admin that's used to style the options.

If you can PM me FTP & Login (you can create a new user account for me if you want, but I'll need admin access) information for your site, I'll be glad to look at the code for you and get things working.

WARNING!: Do Not post site login details on an open board, always send through PM.


: Re: S5 Extended (Widget) Options in WP?
: Tristan Rineer September 12, 2011, 09:38:32 AM
I've had to make some updates to the Image and Content fader that can occasionally cause a small conflict with the coding structure of some of the earlier S5 themes.  The quick and easy solution is to add
:
wp_dequeue_script( 'mootools' );
to the code.  My recommendation is to modify the top of template.php to this:

:
<?php /*
-----------------------------------------
Comaxium - May 2011 Shape 5 Club Theme
-----------------------------------------
Site:      www.shape5.com
Email:     [email protected]
@license:  Copyrighted Commercial Software
@copyright (C) 2010 Shape 5

*/ 
wp_dequeue_script'mootools' );
?>

The admin options problem seems to be a missing script reference in the code.  I will be looking through the code today to see where the exact problem is and then I will be replacing the downloads for the theme with a new version that fixes both the fader problem and the admin one (the updated version may not be available today, so I will post when it's ready).


: Re: S5 Extended (Widget) Options in WP?
: ueportland September 13, 2011, 02:36:04 AM
Many thanks! - Have also PM'd you.

Adding the line to template.php did work. Fading function is now working.

As for widgets, I checked and the whole theme is running from its second install directory but without problem. On this install, we can access the widget property boxes and make changes :-)

The *only* problem we seem to have remaining is that certain html code from the old site is not recognised (nor useable).  i.e. photo horizontal and vertical spaces (hspace etc.) and bulletpoints or similar do not work. Of real importance is getting some space between photos and text without hpsace/vcpace in the original page. Many thanks and kind regards

/Izzy


: Re: S5 Extended (Widget) Options in WP?
: Tristan Rineer September 13, 2011, 01:01:59 PM
To fix the image formatting, try adding the following code to the top of style.css (below the comment area, but above all other CSS properties).

:
/* WordPress Core */
.alignnone {margin: 5px 20px 20px 0;}
.aligncenter, div.aligncenter {display:block;margin: 5px auto 5px auto;}
.alignright {float:right;margin: 5px 0 20px 20px;}
.alignleft {float:left;margin: 5px 20px 20px 0;}
.aligncenter {display: block;margin: 5px auto 5px auto;}
a img.alignright {float:right;margin: 5px 0 20px 20px;}
a img.alignnone {margin: 5px 20px 20px 0;}
a img.alignleft {float:left;margin: 5px 20px 20px 0;}
a img.aligncenter {display: block;margin-left: auto;margin-right: auto}
.wp-caption {background: #fff;border: 1px solid #f0f0f0;max-width: 96%;padding: 5px 3px 10px;text-align: center;}
.wp-caption.alignnone {margin: 5px 20px 20px 0;}
.wp-caption.alignleft {margin: 5px 20px 20px 0;}
.wp-caption.alignright {margin: 5px 0 20px 20px;}
.wp-caption img {border: 0 none;height: auto;margin:0;max-width: 98.5%;padding:0;width: auto;}
.wp-caption p.wp-caption-text {font-size:11px;line-height:17px;margin:0;padding:0 4px 5px;}
/* End WP Core */

That will add back the WP core CSS that handles images in the content.


: Re: S5 Extended (Widget) Options in WP?
: Tristan Rineer September 13, 2011, 01:04:23 PM
This Post (http://www.shape5.com/component/option,com_smf/Itemid,75/topic,17580.msg69557/#msg69557) should solve the problem with the bulleted lists.