• Welcome to KonaKart Community Forum. Please login or sign up.
 
April 24, 2024, 01:13:49 am

Recent posts

Pages 1 2 3 4 5 ... 10
21
Programming of KonaKart / Re: HTTP Status 500 – Internal...
Last post by kameraad759 - December 17, 2020, 03:23:32 am
Solved
22
Programming of KonaKart / HTTP Status 500 – Internal Ser...
Last post by kameraad759 - December 17, 2020, 01:50:54 am
Installed Eclipse, Tomcat 9.0 server, create kkeclipse and imported in Eclipse. When run I get the following error (see att.)error.txt.

How can I run Konakart in Eclips?
23
Programming of KonaKart / Re: Change content in aboutus,...
Last post by kameraad759 - December 15, 2020, 05:41:13 am
I want a English and Germans text for Return, AboutUs and other messages. Directly in the JSP is no options. Language text is dependent on the settings. So how do I do it?
24
Programming of KonaKart / Re: Change content in aboutus,...
Last post by kameraad759 - December 12, 2020, 01:26:17 am
Hello,

The running web application does not look at the C:\KonaKart\custom directory. So any changes made in the src directory are not seen in the output. So there must be another step to make.

Please help me with this, so I do understand how this works.

Thanks
Hans
25
Programming of KonaKart / Re: Change content in aboutus,...
Last post by kameraad759 - December 11, 2020, 12:35:36 am
Hello Marco,

I changed C:\Konakart\webapps\konakart\WEB-INF\classes\Messages_en.properties, and also for the other languages. Added:
my.returns.page.message=This is the Return field

I changed C:\KonaKart\custom\appn\src\com\konakart\actions\ReturnsAction.java. Changed the line:
returnsContent = kkAppEng.getMsg("common.add.info");
in
returnsContent = kkAppEng.getMsg("my.returns.page.message");

Restarted Konakart.

Still I see "Add your information here", when I start the client. Is the src directory the right place to change ReturnAction.java? Not some where in the wepapps directory? I did exactly what you wrote, but still I do not see any change in the Return field. What do I miss?

Thanks
Hans


26
Programming of KonaKart / Re: Change content in aboutus,...
Last post by marco - December 10, 2020, 04:39:54 pm
Hello Hans,

have a look at C:\KonaKart\webapps\konakart\WEB-INF\classes folder.

There you'll find different Messages_XX.properties files. For english language ( default one ) you should actually modify Messages_en.properties. ( note the "_en" suffix ).



Regards,
marco
27
Programming of KonaKart / Re: Change content in aboutus,...
Last post by kameraad759 - December 10, 2020, 07:43:47 am
Just an simple example with commands, so the JSP will be build with the new context.
28
Programming of KonaKart / Re: Change content in aboutus,...
Last post by kameraad759 - December 10, 2020, 03:12:19 am
Thanks Marco for your reply,

I changed ReturnsAction.java as you wrote.I also add in all the Message.properties files my.returns.page.message = This is returned.

I restarted Konakart server (is this needed?), opened the UI Konakart client, but I do not see the message in Returns field. It still displays "Add your information here" instead of "This is returned".

Do I miss a step? A build or something? How do I display the text in the client?

Thanks
29
Configuration of KonaKart / HTTP Status 500 error
Last post by kameraad759 - December 09, 2020, 01:44:38 am
When I set Enable KonaKart Content in the Administration tool and I startup the Konakart UI client, program crashes immediately in the MainLayout.JSP. See att error.txt.

It is a standard installation on Windows 10 and XAMPP

Thanks for any answers.
30
Programming of KonaKart / Re: Change content in aboutus,...
Last post by marco - December 08, 2020, 11:06:56 am
Hello Hans,

as pointed out answering your other post, content management through the Admin app is an Enterprise feature ( I'm guessing you are on a Community installation ). And, personally, I don't think tinkering with the database is a good idea.

With the community edition you can choose to change the text in the Return page using messages. Have a look at C:\KonaKart\custom\appn\src\com\konakart\actions\ReturnsAction.java:

returnsContent = kkAppEng.getMsg("common.add.info");

You'll just have to add a proper message in the relevant Messages.properties file, for example:

my.returns.page.message = This is the returns policy

and then refer to that in the action, changing the above row into:

returnsContent = kkAppEng.getMsg("my.returns.page.message");

Or you may just modify the JSP code at your will.



Regards,
marco

Pages 1 2 3 4 5 ... 10