Menu

customization

Help
2013-01-08
2013-10-09
  • Kevin J. Wangler

    Could you provide some help on customization? How/where do we change/set the colors? Your screenshots have very muted colors (white background, etc.), but my actual install has very bright colors... I'd like to tone it down a lot, but I'm not sure where to start. Thanks!

     
  • Ryan Walberg

    Ryan Walberg - 2013-01-08

    I didn't do any adjustments to the colours in the screenshots. I'm surprised you're seeing a difference! In any case, look at the files in the bootstrap/css/ directory. You can also download an entirely new theme from http://bootswatch.com/ and then replace the .css files you download from there.

    I honestly haven't edited a theme from Bootswatch. I believe you're supposed to edit the .less files first and then run them through the 'less' pre-processor to generate the css files.

     
  • Kevin J. Wangler

    Could it be (and it probably is) that it's because I'm using data from a non-phpgiftreg database? (I switched to Aaron Eiche's Do-Want, and now I'm playing around with your new version of PHPGiftReg.) Does it pull colors from the database in any way? I'll check that folder, thanks!

     
  • Ryan Walberg

    Ryan Walberg - 2013-01-08

    No, it definitely doesn't pull colours from the database. If you're including any of his .css files, that could be doing it.

     
  • Kevin J. Wangler

    I don't think I am, or am not sure how I could be. I untar'd/ungzip'd the phpgiftreg 2.1.1 file into its own, new directory, manually modified the includes/config.php file with the appropriate db settings, options, etc., and that's it -- it's using a copy of the modified do-want database.

    I don't know where it's pulling this from. Definitely looks nothing like yours, though. :) I thought you just went crazy with the colors until I saw your screenshots and realized that mine was wrong. See attached. Also, is that icon for the "Comment" correct (circled in red on attached screenshot)? Clicking it works and brings up the item's comment, but the icon itself looks wrong to me.

     
    • Ryan Walberg

      Ryan Walberg - 2013-01-08

      No, that's a missing image. It's odd that it's finding the other images
      though. Can you check to see if the image it wants is in the images/
      directory?

      On Jan 8, 2013, at 12:14 PM, "Kevin J. Wangler" commonplace@users.sf.net
      wrote:

      I don't think I am, or am not sure how I could be. I untar'd/ungzip'd the
      phpgiftreg 2.1.1 file into its own, new directory, manually modified the
      includes/config.php file with the appropriate db settings, options, etc.,
      and that's it -- it's using a copy of the modified do-want database.

      I don't know where it's pulling this from. Definitely looks nothing like
      yours, though. :) I thought you just went crazy with the colors until I saw
      your screenshots and realized that mine was wrong. See attached. Also, is
      that icon for the "Comment" correct (circled in red on attached
      screenshot)? Clicking it works and brings up the item's comment, but the
      icon itself looks wrong to me.
      Attachment: phpgiftreg211screenshot.png (76.1 kB; image/png)

      customizationhttps://sourceforge.net/p/phpgiftreg/discussion/379975/thread/491b9f33/?limit=25#6329

      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/phpgiftreg/discussion/379975/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/prefs/

       
      • Kevin J. Wangler

        I don't see where it's trying to even show an image. What should it be looking for? I see where the next two icons are "images/link.png" and "images/image.png", respectively, but I don't see what the first one is supposed to be. (As in, in the code, I don't see it attempting to load any particular image there. But also, in the images directory, I don't see anything that looks like it belongs, either.)

         
        • Ryan Walberg

          Ryan Walberg - 2013-01-08

          Oh, hang on, comments aren't shown with an icon, they're using a Bootstrap
          popover. There should be an ellipsis there.

          I'm wondering if you're having a problem with Bootstrap. Did you replace
          the theme to be that green one or is that what came in the tarball? The
          theme should have been white, I think.

          Thanks,
          Ryan

          On Tue, Jan 8, 2013 at 12:55 PM, Kevin J. Wangler
          commonplace@users.sf.netwrote:

          I don't see where it's trying to even show an image. What should it be
          looking for? I see where the next two icons are "images/link.png" and
          "images/image.png", respectively, but I don't see what the first one is
          supposed to be. (As in, in the code, I don't see it attempting to load any
          particular image there. But also, in the images directory, I don't see
          anything that looks like it belongs, either.)

          customizationhttps://sourceforge.net/p/phpgiftreg/discussion/379975/thread/491b9f33/?limit=25#6329/4d0f/40f7

          Sent from sourceforge.net because you indicated interest in
          https://sourceforge.net/p/phpgiftreg/discussion/379975/

          To unsubscribe from further messages, please visit
          https://sourceforge.net/auth/prefs/

           
  • Kevin J. Wangler

    Nope, what you see is how it looked for me "out of the box", so to speak -- I didn't touch the theme or do anything at all.

     
  • limer

    limer - 2013-09-01

    I had the same issue and tried to correct this by copying over the css and less files from bootswatch Unity. Bootswatch's website lists four files:

    tar tvf bootswatch_unity.tar

    -rwxrwxrwx 0/0 125869 2013-09-01 00:47 bootstrap.css
    -rwxrwxrwx 0/0 102213 2013-09-01 00:47 bootstrap.min.css
    -rwxrwxrwx 0/0 873 2013-09-01 00:47 bootswatch.less
    -rwxrwxrwx 0/0 18806 2013-09-01 00:47 variables.less

    I've removed the previous files (which I have backed up) and replaced those six with these four. I've also replaced only the css files and left the less files as-is with the same results.

    Regardless if I've left the -responsive files, the output is the same. What am I missing? Please see attachment

     
  • Dean

    Dean - 2013-09-09

    I grabbed the Flatly theme here: http://bootswatch.com/2/. Replaced all the files in the bootstrap/css directory with the Flatly files. I had some browser caching issues so I cleared my browser cache and then closed and restarted my browser. Everything looks good, I have been running it for several days now.

     

    Last edit: Dean 2013-09-09
  • limer

    limer - 2013-10-07

    Ryan, Dean replied to you (he's not me) and appears to be working fine.

    I went ahead and removed all files (backed up) in bootstrap/css/ and replaced with the four from the flatly theme. Nevertheless, I have two issues, same as before:

    • The ellipsis (three dots) icon/image/code doesn't display the comments
    • The My Items list sometimes disappears after making changes although I can get it back by logging out and logging in again

    The two files, bootstrap-responsive.min.css and bootstrap-responsive.css are NOT currently in the bootstrap/css directory and I assume they need to be. Regardless if those two files are in the css directory, it doesn't change the behavior listed above. Do I need to generate new responsive files? If so, how?

    Thanks!

     

    Last edit: limer 2013-10-07
    • Ryan Walberg

      Ryan Walberg - 2013-10-08

      I will look into this. Did you perhaps use a Bootstrap 3 theme by accident?

      On Mon, Oct 7, 2013 at 2:46 PM, limer doomikus@users.sf.net wrote:

      Ryan, Dean replied to you and appears to be working fine. I went ahead and
      removed all files (backed up) in bootstrap/css/ and replaced with the four
      from the flatly theme. Nevertheless, I have two issues, same as before:

      • The ellipsis (three dots) icon/image/code doesn't display the
        comments
      • The My Items list sometimes disappears after making changes although
        I can get it back by logging out and logging in again

      The two files, bootstrap-responsive.min.css and bootstrap-responsive.css
      are NOT currently in the bootstrap/css directory and I assume they need to
      be. Regardless if those two files are in the css directory, it doesn't
      change the behavior listed above. Do I need to generate new responsive
      files? If so, how?

      Thanks!

      customizationhttps://sourceforge.net/p/phpgiftreg/discussion/379975/thread/491b9f33/?limit=25#b825

      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/phpgiftreg/discussion/379975/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       
  • limer

    limer - 2013-10-09

    I had previously copied the responsive files back and swore I did a CTRL+F5 to clear the cache. Nevertheless, now it's working.

    I seem to recall this behavior happening before, the comments were working although without the "hover highlight". Later, they stopped working altogether. In any event, I believe this is resolved but I'll start a new thread if more problems occur. Thanks again!

     

Log in to post a comment.