Part of the EllisLab Network
   
5 of 7
5
Bancha, Open-source CMS
Posted: 30 January 2012 11:16 AM   [ Ignore ]   [ # 41 ]  
Summer Student
Total Posts:  10
Joined  01-09-2012

Hi Nicholsa,

Are you planing for some future versions of getbancha or some tutorials on it? it would be great if there is more users functions like adding the field creator on record table to know who create the post.

Thanks.

Profile
 
 
Posted: 30 January 2012 11:44 AM   [ Ignore ]   [ # 42 ]  
Grad Student
Rank
Total Posts:  38
Joined  01-07-2012
areesto - 30 January 2012 11:16 AM

Hi Nicholsa,

Are you planing for some future versions of getbancha or some tutorials on it? it would be great if there is more users functions like adding the field creator on record table to know who create the post.

Thanks.

Hello,
I’m planning to do some screencasts and written tutorials, more detailed than the introduction tutorial that you can find here:
http://docs.getbancha.com/firststeps/index.html

On the next release I also expect to add an “author” field on the records table. By the way, you can add it by yourself using an xml field like this:

<field id="author">
    <
type>hidden</type>
    <default>eval:
$this->user('id');</default>
</
field

Futher info about the fields: http://docs.getbancha.com/content-types/fieldsets/fields.html

You can also use $this->user(‘full_name’) or $this->user(‘username’)

On the post, you get the value as follows:

$post->get('author'); 
Profile
 
 
Posted: 30 January 2012 11:51 AM   [ Ignore ]   [ # 43 ]  
Summer Student
Total Posts:  10
Joined  01-09-2012
Nicholas Valbusa - 30 January 2012 11:44 AM
areesto - 30 January 2012 11:16 AM

Hi Nicholsa,

Are you planing for some future versions of getbancha or some tutorials on it? it would be great if there is more users functions like adding the field creator on record table to know who create the post.

Thanks.

Hello,
I’m planning to do some screencasts and written tutorials, more detailed than the introduction tutorial that you can find here:
http://docs.getbancha.com/firststeps/index.html

On the next release I also expect to add an “author” field on the records table. By the way, you can add it by yourself using an xml field like this:

<field id="author">
    <
type>hidden</type>
    <default>eval:
$this->user('id');</default>
</
field

Futher info about the fields: http://docs.getbancha.com/content-types/fieldsets/fields.html

You can also use $this->user(‘full_name’) or $this->user(‘username’)

On the post, you get the value as follows:

$post->get('author'); 

Thank you very much, as i can see it’s very flexible!!

Profile
 
 
Posted: 06 February 2012 02:04 PM   [ Ignore ]   [ # 44 ]  
Grad Student
Rank
Total Posts:  38
Joined  01-07-2012

We just pushed a minor version: 1.0.8

- Strip tags added on the events log (title field)
- Triggers on publish/depublish now triggers the production tables instead of the stage ones
- Comments count fix (triggers added on publish)
- the tree() function now accept also the starting page record id

Full changelog here: http://docs.getbancha.com/basic/changelog.html

Profile
 
 
Posted: 19 March 2012 04:12 AM   [ Ignore ]   [ # 45 ]  
Grad Student
Rank
Total Posts:  38
Joined  01-07-2012

Hello, the version 1.1 is out today!

Full changelog here below:

- Bugfix corrected on the Type tree scheme
- New Javascript application file by @domsmasher (html5 boilerplate)
- Custom feed template is now available on the core/views/type_templates folder
- Htaccess file now correctly supports subdirectories
- Some fixes on the rss+json feeds
- The tree() function now accepts also the starting page record id
- XSS clean added on user inputs (such as the comments script on the sandbox theme)
- Strip tags added on the event name when is displayed on the “Last events” page of the admin
- Merge of the development branch (security fixes)
- Some italian localizations
- Rendered views array reversed to reflect their real order (on the website profiler)
- Doc: 1.0.8 changelog list slightly changed

To update, just replace the “core” folder.

http://docs.getbancha.com/basic/changelog.html

Profile
 
 
Posted: 19 March 2012 05:10 AM   [ Ignore ]   [ # 46 ]  
Summer Student
Total Posts:  10
Joined  01-09-2012

Thank you Nicholas, i will test it ASAP… but im in real trouble i did a lot of modifications in the core folder but i think i can still updates cause i have tagged all of them.

Profile
 
 
Posted: 17 April 2012 04:11 AM   [ Ignore ]   [ # 47 ]  
Grad Student
Rank
Total Posts:  38
Joined  01-07-2012

Hello, I just released a unix bash script with some utilities, such as “install” and “update”.
You can find it here: https://github.com/squallstar/bancha-bash

It’s very easy to install, as you can see on the readme file.

wget -q http://getbancha.com/utilities.txt -O _bnc.sh
chmod +x _bnc.sh
sudo mv _bnc
.sh /usr/bin/bancha 

And then,

bancha install 

or

bancha update 

More info and documentation here: https://github.com/squallstar/bancha-bash

Profile
 
 
Posted: 21 April 2012 04:50 AM   [ Ignore ]   [ # 48 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  185
Joined  07-10-2010

Bancha is good and lightweight, I like it!
Anyway… There are some problems for me (I need Bancha as multilanguage). During install, I can choose from 3 languages (Endglish, German, Italian). But as far as I can see… There are no translations for German in the folders (there are some for Italian). So, if there are no translated files, why we have the option to select German?

And in app/config/website.php only ‘en’ is added to the lang array. So, these (half) installed languages are confusing. I am trying to add another language (not German or Italian) and this is not an easy job.

One more issue… When I am editting the homepage (in English, published), I have a big and nice WYSIWYG editor. No matter what I add there (as text, emoticons, etc.), nothing shows on the page. The text on the page remains the same:

This script is located here: themes/sandbox/views/templates/homepage.php

Note that this is also a Record of type Menu marked as website homepage on the settings.

I’m not telling that this is a bug, but I need some more info here. Should I manually edit this template? Or can I insert some text and images with this editor?
Because, as I said… Adding some text in this rich text editor does… simply nothing on the page itself rolleyes

Profile
 
 
Posted: 21 April 2012 11:55 AM   [ Ignore ]   [ # 49 ]  
Grad Student
Rank
Total Posts:  38
Joined  01-07-2012
victorche - 21 April 2012 04:50 AM

Bancha is good and lightweight, I like it!
Anyway… There are some problems for me (I need Bancha as multilanguage). During install, I can choose from 3 languages (Endglish, German, Italian). But as far as I can see… There are no translations for German in the folders (there are some for Italian). So, if there are no translated files, why we have the option to select German?

And in app/config/website.php only ‘en’ is added to the lang array. So, these (half) installed languages are confusing. I am trying to add another language (not German or Italian) and this is not an easy job.

One more issue… When I am editting the homepage (in English, published), I have a big and nice WYSIWYG editor. No matter what I add there (as text, emoticons, etc.), nothing shows on the page. The text on the page remains the same:

This script is located here: themes/sandbox/views/templates/homepage.php

Note that this is also a Record of type Menu marked as website homepage on the settings.

I’m not telling that this is a bug, but I need some more info here. Should I manually edit this template? Or can I insert some text and images with this editor?
Because, as I said… Adding some text in this rich text editor does… simply nothing on the page itself rolleyes

Hi Victorche,
the german translations are contained inside the core/languages/de_DE folder, as you can see here:
https://github.com/squallstar/bancha/tree/master/core/language/de_DE/LC_MESSAGES

Bancha uses two different files for the admin and the website translation. By default, the german translation is available (and enabled) on the administration, and you can test it editing your user and changing the language from the select.

The app/config/website.php file refers to the website available languages, and they can differ from the administration ones. To add a new language on the website frontend, just follow the documentation here:
http://docs.getbancha.com/languages/add.html

Homepage: the text that you see “This script is located bla bla bla…” it’s just an example. You have to remove it inside the view template (homepage.php).
If you wish to display the text that you entered on the textarea in the “Homepage” record of type “Menu”, just put an echo in the homepage template as follows:

<?php echo page('content'); ?> 

Just tell me if you have any other doubt smile I’m here for this.

Nicholas

Profile
 
 
Posted: 23 April 2012 04:38 AM   [ Ignore ]   [ # 50 ]  
Summer Student
Total Posts:  8
Joined  03-27-2012

thats a nice cms, i hope u will keep a good work :D and thx
and i want to ask u something about how we can add some jquery (slide,effect,etc) like the one in www.getbancha.com or www.mint-sugar.com? can u please explain? i really interested to customize it

Profile
 
 
   
5 of 7
5