Page 1 of 2

Suggest Entries Plugin

Posted: Thu Nov 16, 2006 7:06 pm
by daw
Just installed the "Suggest Entries" plug-in

It does not show up on the Web Log (or rather where are the visitors supposed to go to enter their suggestions)?

Could someone please help?!?

Re: Suggest Entries Plugin

Posted: Fri Nov 17, 2006 1:20 pm
by garvinhicking
Hi!

Have a look at the config of the suggest entries plugin; there you enter the URL under which you can access the SuggesEntries page.

HTH,
Garvin

Suggested Entries

Posted: Fri Nov 17, 2006 7:43 pm
by daw
Hi Garvin and thank you for the reply. The plugin that I downloaded di not have a suggest.html file in it. Do we have to create our own, or did the plug-in not download properly.

Also, do we have to create our own link to the suggest page or does it set a nugget on the side bar that allows the visitors to post suggestions?

Regards,

Dave

Re: Suggested Entries

Posted: Sat Nov 18, 2006 8:16 pm
by garvinhicking
Hi!

There is no suggest.html filerequired for the plugin! Why do you think that? The plugin emits all required HTML when the permalink you configured is called, like "index.php?serendipity[subpage]=suggest" or "index.php?/pages/suggest.html" or what you configured in theplugin-

And yes, you need to create your own link to thatpage with eithera html nugget or an entry,or a templatemodification.

HTH,
Garvin

Help?!?

Posted: Wed Nov 22, 2006 5:12 am
by daw
Hi Garvin,

I am wondering if you could help me a little bit further.

I am very "green" when it comes to html language. I use front page as I need the wsywig to do the work for me.

I am still confused about the "Suggest Entries" plug-in. The web site that is hosting our blog is http://www.homesinguelph.ca/blog and I have set the "Suggested Entries" settings to;
http://www.homesinguelph.ca/blog/index. ... ggest.html

The question is; do I have to set up a link in an html nugget to the suggest page and if I do, what would the link be?

Sorry, this probably sounds trivial to you, but it is very difficult to me.

Thanks in advance.

Dave

Re: Help?!?

Posted: Wed Nov 22, 2006 10:45 am
by garvinhicking
Hi!

The permalink needs to be the string only containing the HTTP path, not the full host.

So instead of

http://www.homesinguelph.ca/blog/index. ... ggest.html

you would need to use

/blog/index.php?/pages/suggest.html


Also, you can access your suggest entry via:

http://www.homesinguelph.ca/blog/index. ... e]=suggest

That link you could then use in your HTML nugget as well!

Best regards,
Garvin

Thank You

Posted: Wed Nov 22, 2006 3:04 pm
by daw
Garvin,

Thank you very much for your assistance.

All is working well!

Regards,

Dave

Re: Help?!?

Posted: Thu Feb 12, 2009 10:20 pm
by ed587
garvinhicking wrote:Hi!

The permalink needs to be the string only containing the HTTP path, not the full host.

So instead of

http://www.homesinguelph.ca/blog/index. ... ggest.html

you would need to use

/blog/index.php?/pages/suggest.html


Also, you can access your suggest entry via:

http://www.homesinguelph.ca/blog/index. ... e]=suggest

That link you could then use in your HTML nugget as well!

Best regards,
Garvin
Hello Garvin,

I've searched and searched for an answer on my own with no luck so here goes.
My suggest_event plugin html nugget in my sidebar only brings up the default p1.html page when I click the link.

In the plugin itself and in the html nugget, the path I am using is:
http://www.mydomainname.com/serendipity ... ggest.html
I have upgraded to 1.4.1, brought the suggest event plugin to the top of the list and created a folder named page to hold the suggest.html file.

Any suggestions? Also I see my User Self Registration plugin has not been working.

Re: Suggest Entries Plugin

Posted: Thu Feb 12, 2009 10:40 pm
by ed587
Yiiiiiiiiiiii! Okay, I see my path in the suggest event plugin is too long, I shortened it to /serendipity/index.php?/pages/suggest.html and that didn't work. It still just brings up the blog. I'm going to change the nugget path and see what happens.

Re: Suggest Entries Plugin

Posted: Thu Feb 12, 2009 10:55 pm
by ed587
ed587 wrote:Yiiiiiiiiiiii! Okay, I see my path in the suggest event plugin is too long, I shortened it to /serendipity/index.php?/pages/suggest.html and that didn't work. It still just brings up the blog. I'm going to change the nugget path and see what happens.
No luck, I've changed these paths at least 20 times, checked permissions, I don't get it.

Re: Suggest Entries Plugin

Posted: Thu Feb 12, 2009 10:58 pm
by Don Chambers

Re: Suggest Entries Plugin

Posted: Thu Feb 12, 2009 11:12 pm
by ed587
Don Chambers wrote:Does it work with http://yoursite.com/path-to-s9y-if-any/ ... e]=suggest
Thanks for the reply Don. No, it just keeps reloading the main page. I edited the suggest event plugin as you wrote above (with my domain name) and also a short version which looked like this:
serendipity/index.php?serendipity[subpage]=suggest

Re: Suggest Entries Plugin

Posted: Fri Feb 13, 2009 12:44 am
by Don Chambers
Um... I missed this earlier:
....and created a folder named page to hold the suggest.html file.
/pages/ is not a real folder - it should not physically exist, nor should there be a physical suggest.html file. Both the folder /pages/ and the file suggest.html are rendered dynamically.

Returning to your home page is probably an indication of a 404 page not found because it literally looked for the html file in what is a real folder. Rename/delete the folder and try it again.

Re: Suggest Entries Plugin

Posted: Fri Feb 13, 2009 11:51 am
by ed587
Don Chambers wrote:Um... I missed this earlier:
....and created a folder named page to hold the suggest.html file.
/pages/ is not a real folder - it should not physically exist, nor should there be a physical suggest.html file. Both the folder /pages/ and the file suggest.html are rendered dynamically.

Returning to your home page is probably an indication of a 404 page not found because it literally looked for the html file in what is a real folder. Rename/delete the folder and try it again.
Thanks again Don. I deleted the folder and replaced the paths a few more times. Nothing worked so I deleted the suggest event plugin and reinstalled it. It worked.

I think the Serendipity software is a fine combination of features which can be edited to suite. I think though that the suggest event form which comes up will intimidate 98% of the users with the big B an URL buttons. I remember another post discussing putting a different editor into the form. I'm going to read everything I can here and see if I can do that. Thanks for all the replies.

The best,
~Ed587

Re: Suggest Entries Plugin

Posted: Fri Feb 13, 2009 3:12 pm
by Don Chambers
Glad to hear your problem is resolved. The plugin and/or your browser may have cached files, so that's probably why it didn't work until reinstalled. The issue with you having created a /pages/ folder may also be why you had another plugin not behaving properly.

I know of no way to insert a different browser into the suggest entries plugin, so if there is one, that is news to me. I see the plugin uses javascript to generate those buttons:

Code: Select all

<script type="text/javascript">
    document.write('<div class="toolbar">');
    document.write('<input type="button" class="serendipityPrettyButton" name="insB"   value="B"   accesskey="b" style="font-weight: bold" onclick="wrapSelection(document.getElementById(\'serendipity_suggest_article\'), \'<strong>\', \'</strong>\')" />');
    document.write('<input type="button" class="serendipityPrettyButton" name="insURL" value="URL" accesskey="l" onclick="wrapSelectionWithLink(document.getElementById(\'serendipity_suggest_article\'))" />');
    document.write('</div>');
</script>
I think you could safely delete those lines in the file plugin_suggest.tpl, OR place a copy of that file in your template folder and delete the lines in that copy.