2 stk Aug 17, 2006 16:39

@ steviespin
I opened _main.php in dreamweaver but only see little PHP symbols and can't figure out where or how to insert a graphic.
You may also want to look at the CSS file for more detail on the header set up.
a silly man wrote:
Yes, don't use dreamweaver
:O I use dreamweaver, and been using it for years (hugs it).
PHP works by manipulating the page as it's being rendered, so what you see in the 'design view' is rarely what you are going to get when working with php.
So you need to develop in the [Code View] instead.
The php tags are just stuck in with <?php ?> so just keep looking around until where you think the image should go and place it there.
Note that no html tags can go inside a php tag.
I use dreamweaver, and been using it for years.
LOL. That explains it! ;)
no html tags can go inside a php tag
<?php echo '<div><p><strong>Sage advice</strong></p></div>'; ?>
:roll:
Steviespin,
Be bold: add your <img> tag in your skins main template file "_main.php", where you THINK you want it, upload it and see what happens. The file is pretty well commented and you should get a sense for where things are.
stk wrote:
no html tags can go inside a php tag
<?php echo '<div><p><strong>Sage advice</strong></p></div>'; ?>
:roll:
Thats a string not html.
<div class="mypost">
lots of html
<?php // lots of code
<strong>i did not see the php tag which this happens to be inside, so this will not work</strong>
// lots of code
?>
lots of html
</div>
Thats the situation i was referring to, but anyway the lovely dreamweaver (as well as nearly everything else) has color coding so you can kinda tell. (but still a worthwhile point)
Yes, don't use dreamweaver. :p
Use a plain text editor, like WordPad. I think you'll find it much easier.
I use a program called "HTML Kit", but honestly, aside from a few advanced features, I only use something like 5% of its capabilities. (Kind of like a souped up text editor). It's free, btw.
Hope this helps.