Facebook group

Our facebook group facebook.com/groups/redaxscript is the right place for questions, remarks and suggestions.

Not on Facebook? Join our IRC channel #redaxscript on irc.freenode.net for instant support.

Nigel Moore

Nigel Moore

Redaxscript annoying behaviour #1: I'm proofing an article, see a mistake, click edit, change it, save it, and Redaxscript takes me right back to the list of all articles, so to continue proof reading I have to scroll down through all articles, then click into the article again. Why can't it just stay on the article page after an edit save (or a cancel) so one immediately sees the article just changed? Is this possible? Anyone else find this behaviour annoying?
Comments
Jörg Steinhauer

Jörg Steinhauer

I also find it annoying
Henry Ruhs

Henry Ruhs

yeah it sucks as hell
Henry Ruhs

Henry Ruhs

We need a checkbox after the button like to stay after saving - or even better save using AJAX... but the admin is the very last part in the refactoring process - sorry the only way to speed things up is to contribute code :-)
Nigel Moore

Nigel Moore

I'd argue that the default behaviour should be to stay on the article after save/cancel. I see no reason to go to the article list. After an edit, who would not want to see the result of their edit? I'd really like this one fixed asap, in 2.2.0, as it's not something I can hack myself, so how much of a $donation would it require?
Henry Ruhs

Henry Ruhs

Something like that? It's just a Firebug concept
Henry Ruhs

Henry Ruhs

I tested Peek on redaxscript.com - a random internet user did some user testing on the website, what a great thing.
Nigel Moore

Nigel Moore

Does anyone have an explanation or tutorial about how to use Redaxscript hooks? Thanks.
Comments
Nigel Moore

Nigel Moore

Thanks Henry, I've studied Gary's tutorials and they're excellent, so I can create modules now and that's all fine. However, I have a project that requires the article to be manipulated prior to display, and in a more complex way than can be achieved by data insertion using <function>...</function>. So my module needs access to the article output prior to display. In MediaWiki I'd use a hook such as "ParserAfterTidy" which provides direct access to the $text variable containing the article's HTML. So anything changed in $text will be displayed. Is something possible in Redaxscript? It looks like the equivalent to MediaWiki's $text in Redaxscript is $output in "contents.php" but I can't see how to hook into it to manipulate it from within a module.
Henry Ruhs

Henry Ruhs

you cannot manipulate the output rendering with the old codebase, but maby we provide $content->getContent() in 2.3.0
Nigel Moore

Nigel Moore

Thanks Henry, $content->getContent() would be very useful, ideally referencing the parsed article ready for rendering. In the meantime I think I can hack what I need to do by adding a function call to contents.php line 121 after hook('article_end'). But could you just explain the purpose of the statement ".hook('article_end')" on line 120? ...as this is where I'd expect the call to an article_end function to include some data, perhaps $output. But I'm used to using MediaWiki where hooks include the data to be manipulated, and the term 'hook' may mean something completely different in Redaxscript? ...hope I'm making sense!
Henry Ruhs

Henry Ruhs

hooks in redaxscript include function calls and not data :-)
Henry Ruhs

Henry Ruhs

It looks promising to finish Redaxscript 2.2.0 during the next 2 months, depends on our co-developers / team contribution. Anyway looking forward to the very next release and planing related issues, it turned out that this template tags are my suggestion for Redaxscript 2.3.0, of course we provide the old once until 3.0.0... http://pastebin.com/T2aww7mH $template could also be called $view
Nigel Moore

Nigel Moore

I've noticed that if I assign multiple articles to a category, then create an 'extra' which I also assign to that category, the 'extra' only displays for the category page and not for each article in that category. So how do I display an 'extra' for all articles in a specific category? (trialling 2.1.0)
Comments
Henry Ruhs

Henry Ruhs

it does not work with the default extras() but there is a workarround using a partial inside your template: http://pastebin.com/aF6WmUDA
Nigel Moore

Nigel Moore

Thanks Henry, much appreciated. I had to set the publish state to 'unpublished' to get this to work, but I guess that makes sense as its now specifically called via the template rather than through the extras mechanism. I'm happy with that, and learnt a lot about RS in the process! ...however, I still think it would be logical, via the admin console, to be able to show an extra for all articles in a specific category. Or even include categories in the extras->customize->articles dropdown so multiple pages can share the same extra. For example, all news articles could have an extra to join a mailing list or link to an archive, all easily configured in admin rather than php. Anyone else have a view on this?
Henry Ruhs

Henry Ruhs

The big question is... what is the behaviour most people like to have. It's not a big task to change the codebase to meet your needs.
Nigel Moore

Nigel Moore

I'd certainly find that behaviour useful. Can I suggest adding a new extras->customize option called "Articles in category" with a dropdown with all the categories? ...but only if others would find this useful too - any takers out there?
Henry Ruhs

Henry Ruhs

we are on feature freeze because of codebase refactoring, we can only change the behaviour atm.
Henry Ruhs

Henry Ruhs

Someone here who tried 2.1.0 yet?
Comments
Jörg Steinhauer

Jörg Steinhauer

no, but next time
Henry Ruhs

Henry Ruhs

Sad, it took us months to develop it - maby the previous release was too good, therefore people are lazy on upgrading their website? :-)
David Muñoz López

David Muñoz López

The point is I have no time... Can not wait to try it! I have a flat UI concept in mind and I would like to see it working ASAP
Henry Ruhs

Henry Ruhs

very good :)
Henry Ruhs

Henry Ruhs

Get your Redaxscript Tee - this campaign is active for 25 days, we hope you like the design and support us with a purchase. Please share on Facebook and Twitter, thank you community! http://teespring.com/redaxscript
Comments
Henry Ruhs

Henry Ruhs

Not a single buy yet, whats wrong?
Henry Ruhs

Henry Ruhs

This was frustrating, there was not a single one who wants to give something back by ordering a shirt.
Henry Ruhs

Henry Ruhs

Redaxscript 2.2.0 is going to require PHP 5.3 - contact your webhoster soon, if you have an old server.
Comments
Gary Aylward

Gary Aylward

PHP 5.3 was released June 2009 and PHP 5.2 has not been updated since January 2011. If your webhost is still using 5.2, change your host!
Henry Ruhs

Henry Ruhs

"PHP performance also continues to get better with every release. PHP 5.3 was ~20% faster than 5.2, and 5.4 showed a 20-40% improvement over 5.3. Then with PHP 5.5 we got a bundled opcode cache, which has a dramatic positive impact on PHP’s out of the box performance, and removes the necessity of installing APC." http://www.acquia.com/blog/php-performance-fast-enough-and-improving-jonathan-klein
Jason Jarvis

Jason Jarvis

The online demo doesn't work.
Comments
Jason Jarvis

Jason Jarvis

Is this software friendly to those with little web design experience?
Henry Ruhs

Henry Ruhs

I cannot confirm, the demo works for me...
Jason Jarvis

Jason Jarvis

I click on "try it now" and get pushed to http://demo.redaxscript.com/admin
Henry Ruhs

Henry Ruhs

You clicked on "try it now" and got pushed to the demo site's administration. Whats your definition of "doesn't work"?
Tom Horster

Tom Horster

maybe it doesn't install it for him right away :)
Jiří Vaněk

Jiří Vaněk

I was looking forward to test new release but I failed with install:( I wanted to install lite version so I created a database but installation script didn't create any tables. So I imported sql but I can't login with admin user (admin / admin). Any help would be appreciated.
Comments
Henry Ruhs

Henry Ruhs

Hello, why does the installation fail? did it return the green colored success message? did the installation wizard write to your config? is the salt inside your config.php empty?
Jiří Vaněk

Jiří Vaněk

it did return green message
Jiří Vaněk

Jiří Vaněk

it did write to config.php and salt is not empty (i did not modifed config.php by hand)
Henry Ruhs

Henry Ruhs

the passwords are salted, what means it does create a hash from the salt + your password input and is testing again the hash stored in the settings table. in other words, you have to empty the salt to make admin / admin work or use the domain.com/reminder to create a new password.
Henry Ruhs

Henry Ruhs

it would be nice to test the installation wizard on another webspace if you have the time - other users may profit from that

Team

Henry Ruhs

Henry Ruhs
  • Role: Founder and lead developer
  • Location: Germany
  • Website: redaxmedia.com

Jörg Steinhauer

Jörg Steinhauer

Gary Aylward

Gary Aylward

Nguyễn Kim Kha

Nguyễn Kim Kha
  • Role: Developer
  • Location: Vietnam
  • Website: kimkha.com

Petre Alexandru Popescu

Petre Alexandru Popescu
  • Role: Security auditor
  • Location: Romania

Hall of fame

Nakul Mohan

Nakul Mohan
  • Role: Security contributor
  • Location: India

Chandan Singh

Chandan Singh
  • Role: Security contributor
  • Location: India

Contribute

Promote us

Tell your friends about Redaxscript and become a stargazer on Github.

Be creative

Developers are asked for their help, to provide free and commercial templates.

Powered by Redaxscript 2.1.0  •  Design and realization by Jörg Steinhauer & Henry Ruhs