You are reading the Drake CMS Official Forums archive, available for historical purposes only.
Drake CMS has been rebranded into Lanius CMS, visit the new Lanius CMS Official Forums if you need support about Lanius CMS or Drake CMS -> Lanius CMS migration.
I just got r3921,
installed everything, everything works fine. But when tried to
run the site with the new language, the same CP1250 problem
occurs...
How can that be? Wasn't it fixed? Or did you
just fix it (meaning later than r3921, which is the online
version of the moment)
I thought it was
fixed...it is not yet! Can you try with r3922?
Looks
like the error only happens in some conditions. Maybe it happens
when the copied EN folder renamed to RO is used? Or also happens
on the normal EN resources?
catasoft
Re: Simple ShoppingCart component/modules...
13 July 2007 11:57
Anonymous
I'm not using the renamed "en" folder anymore, i
recreated the lang with the com_language and re-inputed the
strings.
English works fine. It's Romanian which
crashes (there are strange chars like: îăâţş).
legolas558
Re: Simple ShoppingCart component/modules...
13 July 2007 12:03
Anonymous
Very strange...still crashing with the most recent revision?
Are you using Firefox or Internet Explorer? The strange
characters may be due to the browser...
legolas558
Re: Simple ShoppingCart component/modules...
13 July 2007 12:22
Anonymous
With revision 3924 this bug is fixed, finally It
wasn't fixed in revision 3921 due to a PHP bug now it has
been worked around
I was trying to
uninstall my drabot in order to reinstall it multilanguage and
that's what i got. I checked my file against the one in the
latest svn and it's same size.
tell me when u fix
this one, it seems like a missing "null" parameter in
com_drabots/admin_drabots.php.
catasoft
Re: Simple ShoppingCart component/modules...
13 July 2007 15:54
Anonymous
I think it's a missing "$_POST" It worked
now But it sais "Errors during uninstall" (inside
a JavaScript alert), only it no longer shows them.
catasoft
Re: Simple ShoppingCart component/modules...
13 July 2007 16:37
Anonymous
Legolas, why is it that this xml doesn't install the language
files also? Quote:
I was trying to
uninstall my drabot in order to reinstall it multilanguage and
that's what i got. I checked my file against the one in the
latest svn and it's same size.
tell me when u fix
this one, it seems like a missing "null" parameter in
com_drabots/admin_drabots.php.
Possibly
yes...when you found bugs, please create bug tracker items in
[url=http://sourceforge.net/tracker/?group_id=166901&atid=840
802]our
bug tracker[/b] and paste the full error dump,
that will allow us to fix the error.
But width also be a
percent (like it was in my case) Replaced $num_arr with 1
and works.
Ok, this one is fixed - thanks
legolas558
Re: Simple ShoppingCart component/modules...
13 July 2007 22:07
Anonymous
Quote:
Legolas, why is
it that this xml doesn't install the language files also?
I don't know..I will give a deeper look and tell you about my
findings
catasoft
Re: Simple ShoppingCart component/modules...
14 July 2007 07:12
Anonymous
Legolas
This latest Drake seems more stable indeed,
and Pahway works:) we'll what arises next. I'm also sorry
to bug u so much now that you're in "release mode" Latest
issues:
[li]for some reason after i logoff the site
turns to english, although i actually want it to be by default in
Romanian. So i don't want Drake to read browser language or do
things by itself (Like Microsoft software ). Is there a
way i can tell it to always display in Romanian?
[li]how can i have next/previous links between articles in
the same cathegory? I remember in limbo there was a limbot one
could activate and Voila: it was everywhere. But i didn't find it
in Drake. How can i do it?
Will i have to create
this drabot too? This one is important for site navigation
[li]i don't think it's fair to clean the pathway after
display:
Code:
function PathWay() { echo
$this->pathway; $this->pathway = null; }
I personally would make it like
this:
Code:
function PathWay($clean_pathway = true) { echo
$this->pathway; if ($clean_pathway) $this->pathway = null; }
I wanted
to display 2 pathways -one at the top of the template and one at
the botton and it didn't work cause of this Now it works [li]how can i
make drake liter? (smaller in size) Now it has over 3000 files
and this is way too much for a lite weight CMS.
Quote:
EDIT: after
deletion of SVN folders and files, it is under 1500. If i remove
tiny, it gets down to 900 :), which is pretty ok
I'd also like to remove some components that i'll never use
BUT since they are part of drake install, i wonder how will i be
able later to reinstall them if necessary.
Do you
guys also have the modules/components/drabots that are part of
the drake releases as separate packages?
[li]i
tried and tried to play with css but couldn't add a margin-top to
mainmenu items, or some sort of margin. I'd like them to have
some distance in between :(.
[li]i have a -nav
suffix in a menu and it is rendered like this:
Quote:
<div
class="dk_module dkmod_menu -nav">
Is this ok? Shouldn't -nav be tied to dkmod_menu?
[li]is legolas a girl or a boy? i mean i see
you're Daniele, but that could be both if you're
italian you're a guy
My site is ready to upload, but
these issues are my latest problems. They should be the last
before i have a Working site. Next would be implementing
a multilanguage site with Drake: -how do i display a
language combobox or flags somewhere in the page? -how to
setup a default language (always displays in that one, no matter
the browser language or other environment variables) -2
kinds of multilanguae sites: 1)exact same content is present in
all languages or 2)each language is basically a different site
and u cannot switch from article X in language L to article X in
lanuage L1 cause it may not be there. -any translation
component for interface elements? (like JoomFish?) inner workings
of i18n
Thanks again
Cata
legolas558
Re: Simple ShoppingCart component/modules...
14 July 2007 09:01
Anonymous
Quote:
Legolas
This latest Drake seems more stable indeed, and Pahway
works:) we'll what arises next. I'm also sorry to bug u so
much now that you're in "release mode"
Don't worry, I should (hopefully) be able to handle
the situation
Quote:
for some reason after i logoff the site turns
to english, although i actually want it to be by default in
Romanian. So i don't want Drake to read browser language or do
things by itself (Like Microsoft software ). Is there a
way i can tell it to always display in Romanian?
Reading and interpreting the browser Accept-language is
not a bad practice.
If you are logged
in, you can have a custom language. If you are not logged
in, you can use the mod_lang, but that would be temporary. There is no way to have a custom language setting if you are
not logged in, because we do not use permanent cookies. You
can modify the default language in the admin backend global
configuration, although you'd also have to remove the EN folder
but it is not suggested to do that because it
would break the language manager.
Quote:
how can i have
next/previous links between articles in the same cathegory? I
remember in limbo there was a limbot one could activate and
Voila: it was everywhere. But i didn't find it in Drake. How can
i do it? Will i have to create this drabot too? This one is
important for site navigation
That drabot was
removed because it was pretty inefficient, I'd better like to
rewrite it or implement a sub-feature of the content component.
On the SVN repository (around v0.4.0) there should still be that
file, if you want a quick solution.
Quote:
i don't think it's
fair to clean the pathway after display: Code:
function PathWay() { echo $this->pathway; $this->pathway = null; }
I personally would make it like this: Code:
function
PathWay($clean_pathway = true) { echo $this->pathway; if ($clean_pathway) $this->pathway = null; }
I wanted to display 2 pathways -one at the top of
the template and one at the botton and it didn't work cause of
this Now it
works
I will remove the cleaning code, which was only an
optimization.
Quote:
how can i make drake liter? (smaller in size) Now
it has over 3000 files and this is way too much for a lite weight
CMS. Quote:
EDIT: after
deletion of SVN folders and files, it is under 1500. If i remove
tiny, it gets down to 900 :), which is pretty ok
I also think that it is lite enough! We plan a
very lite version in future, too
Quote:
I'd also like
to remove some components that i'll never use BUT since they are
part of drake install, i wonder how will i be able later to
reinstall them if necessary. Do you guys also have the
modules/components/drabots that are part of the drake releases as
separate packages?
The non-core add-ons can be safely
removed; no, we don't have such separate packages but they should
be easily created, I think
Quote:
i tried and tried to play with css but couldn't add
a margin-top to mainmenu items, or some sort of margin. I'd like
them to have some distance in between :(. [li]i have a -nav
suffix in a menu and it is rendered like this: Quote:
<div
class="dk_module dkmod_menu -nav">
Is
this ok? Shouldn't -nav be tied to dkmod_menu?
You did not get the latest updates about the new CSS model. Go
edit your topmenu instance and have the class name being
"topmenu". Then go edit the topmenu's CSS, that will
work
Quote:
is legolas a girl or a boy? i mean i see
you're Daniele, but that could be both if you're
italian you're a guy
I am Italian and a quick system
check also confirmed that I am a boy Quote:
My site is
ready to upload, but these issues are my latest problems. They
should be the last before i have a Working site.
I think that more issues will arise when the site will be
online... Quote:
-how do i
display a language combobox or flags somewhere in the page?
Create a language module instance
Quote:
-how to setup a
default language (always displays in that one, no matter the
browser language or other environment variables)
Explained previously
Quote:
-2 kinds of multilanguae sites: 1)exact same
content is present in all languages or 2)each language is
basically a different site and u cannot switch from article X in
language L to article X in lanuage L1 cause it may not be there.
Drake CMS currently only allows sites of type
1, that is, only the interface text is internationalized.
Quote:
-any
translation component for interface elements? (like JoomFish?)
inner workings of i18n
You mean for the content
items and similar?
Quote:
Thanks again
Cata
No problem!
catasoft
Re: Simple ShoppingCart component/modules...
14 July 2007 15:13
Anonymous
Quote:
Reading and
interpreting the browser Accept-language is not
a bad practice.
If you are logged in, you can have a
custom language. If you are not logged in, you can use the
mod_lang, but that would be temporary. There is no way to
have a custom language setting if you are not logged in, because
we do not use permanent cookies. You can modify the default
language in the admin backend global configuration, although
you'd also have to remove the EN folder but it is
not suggested to do that because it would break the
language manager.
I didn't say it's bad practice,
maybe it's great. But here's the thing: i'm in Romania and
somehow my browser language is set to English. Probably so is
that of most Romanians.
Is it so much to ask to have
a site that always displays in a specific language, no matter
login/admin area, nothing: always in Romanian.
There
should also be a setting in the back called default frontend
language, not just admin language.
I mean my site
won't have logged in users. Setting a user's language is of no
use to me.
Could i maybe create anonymous user and
assign Romanian to it? How? This would be the cleanest solution
to this issue.
You were right, i renamed en to en1 and
it works, but still, this is dirty tricks By the way,
the site is live and running but i cannot give write rights to
drake DB and some more files in private, so i'm suck again. I
should just go meditate or something cause this world is just
crazy problems after problems
Quote:
Quote:
i tried
and tried to play with css but couldn't add a margin-top to
mainmenu items, or some sort of margin. I'd like them to have
some distance in between :(. [li]i have a -nav suffix in a
menu and it is rendered like this: Quote:
<div
class="dk_module dkmod_menu -nav">
Is
this ok? Shouldn't -nav be tied to dkmod_menu?
You did not get the latest updates about the new CSS model. Go
edit your topmenu instance and have the class name being
"topmenu". Then go edit the topmenu's CSS, that will
work
I got the latest svn release of drake. Weren't
they included? What is that (CSS model)?
I was talking
about mainmenu, did you mean mainmenu instead of topmenu?
Besides i tried to influence display elements, like a
{margin-top:...} and it had no effect on the mainmenu, dunno what
i do wrong, this thing with dk_mod, dk_content, dk... is quite
confusing (i know there's some documentation on this one... at
least to you guys it's clear )
Quote:
Quote:
-any translation component for interface elements? (like
JoomFish?) inner workings of i18n
You mean for
the content items and similar?
Yep.
catasoft
Re: Simple ShoppingCart component/modules...
14 July 2007 15:38
Anonymous
More about css:
I named mainmenu's style
"mainmenu".
Dilemmas: 1)where to i
place my css: in template_css.css or in drake.css? 2)i put
this code in template_css, last lines: .mainmenu a { padding: 10px; color: red; } Menu items don't
turn red.
I put it in drake.css- last lines: it
works.
BUT
3)i turned module style from
vertical to flatlist. If in vertical "Home" was
the first item, in list Home became the last item. Actually, the
order is totally reversed. Why would that be?
This
looks like a bug: the order should be the same...
4)
(not CSS) how would i hide the message "10 Views, 0
Comments" from below every intro text on front page?
I think i'll slowly turn to a "page by page"
site there
seem to arise just too many things
legolas558
Re: Simple ShoppingCart component/modules...
14 July 2007 15:47
Anonymous
Quote:
Quote:
Reading and
interpreting the browser Accept-language is not
a bad practice.
If you are logged in, you can have a
custom language. If you are not logged in, you can use the
mod_lang, but that would be temporary. There is no way to
have a custom language setting if you are not logged in, because
we do not use permanent cookies. You can modify the default
language in the admin backend global configuration, although
you'd also have to remove the EN folder but it is
not suggested to do that because it would break the
language manager.
I didn't say it's bad practice,
maybe it's great. But here's the thing: i'm in Romania and
somehow my browser language is set to English. Probably so is
that of most Romanians.
I understand.
However this is a problem of users which have a browser in the
wrong language, now let's see how Drake CMS can help them
Quote:
Is it so
much to ask to have a site that always displays in a specific
language, no matter login/admin area, nothing: always in
Romanian.
There is already a default language
setting, but if the browser says "English" how can
Drake CMS guess if he is really English or give him the default
language? That's why the user with the wrong browser language
will have to tell Drake CMS (in the previously explained ways)
what language to use instead. If you do not want to support
English users, you can remove the English language and that's
done
Quote:
There should also be a setting in the back called default
frontend language, not just admin language.
Admin backend -> System -> Global configuration ->
Locale -> Default language
That is
the default language when the browser or user-chosen language is
not available, it is not the admin language
Quote:
I mean my
site won't have logged in users. Setting a user's language is of
no use to me.
Could i maybe create anonymous user and
assign Romanian to it? How? This would be the cleanest solution
to this issue.
No, since this would break our
design (the guest user is no user, internally)
Quote:
You were right,
i renamed en to en1 and it works, but still, this is dirty tricks
Why a "dirty trick"? This is a not-well
documented feature, our manual is being written by L.M.Antunes
and should be available by October (first estimation). It is not
a trick because it is perfectly compliant to the CMS logic and
design: you do not want to support the English language, so you
go to the Language manager and delete it. Where's the problem?
Quote:
By the
way, the site is live and running but i cannot give write rights
to drake DB and some more files in private, so i'm suck again. I
should just go meditate or something cause this world is just
crazy problems after problems
This is not a Drake CMS problem
Quote:
Quote:
Quote:
i tried
and tried to play with css but couldn't add a margin-top to
mainmenu items, or some sort of margin. I'd like them to have
some distance in between :(. [li]i have a -nav suffix in a
menu and it is rendered like this: Quote:
<div
class="dk_module dkmod_menu -nav">
Is
this ok? Shouldn't -nav be tied to dkmod_menu?
You did not get the latest updates about the new CSS model. Go
edit your topmenu instance and have the class name being
"topmenu". Then go edit the topmenu's CSS, that will
work
I got the latest svn release of drake. Weren't
they included? What is that (CSS model)?
Yes, everything is there. I am talking about the fact that in
v0.4.4 our CSS changed, so "-nav" is no more used. The
replacement value for the "custom_class" parameter is
"topmenu" (in the case of the topmenu module instance,
of course)
Quote:
I was talking about mainmenu, did you mean
mainmenu instead of topmenu?
Mmm..I don't
think that the mainmenu should have had "-nav"!
Quote:
Besides i
tried to influence display elements, like a {margin-top:...} and
it had no effect on the mainmenu, dunno what i do wrong, this
thing with dk_mod, dk_content, dk... is quite confusing (i know
there's some documentation on this one... at least to you guys
it's clear )
Maybe it is CSS which is not clear to
you? Yes, there is some documentation, we are using CSS styles
inheritance since v0.4.4 because it is more logic and
extensible...if you could arrange some more constructive critics
we might understand if we have problem with the
new CSS or not. Maybe you could also start another topic about
it
Quote:
Quote:
Quote:
-any translation component for interface elements? (like
JoomFish?) inner workings of i18n
You mean for
the content items and similar?
Yep.
No, there is not such add-on. We plan to offer content in
different languages at some future point of development directly
inside Drake CMS, meanwhile somebody should develop a similar
addon (if feasible)
legolas558
Re: Simple ShoppingCart component/modules...
14 July 2007 15:51
Anonymous
Quote:
More about
css:
I named mainmenu's style "mainmenu".
??? You should edit a class which is being
used by Drake CMS, otherwise create a custom class and assign it
in the module parameters
Quote:
1)where to i place my css: in
template_css.css or in drake.css?
If it is a
custom class, in template_css.css. See also the documentation
please
Quote:
2)i put this code in template_css, last
lines: .mainmenu a { padding: 10px; color: red;
} Menu items don't turn red.
I put it in
drake.css- last lines: it works.
Maybe because it was overriden by a class already present in
drake.css
Quote:
3)i turned module style from vertical to
flatlist. If in vertical "Home" was the first
item, in list Home became the last item. Actually, the order is
totally reversed. Why would that be?
This looks like
a bug: the order should be the same...
I don't
know...this might be a bug or some weird behaviour
Quote:
4) (not CSS)
how would i hide the message "10 Views, 0 Comments"
from below every intro text on front page?
You should disable the comments drabot (dracom)
Quote:
I think i'll
slowly turn to a "page by page" site there seem to
arise just too many things
Good
luck!
catasoft
Re: Simple ShoppingCart component/modules...
21 July 2007 18:35
Anonymous
Hey legolas
I rested for the past few days. First here's the site link. http://www.papyrusprint.ro/librarie
Issues:
[li]Please tell me why i get the "You are not
authorized to access to this resource." when i try to do
search the site [li]How can i ensure that all links in the site that point to a
specific page are the same? Isn't there a danger of duplicate
on-site content penalty by search-engines? (some links -frontpage
links- include title keywords, while others -menu links-
don't)
[li]is there a way to enable some sort of
sef-url? And replace the ? and & in the links with slashes
(like in defunct limbo). Is there any work done these days on
some deeper sef-url engine (which would replace the entire url
with article/cathegory/section title, as admin
specifies)???
[li]could u please point me to a
place where i can download that next/previous article drabot? I
didn't find it online.
Thanks a lot
catasoft
Re: Simple ShoppingCart component/modules...
23 July 2007 08:46
Anonymous
Did you like the site?
I still intend to release these simple
cart components/module/drabot freely, but i sure would like the
site to work 100% first
legolas558
Re: Simple ShoppingCart component/modules...
23 July 2007 22:29
Anonymous
Quote:
Hey legolas
I rested for the past few days.
Well
done, I am also (partially) on holidays. I will read again the
thread to give attention to the pending things to clear out;
however, it would be better to file bug reports in general.
Quote:
First
here's the site link. http://www.papyrusprint.ro/librarie
I do not see the "Powered by Drake CMS"
link Quote:
Please tell me
why i get the "You are not authorized to access to this
resource." when i try to do search the site
You
should have a component instance of com_search in some menu
(mainmenu or hiddenmenu)
Quote:
How can i ensure that all links in the site
that point to a specific page are the same? Isn't there a danger
of duplicate on-site content penalty by search-engines? (some
links -frontpage links- include title keywords, while others
-menu links- don't)
Mmmh..this is a problem. Please
see if it is better with the latest version
Quote:
is there a way to
enable some sort of sef-url? And replace the ? and & in the
links with slashes (like in defunct limbo). Is there any work
done these days on some deeper sef-url engine (which would
replace the entire url with article/cathegory/section title, as
admin specifies)???
You can still use PHP's URL
rewriter or Apache's mod_rewrite.
There are plans for
better SEF urls and categorization in the GET query, but they are
set as goals for the v1.x version (they require proper object
orienting of the code)
Quote:
could u please point me to a place where i can
download that next/previous article drabot? I didn't find it
online.