2011-03-19, 06:59:25
Version 3.0, the editor does not work
News Manager
|
2011-03-19, 06:59:25
Version 3.0, the editor does not work
2011-03-19, 20:50:28
Oleg06 Wrote:Version 3.0, the editor does not work fixed
2011-03-20, 06:24:13
This baby has come a long way, and its impressive that it can do what it does with such clean and concise coding. Well done, my good man.
Since you've been so good at filling out that last request (which did everything perfectly, might I add), I have a few other suggestions that you may consider adding if you have the time (but these needn't affect the final product you have now; everything at the moment is fine). Pseudo-Slug Capabilities If people want to rename their xml files, they do so manually. Granted, it'll be the more experienced (and more pedantic) user who'll be doing this, but perhaps a function can be added that acts like a page slug, so it doesn't need to be done from the back-end all the time. However I would understand your possible reasoning that in doing this it'll essentially be the same as a normal page.....hmm..... Avatars A small text-field that you enter the url for, and the output would give the avatar link within img tags. A simple tick-box field would enable/disable this function per-article, so it isn't a necessity on each page. This could be written in so simply, and the fact that other news/blog plugins for GS don't have the feature means that you could set this thing out with something unique yet desireable. .htaccess-ibility? Not sure how this one would work, but it would be a way of encouraging users to write their own htaccess rules. Sorta like how the settings page for the main site allows you to change things over to pretty-urls, it'd be cool to have a main 'Roog's News Manager Settings' page that lets you define the link structure from within GS. Again, don't even know if this'd be feasible, but I'm just putting it out there as a concept. Thanks again for the work you've put in and I hope to see more great plugins from you in the future!
2011-03-20, 07:19:55
Version 3.0 editor works
2011-03-20, 21:55:46
2011-03-20, 23:01:51
@Angryboy: Thanks a lot! It's really nice to hear so much appreciation for my work! I'll be on vacation for the next 2 weeks, but I'll look into your suggestions when I come back.
@Oleg06: Looking at your website it seems that having this plugin located in the sidebar works pretty well already, isn't it? Maybe you can clarify what changes you would like to see?
2011-03-21, 00:14:36
I would like to see when you click on the news in the sidebar takes you to a page "news"
2011-03-21, 00:24:49
(This post was last modified: 2011-03-21, 00:25:36 by apatheticresistance.)
I have these problems/questions:
How can I put it in the main page (homepage)? Is it possible to edit the theme/structure of a news article? Can I put the code in a simple page by the editor? I'm using the 3.0B r404 version. Thanks in advance PS. Sorry for my English, 'cause I'm Italian ^^"
2011-03-21, 01:49:15
Daddie Wrote:I have these problems/questions: I think you mean 1 or 2 news items on the main page and if you go to the news page that there is the rest? Always the newest items on the main page...
2011-03-21, 01:49:26
@Daddie
If you download and install mvlceck's DynPages plugin, then you can paste the following code into a Component: Code: <?php show_articles(); ?> Name the component 'news'. Then in the actual page you want the news in, paste this wherever you want it to be displayed: Code: { % news % } And you should have the desired result. ----- For you to edit the structure, you'll need to know the CSS of the elements in order to style them accordingly. For things beyond this, you'll need to edit the actual news_manager.php file and modify the outputted coding. ----- Not sure I understand that third request xD ----- Hope this has helped.
2011-03-23, 04:10:47
Congratulations for your plugin, it is perfect for me.
One thing, "Browser Server" button does not show, I change the plugin code a little to fix this. I think that the problem is the function that calls to editor not send all parameters. I copy below the changes that i made in code: <?php echo $TOOLBAR; ?> ] <?php echo $EDOPTIONS; ?>, tabSpaces:10, filebrowserBrowseUrl : 'filebrowser.php?type=all', filebrowserImageBrowseUrl : 'filebrowser.php?type=images', filebrowserWindowWidth : '730', filebrowserWindowHeight : '500' }); Thank you for your work.
2011-03-29, 03:19:03
Thank you for a useful plugin and please keep updating.
Its versitility as a blog would come to full effect if free-hand tag writing where possible by multi parameter pass e.g. <?php show_articles($count, $tag, $tag_case); ?> break down: $count (number of posts) $tag (tag matching string) $tag_case (tag case positive or negative sensetivity) Just a wish for the next release. /eLu
2011-03-29, 08:38:14
Since no one seems to be shy about questions, here's mine:
1. Everything appears on every page. Instructions said to install in template. I guess the behavior is not surprising then. 2. When I click on the excerpt Read More link, the entire article(s) follows on the same page. What I need is - as everyone else and the example describes - is the excerpts on the home page or in the sidebar (much preferred) and a news page to house the full article. Please be gentle. New to Get-Simple over the weekend. SNZ
2011-03-29, 23:06:39
great plugin.
I add something that I think is missing Code: /******************************************************* check it and if you like add usage: in template sidebar.php add something like Code: <div class="section" id="news_list">
2011-03-31, 15:42:13
RewriteEngine On
RewriteRule ^news/([^/]*)\.html$ /index.php?article=$1 [L] Angryboy posted this piece of code early in the thread. Has anyone gotten this code to work so that the articles posted are SEF? This is really the only thing this news manager needs.
Todo arde si le aplicas la chispa adecuada.
2011-04-01, 06:10:07
First off, this is a great plug in, but i had to tweak it.
i would like to share my tweak, I don't recall seeing it on here, but if it is disregard this. My tweak is for the news list. if i add a news item without excerpt, it tends to post the full article on the list, which to me is not needed. I wanted it to show just the list of articles and if there is an excerpt then it shows if not then it doesn't. so, in order to make that work i had to add a little code in the news_manager file. Open the news_manger.php and look for Code: function show_article($id, $excerpt=FALSE) In that function look for Code: if ($excerpt && !empty($data->excerpt)) { edit it to make it be: Code: if ($excerpt){ this will not show the full article content if there is no excerpt. if i make more tweaks be sure to know i'll be posting them. regards irperera
I tested Version 1.2.4 with GS 3.0
as "our" CMS is called "GetSimple", the users don't get a simple newsmanager ;=)
|--
Das deutschsprachige GetSimple-(Unter-)Forum: http://get-simple.info/forums/forumdisplay.php?fid=18
I tried to write more in the text in the posting, but run into a server error, don't know why
I continue here:
|--
Das deutschsprachige GetSimple-(Unter-)Forum: http://get-simple.info/forums/forumdisplay.php?fid=18
2011-04-11, 22:35:01
Connie Wrote:I tested Version 1.2.4 with GS 3.0 I've got the same, but I made some investigation and realized that it's up to localization/encoding/entities in the plugin. Whenever I've put non-ascii character, for example Polish 'ó' (oacute), into the title - article title completely disappeared. The XML file stayed here, but with the <title> tag empty. When I edit the physical file and put the title without non-english chars - article shows again and can be edited from admin panel. I'm using GS 3.0, News Manager v.1.2.4, i18n plugin v.1.1.1 with Polish language files (pl_PL.php) and Polish GS language file with pl.js file for CKEditor. Finally here's my current news_manager.php code (excerpts): * in function article_overview() Code: $title = htmlspecialchars_decode($data->title, ENT_QUOTES); Code: $title = html_entity_decode($data->title, ENT_QUOTES, 'UTF-8'); * in function edit_article($id) in CKEDITOR.replace parameters Code: entities : false, Code: entities : true, * in function save_article() Code: $title = htmlspecialchars($_POST['post-title'], ENT_QUOTES, 'UTF-8', false); Code: $title = htmlentities($_POST['post-title'], ENT_QUOTES, 'UTF-8'); My GSCONFIG.PHP file got Code: # WYSIWYG editor language (default en) Code: # Set PHP locale Now my news_manager plugin works as I wanted. I'm pretty new in GetSimple and PHP (especially with security risk) so tell me if I am wrong with this changes.
Basically I did similar things but I got rid of encoding into entities for excerpt and title, as basically I do not intend to use html tags in both input/textareas.
I attach an archive with my own version (html5 ready), but those who'd like to use this plugin have to translate to their own language on their own. The file contains couple minor improvements (like "go back" link in whole news content), and utilise css. Change below styles to your taste (add colours to text), as some blocks inherit styles from parents in mine css. Code: /******** PS: do not overwrite your existing version of plugin, as this one has a different file name pattern, thus your already existing news may stop working.
Addons: blue business theme, Online Visitors, Notepad
2011-04-13, 21:29:14
Hello
First, I'm not PHP programmer in any way, just a webdesigner I was looking for easy to use CMS and found Get Simple. I really like it. I was checking out this plugin and it's really useful. Only thing I miss is return to articles page from full news page. Is it possible to add something like this? I also wonder how to change English months' names to names in my own language (Polish). Greetings Blazej
replace line 285 in news_manager.php
Code: echo "<p class=\"article_meta\"><b>Permalink:</b> <a href=\"$url\">$url</a></p>"; Code: echo "<p class=\"back_news\"><a href=\"javascript:history.back()\">Back</a></p><p class=\"article_meta\"><b>Permalink:</b> <a href=\"$url\">$url</a></p>"; http://neowebtime.ru/1/news-1?article=4d91a017e7f28
2011-04-14, 05:47:13
Ñþûьшþõ ÑÂÿðÑÂøñþ Þûьõó
@roog: you have a pm !
My Site: The Harad's Forge
Do you want a guestbook on pages or on news manager articles?Download my GS plugin: ARGuestbook
2011-04-18, 21:24:10
there is a big bug,when i write a considerable excerpt (I believe at least 10 lines),after i click on save,in the news manager admin tab aren't shown the name and the date of these article and if i open my site the article isn't shown.
This is a screenshot:
My Site: The Harad's Forge
Do you want a guestbook on pages or on news manager articles?Download my GS plugin: ARGuestbook |
« Next Oldest | Next Newest »
|