SubjectsPlus V 2.0 Guides not displaying 2 columns

52 views
Skip to first unread message

rlfi...@gmail.com

unread,
May 31, 2013, 3:46:28 PM5/31/13
to subjec...@googlegroups.com
Hello All-
 
Request for assistance. We are a fairly new install for SubjectsPlus V 2.0, and still in the early stages of developing the resource, though have now have encountered an issue.  For a Guide, we are able to adjust column width in the edit mode and save it, but the public display only shows a single full page column. A screen shot is attached. Any suggestions would be appreciated.
 
Best Regards,
 
Bob F.
 
  
ArtHistory.pdf

Andrew Darby

unread,
May 31, 2013, 3:56:21 PM5/31/13
to subjec...@googlegroups.com
I think I encountered this before and fixed it.  First suggestion is to swap in the latest version of subjects/guide.php and see if that does it

https://github.com/subjectsplus/SubjectsPlus/blob/master/subjects/guide.php

If that doesn't work, we can move to plan B.

Andrew


 
  

--
You received this message because you are subscribed to the Google Groups "SubjectsPlus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to subjectsplus...@googlegroups.com.
To post to this group, send email to subjec...@googlegroups.com.
Visit this group at http://groups.google.com/group/subjectsplus?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Sigrid Kelsey

unread,
May 31, 2013, 4:51:41 PM5/31/13
to subjec...@googlegroups.com
I'm also having this issue with 2.0.  Swapping the guide.php didn't help.  Here are a few other issues I'm trying to work through with 2.0:

- the "Use URL rewrites" option works for the guides, but for the staff pages it doesn't.  I notice that the sites using 2.0 so far don't use the URL rewrites.  I would like to keep them in case people have made links from other webpages.

- When I use the "config site" menu and switch some of the choices to "TRUE," like "Enable Users to Edit Headshot Photo," the next time I use "config site," they are FALSE again.  This doesn't happen with the URL rewrite option, though.

Evan, your site looks great- I'm referring to it as a model.

Sigrid

Andrew Darby

unread,
Jun 3, 2013, 10:33:26 AM6/3/13
to subjec...@googlegroups.com
Regarding the "display as one column" issue:  Do you have "Use responsive design" set to TRUE?  I'm seeing on my local machine that when I set it to FALSE, it puts everything into one column (which needs to be fixed).

Sigrid, we're looking into the other two issues.

Andrew

rlfi...@gmail.com

unread,
Jun 4, 2013, 11:33:18 AM6/4/13
to subjec...@googlegroups.com
Hi Andrew-
 
After swapping out the file "Guide.php" we're still seeing a single column on the public display.
 
The configuration setting  "Use responsive design" was set to FALSE. This was set to TRUE but it reverts back to original value.
 
Bob 

David Gonzalez

unread,
Jun 4, 2013, 1:05:06 PM6/4/13
to subjec...@googlegroups.com
Hey Bob,

I have been testing on my end and trying to mimic your error, but can't.

Is there anyway you can create an account for me and send an email (off the goggle group) with the url, username, and password so I can test it on your site so I can debug it?
 
Thanks,
David

rlfi...@gmail.com

unread,
Jun 5, 2013, 11:31:37 AM6/5/13
to subjec...@googlegroups.com
Hi David- The server isn't available from the outside. It could be though, in a fairly short time. Was just holding off until there was some content available and also to consider the best way to port the web server. Thanks for offering some assistance here - I will send you an update in the next week on the servers availability.
 
Best Regards,
 
Bob

Andrew Darby

unread,
Jun 6, 2013, 1:20:22 PM6/6/13
to subjec...@googlegroups.com
Hi, all.  About that issue with one long column instead of two.

When I added (thanks to Ron G) a responsive 2 col/3 col layout, I neglected to update the non-responsive layout.  So if you had Responsive Layout = FALSE, it didn't render properly.  I've beta-fixed the guide.php file (attached) and tweaked the default.css file, and it seems to work now.  I've attached them to the email so Sigrid and Bob and anybody else with this problem can test this out before I push it to the master version on Github.

Let me know if this addresses the problem, and thanks,

Andrew

p.s. the guide.php file uses a bit of jQuery to resize the column widths according to the proportions you set via the Layout slider in the Guides tab of the backend.  The only changes to the .css file are tweaking/adding the following:

#leftcol {
    clear: both; float: left; width: 30%; margin-left: 2%;
}

#maincol {
    float: left; width: 30%; margin-left: 3%;
}

#rightcol {
    float: left; width: 30%; margin-left: 3%;
}


On Tue, Jun 4, 2013 at 11:33 AM, <rlfi...@gmail.com> wrote:
default.css
guide.php

Andrew Darby

unread,
Jun 6, 2013, 1:53:34 PM6/6/13
to subjec...@googlegroups.com
I should have noted, guide.php goes in /subjects/  and default.css goes in /assets/css/

rlfi...@gmail.com

unread,
Jun 12, 2013, 9:05:49 AM6/12/13
to subjec...@googlegroups.com
All-
Just to provide an update regarding the 2-column functionality for our installation. As it turns out, the issue was related, at least initially, to the config.php file. The file was based on a template from an older version and missing certian key variables. Once the  new version from the latest config-default.php was built and moved in the guides displayed correctly! Nice to have some background on the Responsive Layout as this may be important to refer to as we continue to build content.
 
Thanks Andrew and David.
 
Best Regards,
 
 
Bob   
Reply all
Reply to author
Forward
0 new messages