Community Forums › Forums › Archived Forums › General Discussion › Genesis and Sensei plugin
Tagged: Sensei
- This topic has 25 replies, 9 voices, and was last updated 10 years, 5 months ago by DTHkelly.
-
AuthorPosts
-
May 22, 2013 at 6:34 am #42188bmavenMember
Hi all,
I'm building a site on Genesis and everything is working great with WooCommerce. However, for the Sensei plugin, the page layout is messed up. I need to be able to choose the Sidebar-Content layout but there is no option on the lesson edit page for this. For WooCommerce there's the Genesis-WooCommerce Connect plugin - I'm assuming there isn't anything already existing for the interface of Genesis and Sensei...but can anyone help? If we need to talk about a subcontracted solution, let me know - I *really* need this to work. π
Here's the site: http://173.236.53.234/~fairydus/
...and here's the messed-up page layout as it stands now: http://173.236.53.234/~fairydus/lesson/lesson-1/
Warmly,
Jeni Elliott
Blogging growth strategist & revenue coach at The Blog Maven, fearless leader of 3 preschoolers…tweeting it up @theblogmaven
May 22, 2013 at 7:14 am #42191AnitaCKeymasterHi @BMaven, a developer named David Chu assisted with this issue on this forum discussion - However, the solution is not there. His Twitter handle is @flamenquito. You can contact him there, but I will Ping him on Twitter to see if he can bounce over and assist you.
Need help with customization or troubleshooting? Reach out to me.
May 23, 2013 at 3:32 pm #42358And_orParticipant@bmaven I would be really grateful if you could share your solution if you find one.. I tried to use Sensei before and had a short communication with Woothemes about the problem, but a the time it could not be solved in a simple way, this was just after Sensei was released.
Because the client did not have time to wait I changed to another plugin. Still the plugin looked very promising and I would really be interested in a solution... or just to know if I can forget about using the plugin in the near future.
Thanks in advance.. π
Simplicity is not Simple Webtaurus
May 23, 2013 at 6:11 pm #42370essaysnarkParticipant@bmaven and @And_or, I have never worked with the Sensei plugin so I don't know how it's constructed, however did you already try this standard Genesis solution? If there's a template for the Lesson CPT (lesson-single.php) then you should be able to put this in:
// Force Sidebar-Content Layout add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_sidebar_content' );
(From Brian Gardner: http://www.briangardner.com/code/force-layout-setting/ )
If there's no template, you can try creating one and add it - not sure if that's doable with Sensei or not. Or possibly this plugin can help?
Genesis Layout Extras – Default Layouts in Genesis for WordPress
It works with WooCommerce so maybe there's a chance.
On my own site, I tried adding that filter into functions.php with a conditional check for the CPT, but I didn't get it to work. If you're still stuck I can keep playing with it to see - or maybe David will swoop in with an answer quicker than that!
May 23, 2013 at 6:18 pm #42374AnitaCKeymaster@Essaysnark, the issue is this screen shot from Woocommerce about the page template - http://cld.wthms.co/mOsP. The last bit to the installation is coding this page with the appropriate configuration for the Genesis Framework. That's a bit of information that "NO ONE" is willing to provide. David Chu provided a fix to someone else to get theirs going. I sent out a Tweet to him the other day asking if he could provide the same for here but as far as I know - he hasn't been in contact with anyone. Seems that this is the BIG SECRET that everyone wants to keep to themselves, which is making it harder for me as a moderator. Now, I've been told that "I do not have to provide this answer to anyone - that people who want to know can hire a developer to do this." That's what the other person said they did - they paid him for help.
It's unfortunate that no one is willing to assist with this. I already inquired with SP Support and did not receive a favorable response.
Need help with customization or troubleshooting? Reach out to me.
May 23, 2013 at 6:28 pm #42377essaysnarkParticipantGotcha!!
Yeah, we've been frustrated at times too by how some WordPress plugin developers are more closed/proprietary than what WordPress is known for.
Thanks for the explanation. I'll take my simple solutions back and will watch this thread to see how it turns out. π Good luck everyone!
May 23, 2013 at 6:47 pm #42381bmavenMemberHi Folks,
I started a thread on the G+ group and it sounded like @david-decker was going to be working on a solution via a plugin. There are lots of people (via Twitter and G+) who are following this!
@david-decker please let me know if you need to test the solution on my site. I'll gladly get you a login!Warmly,
Jeni Elliott
bmavendesign.com
Blogging growth strategist & revenue coach at The Blog Maven, fearless leader of 3 preschoolers…tweeting it up @theblogmaven
May 24, 2013 at 4:35 am #42429And_orParticipantI dug out my test install for the Sensei Plugin and did some testing with the code that I found in another sensei topic
/**** Theme Compatibility for Integrating Sensei with Genesis Framework/Child Theme *********/
remove_action( 'sensei_before_main_content', 'sensei_output_content_wrapper', 10 );
remove_action( 'sensei_after_main_content', 'sensei_output_content_wrapper_end', 10 );add_action( 'sensei_before_main_content', 'edu_theme_wrapper_start', 10 );
add_action( 'sensei_after_main_content', 'edu_theme_wrapper_end', 10 );function edu_theme_wrapper_start() {
do_action( 'genesis_before_content_sidebar_wrap' );
echo '<div id="content-sidebar-wrap"><div id="content">'; //edited here afterwards
}function edu_theme_wrapper_end() {
echo '</div></div>';
}I only needed to change the line with id=content as it turned out to introduce a second id=content in the page. After changing the about code to: Β <div id="content-sensei"> the sidebar on my page would show up normally.
The layout needed some css fixing, but that was not too hard.
It is probably different for each template, in this case the lines:.post-type-archive-lesson #content {
padding: 0;
}#content-sensei {
padding: 0 0 0 30px;
width: 580px;
float: left;
}were enough to fix the layout for this (older) template. It has different sidebars for home and primary, so I guess the simple sidebars or conditional sidebars will probably work.
Maybe in other themes theΒ <div id="content-sidebar-wrap"> needs to be a different one when you also use the sidebar-alt ?
Hope this helps...
Simplicity is not Simple Webtaurus
May 24, 2013 at 6:55 am #42455And_orParticipantI did another test with a base theme for Genesis 2.0 that I found on the forum. (Thanks Greg!)
http://www.studiopress.community/topic/new-html5-base-child-theme-with-2-0-kept-in-mind/
used the same php in the functions file. The css needed turned out to be only:
`
#content-sensei {
padding: 0 0 0 30px;
width: 580px;
float: left;
}`#content{
width: 100%;
}I did only a very short test with an imported course & lessons, but the display looked normal...
Simplicity is not Simple Webtaurus
May 24, 2013 at 7:09 am #42459bmavenMemberThanks for posting this solution, @And_or. I'll take a look this afternoon at how it works with my site. I appreciate you. π
Warmly,
Jeni Elliott
bmavendesign.com
Blogging growth strategist & revenue coach at The Blog Maven, fearless leader of 3 preschoolers…tweeting it up @theblogmaven
May 24, 2013 at 7:50 am #42466And_orParticipantSorry I did not use <code> in the right way, you probably have to change the ' (what do you call them apostrophe?) in the code...
Simplicity is not Simple Webtaurus
May 28, 2013 at 12:50 am #42876David ChuParticipantHi.
I'm traveling, and am not working right now. Apparently I now have a reputation for being not only a Woo Sensei Guru, but also for being a Terrible Mean person hoarding Valuable Information. Incredible, especially given how many free fixes I've provided on this forum. π Well, since it may help someone, I'll pass along some of my thought process. It's actually very mundane, not exciting at all, probably not even directly helpful, but who knows, maybe it will get someone on the right track.I don't own Sensei, so I can't even request Woo tech support. They do have bits of documentation laying about, though. Here's a bit of applicable documentation. As far as I can tell, Sensei is not fully baked.
I have seen 2 Sensei setups so far. The first one didn't even have any Sensei CSS. This was the clearest indication that it wasn't fully baked. So here's the first Big Secret: I didn't even try the documentation above. I just wrote CSS for the Sensei markup. Then the page looked fine.
Then I saw another setup. This one DID have some Sensei CSS, but still looked pretty weird. This site may have had a newer Sensei setup, where Woo rushed out some new code to apply triage to problems customers were having, but I can't be sure of that. So big secret #2, I wrote CSS to make that one look better, too.
Neither site's themes had much in common, in fact, all WP themes are different, so even if I provided the exact CSS, neither would have worked on any site without some re-coding. It's like nailing down Jello. Which brings up big secret #3: even though Genesis is simply wonderful, if someone wants to work on small appearance details, some CSS ability is required, and if one is going to implement template surgery as described in the link above, PHP skills will be needed. Above all, pro developer troubleshooting skills may be needed for any major changes.
I took a look at Maven's site, but could not see exactly what was wrong with it. Maybe it's fixed already? Again, not being an owner of Sensei, I don't know what to expect with its look on every screen, nor did I know what Maven wanted her page to look like.
I can tell you this: if your page looks wretched, take a look at the HTML. The Sensei part may have a DIV or other element that needs to be re-sized or otherwise re-styled. Look for classes or ID's the are attached to it, and experiment. If that doesn't work, you can experiment with the documentation that Woo provides.
I've worked on altering Woo themes, too. They are downright cute, but are very heavily styled, so making big changes in them often requires significant, not just minor, CSS ability. I've even written blog articles about that. I can't get Woo support for those, either, so I use my experience that I've gained by struggling for incalculable hours with theme styling, programming, and troubleshooting.
Maybe that will help someone, but maybe not. And sorry, I'm still traveling, so I won't be responding rapidly to this forum thread.
Dave
Dave Chu Β· Custom WordPress Developer – likes collaborating with Designers
May 28, 2013 at 4:53 am #42891AnitaCKeymasterOh no David! That wasn't the intent ... to make you look bad or anything. And the community forum clearly states that answers are NOT guaranteed. I personally made mention of you in a previous discussion because another person had this problem and stated they paid you for the answer and they did not share the answer. But that was in no way meant to make YOU look bad. And we know you don't work for Woo or the Sensei folks. But in my opinion if SP is working so closely with the Woo team, they should at least offer this fix to the people who buy Sensei - it's a paid product. So when someone pays for a product and they cannot get it to work properly - you expect someone on either side will provide a clear answer which neither side has. The Sensei plugin is still new and there's a lot of people using Genesis who are at their wits end because they cannot get that one piece to work.
I do know someone was trying to help the Maven offline and maybe they resolved it. So it's nothing for anyone to really worry about. It's not going to kill anyone so people just need to wait it out.
Have a safe trip.
Need help with customization or troubleshooting? Reach out to me.
May 28, 2013 at 6:28 am #42898bmavenMemberGood morning! Thanks so much to @flamenco for weighing in here. We did end up coming up with a solution, though as you guessed, it was a pure CSS fix for every element. It's amazing to me that with as many Genesis people who also like to use Woo's plugins like WooCommerce and Sensei, the folks at Woo don't provide any support for integrating them with Genesis.
For anyone else who looks at this thread, I'll give the CSS we used just for the single lesson page, though it's going to be specific to my custom theme (which is sidebar-content):
`/* WooSensei fixes */
.single-lesson #content {
width: 100%;
}.single-lesson #main {
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 0 10px 40px 12px;
padding: 0 .625rem 2.5rem .75rem;
float: right;
width: 64.171123%
}
`(Thanks to @hard-boiled-greg for the solution!)
I'll still have to fix the lesson archive; with Woo, it seems like you just have to nail down all the moving parts and get them with CSS.
Thanks so much, everyone, for your support on this issue. I hope this discussion will be helpful to other people going forward...and may even inspire someone (hint hint, Woo) to come up with a one-size-fits-all solution for Genesis users.
Warmly,
Jeni
Blogging growth strategist & revenue coach at The Blog Maven, fearless leader of 3 preschoolers…tweeting it up @theblogmaven
May 28, 2013 at 7:39 am #42901essaysnarkParticipantJust for the record, I've found Dave's input here on the forum, and the knowledge he shares so freely on his site, to be immensely valuable.
Dave, I hope you're traveling somewhere fun!
To the others, great to see the solutions, and thanks for posting them!
June 3, 2013 at 12:10 pm #43873David ChuParticipantHi All,
Thanks for the positive comments, and I'm glad that we appear to be on the same page!It certainly would be helpful if Woo were to make a tutorial specifically for Genesis. I can, to a degree, see why they won't. They may think that if they do that, then that opens up the floodgates for users of dozens of other frameworks to demand tutorials for their stuff. Their support, I'm told by many, is problematic to begin with, and their, I don't know, maybe 12.3 support techs may be at their wits' end just doing very basic support. So rather than ruin their PR even more, maybe they are just hurriedly reporting Woo bugs to their coders and leaving it at that. I suppose what they could do is publish tips for maybe 4 or 5 top frameworks, and then just shrug for the rest. π Unless their sales sag, I don't see them changing their support policy, and Woo is ever so popular now. People are naturally attracted to bright and shiny objects. π
At least Woo puts a decent number of ID's and classes on their markup. Many plugin coders are, well, great at coding, but they don't pay much attention to CSS, so it's very hard to re-style their stuff beyond very basic changes. In cases like that, I may resort to jQuery coding for a non-invasive fix - one could also hack their plugin code, but then you're in for more plugin upgrade hassles, and may void any plugin support they would have provided. And it could be even worse - just look at almost any Facebook plugin. π
Some possible good news is that if someone needs to hire an extra geek to fix Woo (or other) plugin output, sometimes the fix can be pretty quick, at least speaking for myself, but of course, not always.
Cheers, Dave
[shout out to essaysnark!]
Dave Chu Β· Custom WordPress Developer – likes collaborating with Designers
June 11, 2013 at 1:26 pm #45336David ChuParticipantHi,
I just wrote a blog Post about my forays into Woo Sensei. Don't get too excited, no magic cure or anything, but hopefully informative.Dave
Dave Chu Β· Custom WordPress Developer – likes collaborating with Designers
September 22, 2013 at 3:26 pm #63774mantabrookMemberAll of you are lifesavers and so much more helpful than anyone at Woo. Can Studiopress work on plugins that are similar to WooCommerce & Sensei? I'd rather spend my money here. π
September 22, 2013 at 7:02 pm #63801Brad DaltonParticipantSeptember 22, 2013 at 8:15 pm #63813bmavenMemberIt's really not very good. Woo has a habit of pushing things to market before they're very good, and they work the bugs out with all the first people who buy. The client I installed for initially told me she hated it and we went with Wishlist Member to deliver her e-courses instead. Maybe it will be decent in the future, but for now, save your money.
Hope this helps!
Blogging growth strategist & revenue coach at The Blog Maven, fearless leader of 3 preschoolers…tweeting it up @theblogmaven
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.