Welcome to Geeklog Wednesday, May 22 2013 @ 03:07 AM EDT
|
||||||||
![]() |
Forum Index > Support > General Geeklog Support |
New Topic
|
Post Reply
|
Adding Geeklog content to an external webpage |
|||
| Chaos Creator |
|
||||||
![]() ![]() ![]() ![]() ![]() Junior Status: offline ![]() Registered: 02/10/08 Posts: 24 |
Okay, I'm pretty new to php and geeklog, so please bear with me.
I'm setting up my website so that each subdomain runs a seperate install of Geeklog. There is a main index page that I would like to display the latest posts from each subdomain on. Would I do this with an RSS feed from each subdomain? Or is there a plug-in I need? Any help would be greatly appreciated. |
||||||
|
|||||||
| jmucchiello |
|
||||||
![]() ![]() ![]() ![]() ![]() Full Member Status: offline ![]() Registered: 08/29/05 Posts: 985 |
Why do they need to be separate installs of Geeklog? With GL permissions you can easily have one set of users who never see anything the other set of users sees. You can nearly have two "Administrators" who can only see half the website.
|
||||||
|
|||||||
| Anonymous: Chaos Creator |
|
||||||
|
|
Yeah, I've reconfigured my whole heirarchy, and I am now running just one install.
One problem. When I try to edit the config.php file, and upload it, my geeklog spits a bunch of crappy output. Does config.php have to be a specific size or anything? I've made some simple changes, and it still does it. |
||||||
|
|||||||
| Chaos Creator |
|
||||||
![]() ![]() ![]() ![]() ![]() Junior Status: offline ![]() Registered: 02/10/08 Posts: 24 |
I have 6 different sections to my website. I want to be able to display the latest posted content from each section on the index page. Not being able to do this and the fact that every time I edit the installed conig.php file a tiny bit, it freaks out have really kind of put me off the whole CMS thing...
|
||||||
|
|||||||
| jmucchiello |
|
||||||
![]() ![]() ![]() ![]() ![]() Full Member Status: offline ![]() Registered: 08/29/05 Posts: 985 |
Quote by: Chaos Creator Make sure there are no extra spaces after the ?> at the end of your config.php (Or before the <?php).
Yeah, I've reconfigured my whole heirarchy, and I am now running just one install. |
||||||
|
|||||||
| 1000ideen |
|
||||||
![]() ![]() ![]() ![]() ![]() Full Member ![]() Status: offline ![]() Registered: 08/04/03 Posts: 1273 |
What editor are you using? What are the changes you do to the config.php?
What is the "latest posted content" is that the last story? Did you try to switch it to "show on front page"? |
||||||
|
|||||||
| Chaos Creator |
|
||||||
![]() ![]() ![]() ![]() ![]() Junior Status: offline ![]() Registered: 02/10/08 Posts: 24 |
Quote by: 1000ideen What editor are you using? What are the changes you do to the config.php? I changed the site slogan, the number of stories per page, made it to where users had to login to view content, and one or two other minor changes. Nothing that should cause it to do what it does. I checked all the tags, and everything looks good. There's no extra white space anywhere or anything. Next question: Is there any way to use one style sheet on one section and another style sheet on a different section? Without editing the template pages, I mean. Editing those usually cause some kind of crazy output as well. And I use Taco Edit on my Mac 10.3 to edit all my html, css, php, etc. The content is the latest story posted in the section. I want a page with just my logo, copyright info, the latest content arranged in 6 different blocks by 2 rows of 3, and my links to different sections. |
||||||
|
|||||||
| Chaos Creator |
|
||||||
![]() ![]() ![]() ![]() ![]() Junior Status: offline ![]() Registered: 02/10/08 Posts: 24 |
Okay, I've done a little more reading and found that I can do what I need to do with the centerblocks thing. But now, the problem is that I can't edit the groups that I need to. When I try to go through my admin panel to the groups section, it says there's a SQL error. And I know everything is installed correctly.
I know I can do it through the config.php file, too, but with the problems I had with it last time, I'm afraid to edit the config file at all. |
||||||
|
|||||||
| 1000ideen |
|
||||||
![]() ![]() ![]() ![]() ![]() Full Member ![]() Status: offline ![]() Registered: 08/04/03 Posts: 1273 |
I think it would be good to find out what causes the problems with config.php. Do a step by step change untill the problems arise.
I don`t know about the editor nor ftp or unpack programmes within Mac but there could be problems anywhere. No you cannot edit groups in the config.php. Yes you can have a separate CSS with every topic if you build a php switch in the header. PHP Formatted Code <link rel="stylesheet" type="text/css" href= <?php global $_CONF, $topic; if ($topic == 'TopicA'){print $_CONF['layout_url'] . '/topicA.css';} else {print $_CONF['layout_url'] . '/style.css';}?> title="{theme}"> You can have the last posting of each topic on the front page, it is a problem to make 2 rows but I`m sure it can be solved somehow. |
||||||
|
|||||||
| Chaos Creator |
|
||||||
![]() ![]() ![]() ![]() ![]() Junior Status: offline ![]() Registered: 02/10/08 Posts: 24 |
w00t! I edited my config.php file with no errors! I'd still like to be able to use two style sheets somehow. I'm working on the centerblock now.
|
||||||
|
|||||||
| Chaos Creator |
|
||||||
![]() ![]() ![]() ![]() ![]() Junior Status: offline ![]() Registered: 02/10/08 Posts: 24 |
Excellent. Thanks for the tip. Things are looking up, now. I'll surely have more questions.
|
||||||
|
|||||||
| Chaos Creator |
|
||||||
![]() ![]() ![]() ![]() ![]() Junior Status: offline ![]() Registered: 02/10/08 Posts: 24 |
Well, it didn't take long, but I have another question. How can I edit groups without use of the admin cp? My Groups section just keeps giving the SQL error.
|
||||||
|
|||||||
| 1000ideen |
|
||||||
![]() ![]() ![]() ![]() ![]() Full Member ![]() Status: offline ![]() Registered: 08/04/03 Posts: 1273 |
debug the error, use $_CONF['rootdebug'] = true; in config.php and look at error.log
|
||||||
|
|||||||
| Chaos Creator |
|
||||||
![]() ![]() ![]() ![]() ![]() Junior Status: offline ![]() Registered: 02/10/08 Posts: 24 |
"Fri 15 Feb 2008 02:21:02 EET - 1054: Unknown column 'grp_gl_core' in 'where clause'. SQL in question: SELECT * FROM ge_groups WHERE (grp_gl_core = 0 OR grp_id in (2,13)) "
So something's wrong in the database? Or is it a bad query? Also, I tried to set a centerblock before the PHP was enabled, and now I can't see anything in the center section. None of my admin options show up either... |
||||||
|
|||||||
| jmucchiello |
|
||||||
![]() ![]() ![]() ![]() ![]() Full Member Status: offline ![]() Registered: 08/29/05 Posts: 985 |
Is this an upgrade from an older version of Geeklog? A new install should not have any problems with that field.
|
||||||
|
|||||||
| Chaos Creator |
|
||||||
![]() ![]() ![]() ![]() ![]() Junior Status: offline ![]() Registered: 02/10/08 Posts: 24 |
It's an install provided by my web host. I think it's 1.4.1. Should I try to get an install and do it myself?
|
||||||
|
|||||||
| jmucchiello |
|
||||||
![]() ![]() ![]() ![]() ![]() Full Member Status: offline ![]() Registered: 08/29/05 Posts: 985 |
Yes. Always install software yourself, not just Geeklog. You never know what a webhost has done if they install it and they aren't going to support you if you have problems.
|
||||||
|
|||||||
| Chaos Creator |
|
||||||
![]() ![]() ![]() ![]() ![]() Junior Status: offline ![]() Registered: 02/10/08 Posts: 24 |
I can't SSH into the host to install it. Great.
|
||||||
|
|||||||
| Chaos Creator |
|
||||||
![]() ![]() ![]() ![]() ![]() Junior Status: offline ![]() Registered: 02/10/08 Posts: 24 |
Great. I can't manage my plugins, either.
|
||||||
|
|||||||
| Dirk |
|
||||||
![]() ![]() ![]() ![]() ![]() Admin ![]() Status: offline ![]() Registered: 01/12/02 Posts: 13027 |
As Joe said, that error shouldn't happen on a fresh install. We have no control over what those autoinstallers include in their packages - it's possible that their package is faulty.
And you don't need ssh access to install Geeklog (although it can be more convenient that way). ftp will do just fine - you only need to remember to edit config.php and lib-common.php before you upload them. bye, Dirk |
||||||
|
|||||||
| Content generated in: 1.55 seconds |
|
|
|