Forum Replies Created

Viewing 15 replies - 301 through 315 (of 316 total)
  • Detailed explanation available at:

    http://codex.wordpress.org/Changing_File_Permissions

    This just means that you need to change the write permissions on your server.

    Did you upload the word press files yourself? If you did you are probably using an FTP program to transfer files to your hosting account.

    In this case you should be able to navigate to /wp-content/uploads/2007/10 and right click on the folder and “change permissions” (make sure write is enabled).

    If you could let me know what means you transferred files to the server that would be a help.

    I’m not having that issue. Can you add categories whilst writing a post? Is it just in the Manage > Categories > Add New?

    Thread Starter alexleonard

    (@alexleonard)

    Extremely sorry. My bad.

    I’m usually quite good at searching around for answers but I guess I just panicked as this is my business website.

    So, can I delete my question?

    Thread Starter alexleonard

    (@alexleonard)

    Also, I’ve noticed that my plugins page seems to not be showing that there are updates available to some of the plugins that I have installed (even though I know there are updates available and at first it was showing these available updates).

    I came across some weirdness with You Tube embeds before, however I was trying to embed using valid code and IF IE rules.

    Let’s just say that it didn’t work at all. Word Press pretty much mangled it out of all shape.

    I didn’t have time to consider a work around and I dropped it and just pasted the code as You Tube provides. Which worked fine. I dare not go back in and edit the post though… who knows what will happen to that code.

    Yeah, it’s quite an infuriating problem alright. I just wish code view was exactly that, it would definitely make my life easier. Though I’m happy that the div thing can be fixed by editing line 25 of the Tiny MCE file as follows:

    Line 25 reads:

    $valid_elements = 'p/-div[*],-strong/-b[*],-em/-i[*],-font[*],-ul[*],-ol[*],-li[*],*[*]';

    Replace it with the following line

    $valid_elements = '-strong/-b[*],-em/-i[*],-font[*],-ul[*],-ol[*],-li[*],*[*]';

    I still think that there are problems with the code view.

    Thread Starter alexleonard

    (@alexleonard)

    Deadly. That worked first time out! Not a typo in sight 🙂

    A much leaner tidier way to go about things – from 42 lines of messy code to 16 lines of sweetness.

    Thanks a lot. It’s given me some ideas for some other dynamic areas of the site I’m working on as well. I’m looking forward to getting it up on the web and showing it off 😉

    Thread Starter alexleonard

    (@alexleonard)

    Brilliant! I had a feeling I was going a long way around and I think I understand a little better how Word Press works now.

    Thanks a lot. I’ll go and try to implement this now and get back to you if I have any troubles.

    Cheers.
    Alex

    Thread Starter alexleonard

    (@alexleonard)

    By the way, I have a feeling my lack of understanding of arrays was part of my workaround here.

    Forum: Plugins
    In reply to: Duplicate Widgets
    Thread Starter alexleonard

    (@alexleonard)

    I have gotten the feeling in the last few days that I really need to learn more about PHP.. I just don’t think I fully understand it yet.

    I’m self taught and have generally just been using it for useful tweaks and templating.

    I’m so used to being corrected by the system telling me what line I’ve made an error on, and when the plugin fails to activate I feel a little like a blind child stumbling around in a dark forest…. well, maybe it’s not that bad, but you know what I mean.

    I can definitely see that Widgets make way more sense from the point of view of reusable code, easier adjustments in the future, and the option of letting non-coders change their sidebars easily. I think I just have a bit of a way to go yet. Time to talk to zend?

    Forum: Plugins
    In reply to: Duplicate Widgets
    Thread Starter alexleonard

    (@alexleonard)

    I’ve actually temporarily given up on widgets altogether. I found that it was taking me far too long to get them working, when I could quickly just set up a few lines of code in my sidebar instead.

    My main problem has been that there is no error reporting. All I get from Word Press is a message saying that the plugin can’t be activated. If only they had a developer mode that reported php/mysql errors. That would make life a little easier.

    Forum: Plugins
    In reply to: Duplicate Widgets
    Thread Starter alexleonard

    (@alexleonard)

    I might have answered my own question on this one.. taking lead from the default text widget bundled in widgets.php I noticed the “How many text widgets would you like?” question.

    So I suppose it is just down to me creating/editing current widgets using:

    function wp_widget_text_page() {
    	$options = $newoptions = get_option('widget_text');
    ?>
    	<div class="wrap">
    		<form method="POST">
    			<h2><?php _e('Text Widgets'); ?></h2>
    			<p style="line-height: 30px;"><?php _e('How many text widgets would you like?'); ?>
    			<select id="text-number" name="text-number" value="<?php echo $options['number']; ?>">
    <?php for ( $i = 1; $i < 10; ++$i ) echo "<option value='$i' ".($options['number']==$i ? "selected='selected'" : '').">$i</option>"; ?>
    			</select>
    			<span class="submit"><input type="submit" name="text-number-submit" id="text-number-submit" value="<?php echo attribute_escape(__('Save')); ?>" /></span></p>
    		</form>
    	</div>
    <?php
    }

    and a little more…!

    Still it seems like a lot of coding, I wonder is this something that couldn’t be built in by default. Instead of people having to work out their for loops etc 🙂

    I have found that commenting out the line in formatting.php still caused issues (it was using my </div> and not appending a </p> causing markup to fail validation).

    However by just making the suggested change to the tiny mce config that seems to have sorted things for me… for now..

    I am very surprised by this behaviour.

    I’ll add my voice to those experiencing this issue. It’s fine on the first post, but if you go back to edit the page everything gets thrown out of order and you have to retype all your code.

    Frustrating.

Viewing 15 replies - 301 through 315 (of 316 total)