hdiaz36 wrote:I'm not really sure that I understand this plugin.
I cannot seem to get it to work with any files or with any urls. Can this plugin be used to point to external websites, for example
http://www.google.com ?
Usually an iframe is able to do this, but the plugin is meant to include files or frameworks on the same server. Are you sure you are allowed to reach google.com in China?
hdiaz36 wrote:Haha, what I am doing wrong, I really don't know. This is an event plugin, right?
Yes!
hdiaz36 wrote:I tried starting over from scratch so I removed the plugin and reinstalled it.
Here is what I originally see:
Headline -->
Permalink--> /blog/index.php?/wpages/pagetitle.html
URL shorthand name (Backwards compatibility) --> pagetitle
The URL --->
Height in Pixels --> 1000
Append GET-Variables --> no
Hide sidebars? --> no
I believe that the path to my blog is as follows --> /home/daxueyin/public_html/blog/
This path is what I get when I go to administration -- configuration -- paths
Thats good! Now we do
Code: Select all
Headline -->
Permalink--> /blog/index.php?/myforum.html
URL shorthand name (Backwards compatibility) --> myforum
The URL ---> /blog/forum/incforum.php
Height in Pixels --> 1000
Append GET-Variables --> YES
Hide sidebars? --> no
and inside incforum.php we write
Code: Select all
<html>
<head>myForum</head>
<body>
<?php
require("/home/daxueyin/public_html/forum/SSI.php");
echo '<p>Welcome! This is my Forum inside Serendipity Blog.
Please read the recent topics:</p>
<hr />';
ssi_recentTopics();
?>
</body>
</html>
Thats all we need to do so far.
hdiaz36 wrote:I don't even see a link to anything on my blog when I enter something in the headline field. That tells me that there must be something I am not doing correctly.
I seriously appreciate all the help so far. Can you offer some more guidance, let me get this working with some other website first and then I'll double back and attempt to get my php file working... assuming this plugin is meant to work with external websites.
Yes, sure! I dont recommend using some other site first. Lets do it with your forum. Since we know that you do not have mode_rewrite enabled, which is a webserver feature to modify odd looking urls like
/blog/index.php?/myforum.html to pretty ones like
/blog/myforum.html, we can get this to work. Sorry, it was my fault, not to ask about this first!
Now you have to tell your Blog, that there is a new page you want do have displayed as a new link somewhere in the navigation bar or in the sidebars. This is
not done automaticly! Assuming we want it in the sidebar, we could install a sidebar nugget and go into Admin Panel / Plugins / new Sidebar Plugin / install the
serendipity_html_nugget_plugin and write in its config:
Code: Select all
1: ---> My Forum
2: ---> blah blah something
Entry: ---> <p class="aligncenter"><a href="/blog/index.php?/myforum.html">my forum</a></p>
4: ---> YES
5: ---> Everywhere
With ok and going back to blog, you should now see this link in a new section of your sidebar. If not, there is something wrong, which we can find out next time, but you could clear first, if the url
http://www.yourDomain.cn/blog/index.php?/myforum.html is working as expected, when you put it manually in your browsers addressbar.
Are there errors? How does it look like?
good luck
Ian
Edit:
Just doing some testing. Does the url
http://www.yourDomain.cn/forum/incforum.php work? What kind of output? Any differs from
http://www.yourDomain.cn/forum/index.php etc. ?