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.

Henry Ruhs

Henry Ruhs

Powered by Redaxscript, including lot of customization.
Henry Ruhs

Henry Ruhs

I know that the meta tag for keywords is less important these days and Google is going to ignore it, still I added a fresh plugin to the upcoming Redaxscript 2.2.0 that will generated keywords out of your article's text... See demo with old concept code: http://jsfiddle.net/2jp28/4/ See the fresh code on Github: https://github.com/redaxmedia/redaxscript/blob/develop/scripts/keyword.js This plugin (like any other) can be disabled by using r.plugins.generateKeyword.startup = false; inside your template's startup.js
Henry Ruhs

Henry Ruhs

Hey guys, please stop posting off-topic here. Thanks
Malcolm White

Malcolm White

What's the best way to make suggestions, or contribute code wise to Redaxscript? Fork it?
Comments
Henry Ruhs

Henry Ruhs

Hey Malcolm, the best way is to contribute code by yourself to get things done, because we have milestones according to topics like ORM, template engine and stuff. The facebook group is a good place to discuss an feature. Then open an issue on Github an we can talk about the technical details. I can provide consulting to learn more about the Redaxscript standards and quality assurance tools.
Nigel Moore

Nigel Moore

I'd expect module styles to be rendered after a css reset, and probably after all template styles, but on the demo site, demo.redaxscript.com, I see the editor module styles are rendered before reset.css. Is this a bug?
Comments
Henry Ruhs

Henry Ruhs

Nope, this is not a bug. It's a feature that makes it possible to style modules over your template.
Nigel Moore

Nigel Moore

Thanks Henry, but could you give me a real world example of why doing it the Redaxscript way might be useful? ...as I still see it differently: CSS is all about cascading styles from generic to explicit. So normally styles would be output to the HTML in this order: 1. Reset (global) 2. Generic stuff like grids & fonts (global / per site) 3. Template (aka skin) (per site / per page) 4. Module (per page / per module) By outputting Module CSS before the others, means that a module cannot modify styles set in a template. So on the demo site, styles in the template take precedence over styles in the editor module. This seems wrong. In my real world, say the template defines a site-wide background colour for .box_content of WHITE then a specific module requires .box_content to have a background colour of GREY just for the page the module is used on, currently Redaxscript doesn't allow this as the template CSS is output after the module CSS so the background colour is always WHITE and a module cannot change it. So I'm forced to put module specific CSS in the template. So how does the current Redaxscript way benefit us in the real world?
Henry Ruhs

Henry Ruhs

The idea was to override modules with your template. We have very low cascades in Redaxscript, so you will have no problem to handle your CSS. Anyway it is wrong to have 1. Modules und 2. Template that includes the 2.1 Reset and core stuff und 2.2 Template itself... I think we should change that in 2.3.0 while refactoring the loader and head introducing $this->template()->meta(), $this->template()->script() and $this->template()->style() helpers with prepend and append. $this->template()->style()->append('my.css'); $this->template()->style()->prepend('my_at_the_top.css'); // output all css echo $this->template()->style(); Finally, maby we should drop the .loader files and only use the described way...!?
Nigel Moore

Nigel Moore

Thanks Henry, that looks like a logical solution and would introduce some flexibility.
Henry Ruhs

Henry Ruhs

Redaxscript 2.2.0 modules can be written in OOP. Yippie! I introduced a Module class to handle the standard install and uninstall process, so new modules no longer need an install.php unless they just want to be added to the modules table of the database. old style with functional programming: https://github.com/redaxmedia/redaxscript/blob/master/modules/demo/index.php new style with object oriented programming: https://github.com/redaxmedia/redaxscript/blob/develop/modules/demo/index.php the Module class that replaces install.php: https://github.com/redaxmedia/redaxscript/blob/develop/includes/Module.php
Comments
Nigel Moore

Nigel Moore

Good work Henry!
Nigel Moore

Nigel Moore

I'm trying to use navigation_list() to list the articles in a specific category by the alias of the category, but can't figure it out from the documentation. This works: navigation_list('articles',array('parent' => 3)); ...where '3' is the category id from the database. But: navigation_list('articles',array('parent' => 'category-alias')); fails to list anything. Any help appreciated. Thanks.
Comments
Gary Aylward

Gary Aylward

The parent has to be an ID. The documentation sucks! But we are re-factoring the navigation NOW and the new documentation is much better. :) Might even manage to add the ability to filter by category alias as an alternative to category ID...
Henry Ruhs

Henry Ruhs

We plan to improve our websites documentation for Release 2.3.0 - since it will introduce the new $template->tagStuff() and we update most of the template related functions it does not make sence to update it before that release. https://github.com/redaxmedia/redaxscript/issues/177 https://github.com/redaxmedia/redaxscript/issues/178 It would be helpful to get some ideas, great to get some concept, awesome if someone has the time to write it! :-) If you are asking why the documentation is so bad? Well, developers are lazy about documentation and sometimes you are missing the point of view that users have.
Nigel Moore

Nigel Moore

On the redaxscript demo system, having an issue with duplicate content... These URLs for the same article: .../zz-category/zz-article-1 and .../zz-article-1 have two different canonical links in the head. Shouldn't the canonical links be the same to avoid duplicate content issues?
Comments
Henry Ruhs

Henry Ruhs

You found a bug, because ".../zz-article-1" should throw an error...
Nigel Moore

Nigel Moore

I'm trying to put the entire Redaxscript source in a server subdirectory and use htaccess rewrites to set the subdirectory as root so its not seen in URLs. This is common practice. However, as Redaxscript get_root() sets ROOT based on the server directory path, then uses the same ROOT to set HTML BASE, I cannot see how I can possibly get this to work. I would have expected Redaxscript to use one path for server internal functions and another at the HTML level. By default these would be the same, but would provide flexibility if needed. Any thoughts on this? Thanks.
Comments
Henry Ruhs

Henry Ruhs

Thats the common practice for security reason, I totally agree. I guess you have an special hoster or even server? Most webspaces do not offer a public and application folder, so Redaxscript (like many other CMS) does not support this. Maby you can hack arround with .htaccess but I have no idea how...
Nigel Moore

Nigel Moore

Nothing special about my web host or server - its cpanel, probably the most common hosting environment around!
Henry Ruhs

Henry Ruhs

So you have an dedicated server? Shared hosting is the common hosting world wide and for that reason most CMS work the way they do...
Nigel Moore

Nigel Moore

Nope, cpanel on shared apache server - nothing special. Just wanted to keep all the redaxscripts files & folders in a /rs-2-1-0 sub-folder. Not a problem though - they'll just have to go in root. Just makes upgrades more painful with no quick roll-back.
Henry Ruhs

Henry Ruhs

A couple of heros pushed Redaxscript beyond the 50 stars on Github, thats kind of awesome - maby we can reach over 70 to the end of the year? http://github.redaxscript.com
Powered by Redaxscript 2.1.0  •  Design and realization by Jörg Steinhauer & Henry Ruhs