Search found 51 matches

by NeilW
Thu Jul 16, 2015 9:49 am
Forum: General discussions
Topic: How to get s9y to detect that it is in the backend?
Replies: 22
Views: 7655

Re: How to get s9y to detect that it is in the backend?

Hi Don, Obviously the Freetag plugin was causing that initial "Error redirect", so I have uninstalled it and will worry about tags later. Also, I notice that even when the full URL is not provided to the Java Scripts under different conditions, the scripts still work. I am ahead of where I was last ...
by NeilW
Thu Jul 16, 2015 3:19 am
Forum: General discussions
Topic: How to get s9y to detect that it is in the backend?
Replies: 22
Views: 7655

Re: How to get s9y to detect that it is in the backend?

Hi Don, That seemed to work thank you, but not quite. I have been working with onli to get my front end right and we have found the way. The only problem was that after putting the if statement that I mentioned at the top of this post to bring my php menu into a Smarty variable I was previously gett...
by NeilW
Wed Jul 15, 2015 11:43 am
Forum: General discussions
Topic: How to get s9y to detect that it is in the backend?
Replies: 22
Views: 7655

How to get s9y to detect that it is in the backend?

From within the front end template's config.inc.php file, I am trying to create a simple IF statement to say to the admin files when opening the backend... If in the admin backend... Do this.... Else... (On the front end blog) Do that... Does anyone know how to structure the IF statement to do this?...
by NeilW
Fri Jul 10, 2015 9:27 am
Forum: Installation
Topic: Backend no longer rendering after embedding front end
Replies: 29
Views: 9996

Re: Backend no longer rendering after embedding front end

Hi Don, onli, Ian and YL, Before I reply further, is this topic essentially the same being discussed here? Yes sorry, it is not my habit to start off multiple threads. My problem initially started here as an installation problem and, on advice, I started up the other thread. This one never wanted to...
by NeilW
Thu Jul 09, 2015 4:06 am
Forum: Installation
Topic: Backend no longer rendering after embedding front end
Replies: 29
Views: 9996

Re: Backend no longer rendering after embedding front end

Hi Don, Thank you for your reply and sorry for the long posts but they are a probably caused by the fact that while I have the outcome I want very clear in my mind, I do not know the workings of s9y well enough to know exactly how to achieve it. So at the risk of yet another long post I hope to be a...
by NeilW
Thu Jul 09, 2015 12:39 am
Forum: Installation
Topic: Backend no longer rendering after embedding front end
Replies: 29
Views: 9996

Re: Backend no longer rendering after embedding front end

So why do you embed the Serendipity "body output" into another framework then? Why don't you just make your own theme, by coping an exiting one and make that appear as you like it to behave? I think that this is most of the problem. Although I can view all the pieces of a theme in the theme's direc...
by NeilW
Wed Jul 08, 2015 4:06 pm
Forum: Installation
Topic: Backend no longer rendering after embedding front end
Replies: 29
Views: 9996

Re: Backend no longer rendering after embedding front end

Hi Ian, I am following these docs http://s9y.org/55.html and using this code... <?php $_REQUEST['page'] = 'blog'; // Let serendipity generate our content: ob_start(); require 'index.php'; $blog_data = ob_get_contents(); ob_end_clean(); // Now we include our normal content building file. // This one ...
by NeilW
Wed Jul 08, 2015 1:47 pm
Forum: Installation
Topic: Backend no longer rendering after embedding front end
Replies: 29
Views: 9996

Re: Backend no longer rendering after embedding front end

Hi Ian, Sorry if my site is such "a huge bunch of empty buzzwords" for you. I feel that when I read the docs here. ;) It is not meant to be like that and I would love to speak with you separately about it. (No offence taken, just want to make my site more user friendly.) But let me try to put my pro...
by NeilW
Wed Jul 08, 2015 12:26 pm
Forum: Plugins
Topic: Header Plugin for Embedded Blog
Replies: 8
Views: 4841

Re: Header Plugin for Embedded Blog

Well another day gone and another day of grief. It seems what I am trying to achieve is totally impossible in the s9y environment. :( All I want to do is to be able to implant some PHP "require" code into the header of each post page so that I can bring in a new header unique to the page with all of...
by NeilW
Wed Jul 08, 2015 12:21 pm
Forum: Installation
Topic: Backend no longer rendering after embedding front end
Replies: 29
Views: 9996

Re: Backend no longer rendering after embedding front end

Hi Ian, Thanks again for the reply. Yes, I did not realise that the Disqus snippet was actually JavaScript not PHP - it actually activates a PHP plugin for my membership site though. But having a membership site is the biggest issue that I have found with the s9y installation and what has caused me ...
by NeilW
Wed Jul 08, 2015 3:00 am
Forum: Plugins
Topic: Header Plugin for Embedded Blog
Replies: 8
Views: 4841

Re: Header Plugin for Embedded Blog

Hi YL, Replicating the look and feel of an existing site or even embedding s9y into said site can be a much harder task because it's more complex and there's not many people here experienced with it. Yes, I understand what you are saying. I am certainly nowhere near being able to call myself a progr...
by NeilW
Mon Jul 06, 2015 8:46 pm
Forum: Plugins
Topic: Header Plugin for Embedded Blog
Replies: 8
Views: 4841

Re: Header Plugin for Embedded Blog

Thanks again YL, I will give those other plugins a try, but like you the more I think about it I tend to feel that trying to edit the "content.php" template on the fly for each blog post for an embedded installation may be an issue at this time. If Serendipity "replicates" the "content.php" template...
by NeilW
Mon Jul 06, 2015 8:54 am
Forum: Plugins
Topic: Header Plugin for Embedded Blog
Replies: 8
Views: 4841

Header Plugin for Embedded Blog

Being new to blogging I am still trying to get my head around how Serendipity works. But so far I have managed to get my blog up and running and also embedded the Clean Blog template into it. For the embedded method I followed the instructions for the 'indexFile' option. But where I appear to be loc...
by NeilW
Mon Jul 06, 2015 3:24 am
Forum: Installation
Topic: Backend no longer rendering after embedding front end
Replies: 29
Views: 9996

Re: Backend no longer rendering after embedding front end

Hi Ian, Have tried what you said, but still came to grief. - I could not get my blog page to render. :( But anyway, I have now gone right back to square one and figured out the 'indexFile' option using a wrapper page which gets my blog page to render and now has the admin pages also fully rendering....
by NeilW
Sun Jul 05, 2015 11:51 pm
Forum: Installation
Topic: Backend no longer rendering after embedding front end
Replies: 29
Views: 9996

Re: Backend no longer rendering after embedding front end

Hi Ian, Btw, I am pretty sure this will conflict somewhere and is not a valid thing to do, since you put a javascript block on top of the doctype of your sites index. Did you mean 'php code' rather than 'javascript' there as I am not quite sure what javascript block you are referring to? I would agr...