Forums

I cant view my Layout in Adobe GoLive, plz Help (14 posts)

  1. neoro
    Member
    Posted 7 years ago #

    I have the following index.php

    <?php include_once("vcounter.php");
    /* Don't remove these lines. */
    $blog = 1;
    require('wp-blog-header.php');
    // Uncomment the next line if you want to track blog updates from weblogs.com
    //include_once(ABSPATH.WPINC.'/links-update-xml.php');
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <head profile="http://gmpg.org/xfn/1"
    <title><?php bloginfo('name'); ?><?php wp_title(); ?></title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <meta name="generator" content="WordPress <?php echo $wp_version; ?>" /> <!-- leave this for stats -->
    <style type="text/css" media="screen">
    @import url( <?php echo $siteurl; ?>neoro.css );
    #layer1 { visibility: visible; position: absolute; top: 341px; left: 10px; width: 281px; height: 200px }
    #layer2 { visibility: visible; position: absolute; top: 58px; left: 166px; width: 400px; height: 493px }
    #layer1 { visibility: visible; position: absolute; top: 314px; left: 9px; width: 150px; height: 345px }
    .FRAME { }
    #layer3 { visibility: visible; position: absolute; top: 109px; left: 571px; width: 313px; height: 326px }
    #layer6 { background-color: #f60; visibility: visible; position: absolute; top: 2px; left: -7px; width: 991px; height: 25px }
    #layer4 { visibility: visible; position: absolute; top: 108px; left: 9px; width: 150px; height: 171px }
    </style>
    <link rel="alternate" type="text/xml" title="RDF" href="<?php bloginfo('rdf_url'); ?>" />
    <link rel="alternate" type="text/xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
    <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    <?php get_archives('monthly', '', 'link'); ?>
    <?php //comments_popup_script(); // off by default ?>
    </head>
    <body>
    <// sakdjad ||||||||||||||||||||||||||||||||||||||||BLOG MAIN START||||||||||||||||||||||||||||||||||||||||>
    <div id="layer2">
    <?php if ($posts) { foreach ($posts as $post) { start_wp(); ?><div class="DATE"><?php the_date(); ?></div>
    " rel="bookmark" class="TITLE" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?><br>
    <div class="WHO">Post No.[<?php the_ID(); ?>] Filed under: >>>><?php the_category() ?> ::bY:: <?php the_author() ?> # <?php the_time() ?><?php edit_post_link(); ?><br></div>
    <div class="CONTENT"><?php the_content(); ?></br></div><?php link_pages('
    Pages: ', '
    ', 'number'); ?><div id="COMMENT"><?php comments_popup_link('Comments ::0::', 'Comments ::1::', 'Comments ::%::'); ?><!--
    <?php trackback_rdf(); ?>
    --></div><br><?php include(ABSPATH . 'wp-comments.php'); ?><?php } } else { // end foreach, end if any posts ?>
    <?php } ?>
    <font size="1" color="red">Wooooo Generated in a WhooPing</font><font size="1"> </font><!--<?php echo $wpdb->querycount; ?> queries.--><?php timer_stop(1); ?><font size="1" color="red">Sec</font><font color="red">.</font><br>
    </div>
    <// sakdjad ||||||||||||||||||||||||||||||||||||||||BLOG MAIN END||||||||||||||||||||||||||||||||||||||||><// sakdjad ||||||||||||||||||||||||||||||||||||||||SHOUTOUT BOX START||||||||||||||||||||||||||||||||||||||||>
    <div id="layer6">
    <table border="0" cellspacing="0" cellpadding="0" align="center">
    <tr>
    <td align="center" valign="middle">" class="BLOGNAME" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></td>
    </tr>
    </table>
    </div>
    <div id="layer1">
    <div align="center">
    <font size="2" color="#ff3300"><b>GIVE a SHOUT <br/>
    HERE!</b></font>
    <iframe src="http://neoro.lysium.net/v2/shoutout/vshoutbox.php" frameborder="0" scrolling="no" height="315" width="150"></iframe>
    </div>
    </div>
    <div id="layer3" class="TITLE">
    <table width="262" border="1" cellspacing="0" cellpadding="0">
    <tr>
    <td>
    <div id="menu_title">Recent Posts</div>
    </td>
    </tr>
    <tr>
    <td><div id="recent_post"><?php get_recent_posts(10,'

  2. ','',false); ?></div></td>
    </tr>
    </table>
    <table width="190" border="1" cellspacing="0" cellpadding="0">
    <tr>
    <td>
    <div id="menu_title">
    Categories</div>
    </td>
    </tr>
    <tr>
    <td>
    <div id="menu_content">
    <?php list_cats(0, 'All', 'name'); ?></div>
    </td>
    </tr>
    </table>
    <table width="190" border="1" cellspacing="0" cellpadding="0">
    <tr>
    <td><div id="menu_title">Archives<div id="menu_title"></td>
    </tr>
    <tr>
    <td><div id="menu_content"><?php get_archives('monthly'); ?></div></td>
    </tr>
    </table>
    <table width="190" border="1" cellspacing="0" cellpadding="0">
    <tr>
    <td><div id="menu_title">Calender Archive</div></td>
    </tr>
    <tr>
    <td align="center"><div id="calender"><?php get_calendar(); ?></div></td>
    </tr>
    </table>
    <table width="190" border="1" cellspacing="0" cellpadding="0">
    <tr>
    <td><?php echo $showcounter ?></td>
    </tr>
    </table>
    </div>
    <// sakdjad ||||||||||||||||||||||||||||||||||||||||SHOUTOUT BOX END||||||||||||||||||||||||||||||||||||||||>
    <div id="layer4">
    <table width="150" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td><div class="menu_right">
    home</div></td>
    </tr>
    <tr>
    <td><div class="menu_right">pictures</div></td>
    </tr>
    <tr>
    <td><div class="menu_right">
    notes</div></td>
    </tr>
    <tr>
    <td><div class="menu_right">
    links</div></td>
    </tr>
    <tr>
    <td><div class="menu_right">guestbook</div></td>
    </tr>
    <tr>
    <td><div class="menu_right">control panel</div></td>
    </tr>
    <tr>
    <td><div class="menu_right">phpMyAdmin</div></td>
    </tr>
    <tr>
    <td><div class="menu_right">blogin</div></td>
    </tr>
    </table>
    </div>

    It seems that when I paste it into the Source inside Adobe GoLive I see nothing when I click @ the Layout Tab. Is there something wrong with my templete ?? plz Help...

  • Anderton
    Member
    Posted 7 years ago #

    You must make it dynamic...

  • Root
    Member
    Posted 7 years ago #

    Crikey :)

  • neoro
    Member
    Posted 7 years ago #

    how do I make it dynamic ??
    a lil' lost here

  • moshu
    Member
    Posted 7 years ago #

    I do not remember too much about GoLive: installed once (years ago) then it ended up in the recycle bin... but I have a question? Can you see the "layout" of other .php files in GoLive??? Just curious...

  • Anderton
    Member
    Posted 7 years ago #

    The manual is always a good starting point :)
    Just love the CSS editor in GoLive.

  • moshu
    Member
    Posted 7 years ago #

    Whatever... You may like it as much as you want, but if you do NOT have installed this you are not going to see anything :)

  • jonimueller
    Member
    Posted 7 years ago #

    I have GoLive 6.0. I noticed I had to ADD this at the bottom:
    </body>
    </html>

    I can view it just fine with that. I bet if you added those two closing tags you're good to go!

  • jonimueller
    Member
    Posted 7 years ago #

    Here's a screen shot. Is this what you are expecting to see?
    http://www.babygotblog.com/images/screen-golive-php-page.jpg

  • Anderton
    Member
    Posted 7 years ago #

    The best way to tinkle with styles is to save different states of your blog in the browser, and then fire up GoLive (i recommend CS for it's good CSS editor) and link your local copy of the wp-styles.css to those pages. And then when your done save and upload your CSS file along with images (if you have images)...

  • jonimueller
    Member
    Posted 7 years ago #

    Although I spent a pretty penny on Macromedia Studio MX, I haven't really attempted to learn it. I piddle in Go Live, but truth be told, I do almost ALL my editing in Topstyle Pro 3.1.
    http://www.bradsoft.com

  • neoro
    Member
    Posted 7 years ago #

    Thanks for the recommendation, I will check it out :)

  • havok
    Member
    Posted 7 years ago #

    If what you are trying to test is your layout, why dont you "save as.." your page as seen in any browser... then alter the css file locally with something like textpad or such and then test locally... (you wont be running php) ...
    this works for me when im testing layouts and i dont want to be connecting to my hosting service.
    -hvk

  • jonimueller
    Member
    Posted 7 years ago #

    Or if you really want to be brave, just install Apache Triad
    http://apache2triad.sourceforge.net/
    I found a heads-up about this proggy over at http://www.thebombsite.com.
    J

  • Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags

    No tags yet.