Forum Replies Created

Viewing 15 replies - 106 through 120 (of 126 total)
  • Forum: Plugins
    In reply to: Help with php
    Thread Starter oldmankit

    (@oldmankit)

    Sorry for the delay in testing this.

    I’ve copied and pasted as is, and unfortunately it is still inserting the ‘|’, even when there is no description.

    Basically, it is always using the first line, and never what follows <?php else :?>.

    Thread Starter oldmankit

    (@oldmankit)

    I was in a bit of hurry earlier. What I discovered was the following, which allows multiple layouts depending on how big the window of the browser is:

    [CSS moderated as per the Forum Rules. Please just post a link to your site.]

    Lovely!

    Thread Starter oldmankit

    (@oldmankit)

    I’ve taken another look at the layout of the screen, and thought particularly about mobile/iphone users. Have a look at the end of the css file for what I’ve done. I didn’t know this was possible.

    It’s not perfect, and not pretty at smaller sizes, but at least it is usable now, and the sidebar doesn’t cover the main text.

    Thread Starter oldmankit

    (@oldmankit)

    I know what you mean about the side bar. On first look it is strange.

    But I think it’s more useful to have it always visible? So if you’re scrolling down to read a blog miles down the page, you’ve still got access to those links.

    Thanks,
    kit

    Thread Starter oldmankit

    (@oldmankit)

    Thanks for the comments; I really appreciate it.

    Two comments on the main title (‘peace and truth’):

    imho, the blog title would look more balanced if aligned with the large images and/or the post texts.

    I tried that. Image here. I think it makes the post titles ‘stick out’. I don’t want to abandon the way they are negatively indented.

    I think the title above the content on the left should be removed and the title on the right should stay (replaced with the title of the site overall).

    Wow! That would be a big overhaul. I actually started out with a design like that – I started off using the ‘headless’ theme. Although I liked the content-focused feel it gave, I opted for a more traditional look. I think I’ll stick with it.

    there is a chance that the fixed part on the right might be outgrowing the size of smaller screens, when more info gets added.

    No more info will be added! This is a minimal design and I will keep it that way. Everything that is necessary is there now, I hope ;0

    Other notes:

    • regarding the tree – it’s quite a personal preference, I guess. I’ll bear in mind that it may be boring appearing on every page. But I must admit, after working on it for quite some time, I’m still not bored with it.
    • screen size – good tips. Thank you. I will recraft it to make more sense at lower resolutions.

    I will get busy with the overall layout. Any other recommendations will be received with open ears.

    Forget my last posts, I’ve got a new tool (firebug) which allows you to see exactly when which items are being downloaded and in which order.

    If I am not mistaken, only thumbnails are loaded when you see a post with photos. When you click on one of the photos, it brings that up in the ‘modal window’ (e.g. shutter). When you view one image in the modal window, it will preload the next one. It won’t do more than one.

    Forum: Plugins
    In reply to: Help with php
    Thread Starter oldmankit

    (@oldmankit)

    Thank you for posting. Forgive me if I have misunderstood.
    You’ve started with $image->hidden, but I’m not using any hidden images. Hidden images are part of NextGen gallery, for images you don’t want to be displayed, I believe.

    I will try to explain better.

    Sometimes <?php echo $image->description ?> gives me nothing; there is no description for the photograph. If there is no description, I want:
    <a href="<?php echo $image->imageURL ?>" title="<?php echo $image->alttext ?>" <?php echo $image->thumbcode ?> >

    But if there IS a description, I want:
    <a href="<?php echo $image->imageURL ?>" title="<?php echo $image->alttext ?>&nbsp;&nbsp;|&nbsp;&nbsp;<?php echo $image->description ?>" <?php echo $image->thumbcode ?> >

    Forum: Plugins
    In reply to: Help with php
    Thread Starter oldmankit

    (@oldmankit)

    Will this be difficult? To reiterate:

    If the the description field is empty, I want to echo nothing. If it is not empty, I want to echo something. How do I do that with php?

    Thanks to anyone that can help me here… 🙂

    Try adding this to the end of your style.css file to see the effect I meant:
    .input{background-color: #0B3B39; border: solid 1px #585858;}

    You don’t have to use those colours, but it gets away from the white which didn’t fit into your scheme.

    If you liked what I suggested we could try to change the styling for the drop-down which currently says ‘no filter’.

    I didn’t mean delete (a search bar can be useful) just to change the colour of the form using css. If you need a hand doing that, just ask.

    How bizarre. I changed the thumbnail size to fixed at 150×230 (yes, that’s portrait) and now it works in IE8. I also deleted a bunch of sections from nggallery.css for things I didn’t use (e.g. slideshows). I guess I will never know which one fixed it…

    Time to try IE6. Let’s crank-up the old virtualbox…yes. Wow.

    Nice theme and concept for the blog.

    The one things that jumps out at me when I see the page is boxes. All of those login boxes in the right side-pane, a search in the header. No problem having boxes, but they would be less obtrusive if they didn’t have white backgrounds.

    Yeah, that’s a really crisp and bold design.

    A tiny note: the image you’ve used in the top-right corner (for rss) looks fuzzy and detracts from the crispness of your theme. I think you may need a higher-resolution image.

    Forum: Plugins
    In reply to: Help with php
    Thread Starter oldmankit

    (@oldmankit)

    There’s no such tag as H7 in HTML.

    Erm, really? Ok, well I’ll change them to h5 and h6. Actually, the code didn’t validate, so I changed the ‘<‘ etc. to the html code. It validates fine now.

    I’d still like help making the little php ‘if’ bit. I only want [code]  |  <?php echo $image->description ?>[/code]
    if $image->description is not empty.

    Hello,

    I’m having exactly the same problem (in IE8). Compatability mode fixes it.

    @jimmyeklund, do go ahead and post the css code you used, I’d be muchly grateful.
    Kit

Viewing 15 replies - 106 through 120 (of 126 total)