Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Center Panel Problems

Asked Modified Viewed 3,073 times
K
kimflow1
K
  • Member, joined since
  • Contributed 50 posts on the community forums.
  • Started 11 threads in the forums
  • Started this discussions
asked
Member

Hey,
I am having the toughest time trying to figure out what I am doing wrong. I cannot seem to get a center panel to work unless it is the welcome panel. I've read thru the forums here is what I have so far. Please tell me what in the heck I'm doing wrong.

opentable("Essence Best Selling Artist, Brenda Hampton"wink;
echo "<a href=http://www.rohostuff.com/viewpage.php?page_id=2></a>";
closetable();

I also tried this:

opentable("Essence Best Selling Artist, Brenda Hampton"wink;
echo"<a href=http://www.rohostuff.com/brendahpanel.htm></a>";
closetable();


and this:

opentable("Essence Best Selling Artist, Brenda Hampton"wink;
include"<a href=http://www.rohostuff.com/brendahpanel.htm></a>";
closetable();

I saw in one of the forums where you needed to change your index.php page to include center panels. I'm lost, and I had to reupload my site like 3xs already. I'm sure it is something simple, but I would really like to get past this. Thanks a bunch. K

/Edit: disabled smileys
Edited by Sveinungs on 18-09-2006 17:43,
0 replies

19 posts

S
Sveinungs
S
  • Veteran Member, joined since
  • Contributed 935 posts on the community forums.
  • Started 3 threads in the forums
answered
Veteran Member

Yes, you can have many center panels :D

As for the RSS news feed, it's hard to tell. It could be that you have not installed it correctly (a readme should tell you what files to edit, and how to configure the parser). It may allso be that you've got a parser that's for an older version of Php-Fusion?


0 replies
K
kimflow1
K
  • Member, joined since
  • Contributed 50 posts on the community forums.
  • Started 11 threads in the forums
  • Started this discussions
answered
Member

thank u so much, can I have more than 1 center panel without using news.php? Also, I downloaded the rss news feed/parser. it works but I can't get it to show up in a panel on my index page.
0 replies
M
mpkossen
M
  • Senior Member, joined since
  • Contributed 267 posts on the community forums.
  • Started 4 threads in the forums
answered
Senior Member

Oh, and try loosing all the double quotes, otherwise you corrupt the PHP code big time!
0 replies
S
Sveinungs
S
  • Veteran Member, joined since
  • Contributed 935 posts on the community forums.
  • Started 3 threads in the forums
answered
Veteran Member

Yes, there is a lot of style attributes in this html - you must leave some out for it not to interfer with your theme layout.
I've stripped out the unnessasry part, try this

<table width="100%" border="0" cellpadding="1">
<tr>
<td width="100%" align="center" valign="top"><p><strong>Best Seller's </strong></p>
<p align="left"><strong></span>Essence best selling Artist
Brenda M. Hampton</strong><br />
I'm Brenda M. Hampton, author of: the sizzling hot 'Two's Enough Three's A Crowd', Oh no he<img class="photo" src="ecommerce/images/bmh3sm.jpg" alt="Brenda Hampton" width="136" height="136" align="right"/> didn't 'My Way Or No Way', tear jerking 'How Can I Be Down?' Laugh Out loud 'SLICK', previously titled, My Best Friend's Man, Change Don't Always Come, Naughty by Nature, and No Justice No Peace. Writing is my passion, stay tuned for future page turning novels written by me<span class="style26"><span class="style28"><br />
<br />
<iframe src="http://rcm.amazon.com/e/cm?t=rohostuffcom-20&o=1&p=9&l=st1&mode=books&search=brenda%20Hampton&=1&fc1=&lt1=_blank&lc1=000000&bg1=CC0000&f=ifr" marginwidth="0" marginheight="0" width="180" height="150" border="0" frameborder="0" style="border:none;" scrolling="No"></iframe>
</span>Click to buy </span></p>
</td>
</tr>
</table>
0 replies
K
kimflow1
K
  • Member, joined since
  • Contributed 50 posts on the community forums.
  • Started 11 threads in the forums
  • Started this discussions
answered
Member

sure u want to see the code I used for the center panel?

i'm not a real coder yet thought but here goes

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>Favorite Artist</title>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
<style type="text/css">
<!--
body,td,th {
   font-family: Verdana, Arial, Helvetica, sans-serif;
   font-size: 11px;
}
body {
   margin-left: 25px;
   margin-top: 25px;
   margin-right: 500px;
   margin-bottom: 600px;
}
.style26 {color: #000040; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; font-style: normal; font-weight: bold; }
.style28 {color: #000040;
   font-family: Verdana, Arial, Helvetica, sans-serif;
   font-size: 11px;
   font-style: normal;
}
-->
</style></head>

<body>
<table width="441" border="1" cellpadding="1">
  <tr>
    <td width="615" align="center" valign="top"><p><strong>Best Seller's </strong></p>
      <p align="left"><strong></span>Essence best selling Artist
      Brenda M. Hampton</strong><br />
I'm Brenda M. Hampton, author of: the sizzling hot 'Two's Enough Three's A   Crowd', Oh no he<img class="photo" src="ecommerce/images/bmh3sm.jpg" alt="Brenda Hampton" width="136" height="136" align="right"/> didn't 'My Way Or No Way', tear jerking 'How Can I Be Down?'   Laugh Out loud 'SLICK', previously titled, My Best Friend's Man, Change Don't   Always Come, Naughty by Nature, and No Justice No Peace. Writing is my passion, stay tuned for future page turning novels written by me<span class="style26"><span class="style28"><br />
<br />
<iframe src="http://rcm.amazon.com/e/cm?t=rohostuffcom-20&o=1&p=9&l=st1&mode=books&search=brenda%20Hampton&=1&fc1=&lt1=_blank&lc1=000000&bg1=CC0000&f=ifr" marginwidth="0" marginheight="0" width="180" height="150" border="0" frameborder="0" style="border:none;" scrolling="No"></iframe>
</span>Click to buy </span></p>
    </td>
  </tr>
</table>
</body>
</html>

0 replies
S
Sveinungs
S
  • Veteran Member, joined since
  • Contributed 935 posts on the community forums.
  • Started 3 threads in the forums
answered
Veteran Member

You can add regular html (text, links, images) to your Welcome message panel (adminpanel->main settings).

You are using a theme with fixed width, thats why the centerpanel (I see you got it now, good!) and the content in it is to wide - squesing your sidepanles. You need to [1] edit the html in the custom page, or [2] make your theme a bit wider. Anyway, good work, you're getting there.

//Edit: Could you post the code you're using in the custom page here?

Use the [code ] [/code ] -tags and paste your html in between.
Edited by Sveinungs on 18-09-2006 20:52,
0 replies
W
WEC
W
WEC 10
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 5 threads in the forums
answered
Veteran Member

Brobably a theme issue. Try another theme.
0 replies
K
kimflow1
K
  • Member, joined since
  • Contributed 50 posts on the community forums.
  • Started 11 threads in the forums
  • Started this discussions
answered
Member

Yes, ok it does work, but now my side panels are squished. and i want to add something more to my welcome panel other than text.
0 replies
W
WEC
W
WEC 10
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 5 threads in the forums
answered
Veteran Member

Try to set your opening page to: news.php
0 replies
K
kimflow1
K
  • Member, joined since
  • Contributed 50 posts on the community forums.
  • Started 11 threads in the forums
  • Started this discussions
answered
Member

I can get it to show up in my side panel using this

opentable("Essence Best Selling Artist, Brenda Hampton");
include ('http://www.rohostuff.com/brendahpanel.htm');
closetable();

but not the center panel
0 replies
K
kimflow1
K
  • Member, joined since
  • Contributed 50 posts on the community forums.
  • Started 11 threads in the forums
  • Started this discussions
answered
Member

How would I add an Iframe to?
0 replies
K
kimflow1
K
  • Member, joined since
  • Contributed 50 posts on the community forums.
  • Started 11 threads in the forums
  • Started this discussions
answered
Member

I have a pretty good idea but I am not sure how to start that.
0 replies
K
kimflow1
K
  • Member, joined since
  • Contributed 50 posts on the community forums.
  • Started 11 threads in the forums
  • Started this discussions
answered
Member

How do I add the html code to the panel?
0 replies
K
kimflow1
K
  • Member, joined since
  • Contributed 50 posts on the community forums.
  • Started 11 threads in the forums
  • Started this discussions
answered
Member

yes, i made sure and did that. i tried this and now it will show up in the preview but after I save and enable it, it still does not show up

opentable("Essence Best Selling Artist, Brenda Hampton");
include ('http://www.rohostuff.com/brendahpanel.htm');
closetable();

0 replies
S
Sveinungs
S
  • Veteran Member, joined since
  • Contributed 935 posts on the community forums.
  • Started 3 threads in the forums
answered
Veteran Member

Well, did you enable the panel after you saved it?
0 replies
W
WEC
W
WEC 10
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 5 threads in the forums
answered
Veteran Member

Something like this might work depending on your image path in the html you wish toinclude:

opentable("name");
  include ('http://www.rohostuff.com/brendahpanel.htm');
closetable();


If images are not displayed, then try to use the server path to the page.

If no go, then consider using an iframe or simply add the html code in the panel instead of calling another html page.
Edited by WEC on 18-09-2006 18:12,
0 replies
K
kimflow1
K
  • Member, joined since
  • Contributed 50 posts on the community forums.
  • Started 11 threads in the forums
  • Started this discussions
answered
Member

I also did the updates
0 replies
K
kimflow1
K
  • Member, joined since
  • Contributed 50 posts on the community forums.
  • Started 11 threads in the forums
  • Started this discussions
answered
Member

ok imo i tried this

opentable("Essence Best Selling Artist, Brenda Hampton");
include"<a href='http://www.rohostuff.com/viewpage.php?page_id=2'>This is a description</a>";
closetable();

and this

opentable("Essence Best Selling Artist, Brenda Hampton");
include"<a href='http://www.rohostuff.com/brendahpanel.htm'>This is a description</a>";
closetable();

and I still cannot get the panel to show up.
0 replies
S
Sveinungs
S
  • Veteran Member, joined since
  • Contributed 935 posts on the community forums.
  • Started 3 threads in the forums
answered
Veteran Member

No need to reupload, I guess.
First of all, you need to use (single)qoutations (') in your code, and a link description, like:

opentable("Essence Best Selling Artist, Brenda Hampton");
echo "<a href='http://www.rohostuff.com/viewpage.php?page_id=2'>This is the description</a>";
closetable();


This will only give you a link, though. But it will help you on the way...
To get the page in the panel, include is the right way, yes.
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 19 posts
  • Votes 0 votes
  • Topic users 4 members

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet