I don't have any particular wants with regard to where the definitions are. That should be a discussion between a duck hawk and a butterfly. I just want clear instructions--Kabbalah and Chassidus I know. HTML and CSS I know. Vanilla I don't.
Yes peregrine is right about there being another way to also do this beside the theme. He is a coding wizard and can do it blindfolded. On the other hand I am a novice in comparison and make it hard on myself sometimes.
What I find useful about this method is the easier access to find the file for editing. There are several locale duds that have none or some definitions and searching for the one you edited can be confusing. Keeping it with the theme you don't risk messing up the other files.
OK, butterfly. I must have missed something somewhere. custom.css is working. Definitions is not. Definitions are in themes/locale/definitions.php. Theme is /themes/torahrx. torahrx/about.php has 'HasLocale'=> TRUE (I changed = to =>. But definitions are NOT showing up.
Is that the name of your theme? If that is the name of your theme then it is correct. At least it looks like your files are where they should be and all looks normal.
Do you have settings in the dashboard for the locale? make sure you have the en_CA enabled as a default locale
Ok I have an idea , this happened to me at one time and I replaced the single quotes in the definition , with double ones like the example below.
$Definition["It looks like you're new here. If you want to get involved, click one of these buttons!"]="Please register to post";
$Definition['Apply for Membership']="Register";
$Definition['Howdy, Stranger!'] = "Welcome";
$Definition['Bookmarked Discussions']="Bookmarked";
$Definition['Start a New Discussion']="New Discussion";
Well, there are a couple of things not working. 1. Even after clearing the browser cache, the Definitions are not changing. 2. I created two categories, and View Page looks fine. But when I Visit Site, the layout is different.
OK, tried double-quotes. No help. This is still in the definitions.php file: $Definition['Categories'] = "Categories";
Is it necessary? Is it messing up my layout?
Comments
Getting there. My about.php file in the themes/torahrx looks like this:
Is that correct?
And I created a /themes/locale/definitions.php with a single line:
OK, definitions.php now looks like this:
Correct?
is there any reason you want you theme to be associated with defintions and not the forum itself in case you change theme.
you don't need the other hullabaloo. /themes/locale/definitions.php
or 'HasLocale'=TRUE;
just put the definition in /conf/locale.php
and then delete your .ini files always when making mods when adding or deleting or changing definitions or locale related files.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
see precedence
http://vanillaforums.org/discussion/comment/191468/#Comment_191468
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
I don't have any particular wants with regard to where the definitions are. That should be a discussion between a duck hawk and a butterfly. I just want clear instructions--Kabbalah and Chassidus I know. HTML and CSS I know. Vanilla I don't.
The 'HasLocale'=TRUE; needs to be inside the array before the ); in the list
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
I already told you how to do it the easy way. your choice.
http://vanillaforums.org/discussion/comment/205459/#Comment_205459
me and v approach things differently. as you say.
I like things clean and simple .
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
@vrijvlinder
Like this (I added a , after the AuthorURL and kept the ; after TRUE):
@peregrine Thank you for the choice.
'HasLocale' => TRUE
without the ; part in the end, sorry...
Yes peregrine is right about there being another way to also do this beside the theme. He is a coding wizard and can do it blindfolded. On the other hand I am a novice in comparison and make it hard on myself sometimes.
What I find useful about this method is the easier access to find the file for editing. There are several locale duds that have none or some definitions and searching for the one you edited can be confusing. Keeping it with the theme you don't risk messing up the other files.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
OK, butterfly. I must have missed something somewhere. custom.css is working. Definitions is not. Definitions are in themes/locale/definitions.php. Theme is /themes/torahrx. torahrx/about.php has 'HasLocale'=> TRUE (I changed = to =>. But definitions are NOT showing up.
Any suggestions? Or do I fly with the duck?
Make sure you delete the ini files from the catch because you may be viewing the old one without the definitions yet.
If you wish to try peregrine's method:
Just leave the locale where you have it in the theme. But copy the definitions inside into
conf/locale.php there is nothing inside it so don't be alarmed. Paste your definitions inside of that locale.php file
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Yea I did that. There is still this line in the conf/config file: $Configuration['Garden']['Theme'] = 'torahrx';
Should that still be there?
Is that the name of your theme? If that is the name of your theme then it is correct. At least it looks like your files are where they should be and all looks normal.
Do you have settings in the dashboard for the locale? make sure you have the en_CA enabled as a default locale
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Yep. torahrx. It looks like the theme is working fine. Just the Definitions, i.e., text changes, are not showing up.
It should work , try to clear the browser cache. If it does not pick them from the theme, it has to pick them from locale.php
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Ok I have an idea , this happened to me at one time and I replaced the single quotes in the definition , with double ones like the example below.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Well, there are a couple of things not working. 1. Even after clearing the browser cache, the Definitions are not changing. 2. I created two categories, and View Page looks fine. But when I Visit Site, the layout is different.
I don't follow I am looking at it right now .
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
OK, tried double-quotes. No help. This is still in the definitions.php file: $Definition['Categories'] = "Categories";
Is it necessary? Is it messing up my layout?