Blog Post Issues

2 posts by 2 authors in: Forums > CMS Builder
Last Post: May 16, 2014   (RSS)

By Perchpole - May 1, 2014

Hello, All -

I'm having a couple of problems with a Blog post page on a client's site. The page acts as a normal blog roll. However, if the site admin is logged in then a blog posting gizmo appears at the top of the page. This is a modification of the old UploadForm available from this forum (somewhere!).

It works very well except for two issues:

1) When a person submits a post, the page reloads but doesn't show the latest entry. You have to load the page again before it appears. How can I force the page to refresh as the new post is submitted?

2) I have added a drop-down menu to the form  allowing the user to choose from a selection of files which are already loaded into the system. It works fine but I would like to make it a multi-select menu.

Part of the code for the query in the form looks like this...

title            = '".mysql_escape( $_REQUEST['title'] )."',
content          = '".mysql_escape( $_REQUEST['content'] )."',
linkedAssets     = '".mysql_escape( $_REQUEST['assets'] )."',
youTube          = '".mysql_escape( $_REQUEST['youTube'] )."'

What I need to do is change the entry for "linkedAssets" to make it handle the data from a multi-select menu. I think I need to turn it into an array but I'm not sure how.

Any help would be most appreciated.

:0)

Perch