Re: edit Blog-Author
Matthias Dieke <[email protected]>
| Newsgroups | gmane.comp.cms.bitflux.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, Christian Stocker wrote: > > On 29.9.2005 22:56 Uhr, Matthias Dieke wrote: > >>Hi, >> >>when I make a blog post I like to use text-field for the author. Some >>times I want to use a authorname which isn't a user in Flux CMS. >> >>I edit "blogpost.xml" and replaced the author-dbform-element with a >>dbform-text-element <dbform:field name="post_author" type="text" >>descr="Author" /> >> >>I cleared the cache. When I "Make a new Blog post" I didn't get a >>text-field for the author. There is still the logedin user shown. > > > This (blogpost.xml) is for the blogposts editor available over > "Bookmarks" -> Blogposts. There you should be able to change the author. > That's the normal dbforms(1) interface > > For the "normal" blog editor you have to change bx/editors/blog/post.xsl > (and maybe others stuff, didn't look deeply into it :) ) > The post.xsl is the right place to build up a input-field. I didn't know much about your blog-implementation. In wich file the sql-insert-query is send??? The problem is, when I enter a username always so the name of the logged-in user will be stored to the db. I had a look to "inc/bx/editors/blog.php", it seams that there a xml-file is builded with all data of the blog-entry. But I didn't find the right place where the authorsname is stored. As you see I need some more infos ;) Thanks. Matthias > chregu > > > >>How can I use a text-field for the author? >> >>Thanks for help. >> >>Matthias > > -- bitflux-cms mailing list [email protected] http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms