Help: Embedding content in S9Y Efficiently?
Posted: Thu Sep 21, 2006 5:35 am
Garvin & Jude you guys rock and have helped a ton so far, so im hoping you guys can help again, one day when I have some experience behind me Ill contribute as well.
Ok so I was trying to use the static page plugin, now maybe Im looking in the wrong place but is there no documentation for any of the plugins? Im not talking just the code either, im talking user documentation?
Near every plugin I look at the code isnt documented besides listing the author, now I can read most of it, stuff I havnt seen before I can google. But I cant learn to use a plugin if there is no documentation to use it.
For example Im trying to use the Static Page plugin, I go to admin, click the link create a new page and there are a slew of fields to enter, now they do have descriptions but it took 30 mins of searching and reading to figure out how most of it works, and I still dont have it displaying the text!
Sorry thats my rant.
I dont know how you guys are doing this and you may be using the static page plugin, and I was going to use the Static Page plugin, but to my knowledge this plugin basically creates the entry and stores it in the DB, I'm not personally sure thats a great thing and it only accepts html so no php, js, flash etc -- Correct me if im wrong.
Would it not be better to just check for the passed parameter and then include a file instead of displaying the blog, this would free up the SQL calls for the information?
Using an About page as an example I would simply write a about.php file with whatever code I like, then using a combination of config.inc.php and modding code in index.tpl I could check for the passed parameter using [GET] if it was equal to About then I would include about.php instead of rendering the blog interface?
Im looking to embed a gallery soon thats why im starting small, but I have read all the posts on embedding gallery2, plogger, coppermine etc none of it seems simplistic and none of the threads finish with a complete solution so im pulling my hair out lol.
Am I on the right path if I wanted to embed stuff into my page?
One problem im sure im going to face is the paths generated by gallery apps, as gallery apps rely on file structure not includes as my soln is, so seeing as my s9y is installed in root/serendipity, and for example plogger was installed in root/plogger it would be difficult to get the links right or embed it. I have a headache from this now. Id appreciate your input, if I have to create a plugin, or use a plugin I dont mind just looking for a good solution.
Thanks!
Ok so I was trying to use the static page plugin, now maybe Im looking in the wrong place but is there no documentation for any of the plugins? Im not talking just the code either, im talking user documentation?
Near every plugin I look at the code isnt documented besides listing the author, now I can read most of it, stuff I havnt seen before I can google. But I cant learn to use a plugin if there is no documentation to use it.
For example Im trying to use the Static Page plugin, I go to admin, click the link create a new page and there are a slew of fields to enter, now they do have descriptions but it took 30 mins of searching and reading to figure out how most of it works, and I still dont have it displaying the text!
Sorry thats my rant.
I dont know how you guys are doing this and you may be using the static page plugin, and I was going to use the Static Page plugin, but to my knowledge this plugin basically creates the entry and stores it in the DB, I'm not personally sure thats a great thing and it only accepts html so no php, js, flash etc -- Correct me if im wrong.
Would it not be better to just check for the passed parameter and then include a file instead of displaying the blog, this would free up the SQL calls for the information?
Using an About page as an example I would simply write a about.php file with whatever code I like, then using a combination of config.inc.php and modding code in index.tpl I could check for the passed parameter using [GET] if it was equal to About then I would include about.php instead of rendering the blog interface?
Im looking to embed a gallery soon thats why im starting small, but I have read all the posts on embedding gallery2, plogger, coppermine etc none of it seems simplistic and none of the threads finish with a complete solution so im pulling my hair out lol.
Am I on the right path if I wanted to embed stuff into my page?
One problem im sure im going to face is the paths generated by gallery apps, as gallery apps rely on file structure not includes as my soln is, so seeing as my s9y is installed in root/serendipity, and for example plogger was installed in root/plogger it would be difficult to get the links right or embed it. I have a headache from this now. Id appreciate your input, if I have to create a plugin, or use a plugin I dont mind just looking for a good solution.
Thanks!