greymullet
Forum Replies Created
-
Forum: Alpha/Beta/RC
In reply to: Can’t Install!It looks like it’s working perfectly. Thank you so much ??
Forum: Alpha/Beta/RC
In reply to: Can’t Install!Thanks a lot, sorry I didn’t reply sooner. Will give that a shot ASAP.
Forum: Alpha/Beta/RC
In reply to: Can’t Install!Ah, right, gotcha. I think. How do I stop IIS?
Forum: Alpha/Beta/RC
In reply to: Can’t Install!I’m not using IIS, I’m using Apache…
Forum: Alpha/Beta/RC
In reply to: Can’t Install!Ok, tried adding those bits to the end of the modules section, but the problem’s still there.
To clarify, when I say I’m getting the directory listing, I’m actually getting exactly what I got before I ran install.php, namely the ‘Welcome to WordPress’ page, but with the directory listing at the top of the column, before the WordPress logo.
Forum: Alpha/Beta/RC
In reply to: Can’t Install!I don’t even have <IfModule mod_dir.c>. None of it. And I’m not entirely sure whereabouts to put it. Just at the end of the modules section, with the other part?
Forum: Alpha/Beta/RC
In reply to: Can’t Install!Yeah, fogured it might be something with the PHP. For one horrible second I thought maybe PHP wasn’t installed at all, but it is (in fact if it were playing up completely I wouldn’t have been able to run the install).
If anyone’s seen something vaguely similar, or fancies a challenge working this out, I really like to know what’s wrong…
Forum: Fixing WordPress
In reply to: PHP ArraysSorry that I didn’t get back to you sooner, I’ve had exams and such. Still do in fact.
I implemented your object-oriented code, it works brilliantly ?? Thanks very much. I’ll link to it as soon as the page’s up.
Forum: Fixing WordPress
In reply to: PHP Arrays*cradles head*
Forgive me if I’m even denser than usual, I’m stupidly tired. Plus I know very, very little PHP.
You’ve got an array within an array in the second method shorthand, yes? I’m just clarifying…. if I’m wrong then I’m really not keeping track at all.
Is there a way to use the second method with a loop?
Also, is the first method you outlined Object Oriented? If so then I’d love to hear about it, that looks, to me, like a good way of doing it…
Forum: Fixing WordPress
In reply to: how to add a php pageIf you’re not planning on editing the content then you could just make it a template and then create a new, blank WordPress ‘Page’ with that set as the template.
Forum: Plugins
In reply to: image before <-more->?Alt just displays when the image can’t, for example in text only browsers, or if the image link is broken.
Forum: Installing WordPress
In reply to: requirements?If you want mod-rewrite then it might be worth asking them whether they could enable it.
Forum: Themes and Templates
In reply to: external php script breaks themeIs the PHP code coded within the template itself? Or have you included with within an entry?
If it’s coded within the source code of the page then I’m not sure I can help, but if you’ve included the PHP code when typing the content into the content box within the WordPress entries screen ( I mean where you type in the content for posts etc.) then you’ll need a plugin in order to run it. Try RunPHP or PHP Exec.
Forum: Fixing WordPress
In reply to: Yet another problem with including PHPIf anyone’s interested, the final code came out like this:
<?php
$Photoset = array(
“Party 1” => “Smarch 2003”,
“Party 2” => “Smarch 2004”,
);foreach ($Photoset as $Party => $Date){
?><div class=”widetopbox”></div>
<div class=”textbox”>
<img src=”<?php bloginfo(‘stylesheet_directory’); ?>/sunthb.jpg” alt=”image” class=”alignleft” />
<div class=”setinfo”><h3><? echo $Party; ?></h3><br/>
<? echo $Date; ?>
</div>
<div class=”newset”></div>
</div>
<div class=”widebottombox”></div><?
;
}?>
Once again, thanks for all the help ??
Forum: Fixing WordPress
In reply to: Yet another problem with including PHPA friend of mine’s sorted it out. His suggestion was pretty much like mdawaffe’s except with one variation. He spotted what none of us seemed to have, namely me missing out a ” in the second line of the array.
Whoops…