CalendarMX 1.4b & Broken Admin Text Link & Use normal CMS Admin Menu

Begonnen von WarGod, 20 April 2006, 04:44:03

⏪ vorheriges - nächstes ⏩

0 Mitglieder und 1 Gast betrachten dieses Thema.

WarGod

Unfortunately I only speak a few words of German so I have to go with English.

I know that this may be a little out of the support boundries, but I am hoping you can help me out anyway. If not I am cool with that and will see if I can find out what is wrong and fix it, posting the fix here.   :)

CMS:
Nuke Evolution (PHP Nuke fork based on PHP Nuke 7.6)

Problem:
I uploaded the CalendarMX module v_1.4b to my CMS successfully.  Configuration successful. Calendar working splendidly.  However, when I go into the Nuke Evolution Administration panel the text beneath the Calendar Admin icon displays as _CALNAME rather than the value displayed in the launguage file of Event Calendar

Troubleshooting:
I have searched every file for a possible error in the code, but until recently I did not find anything.  I was able to force the text to display properly after changning the setting within the Calendar configuration.

When the setting Use normal CMS Admin Menu is set to No, the text below the Admin Icon displays as _CALNAME. When the setting value is changed to Yes the text displays as it should.

Diagosis:
I have narrowed the code problem to the functions.php file, in the function calAdminMenu() function. I have yet to work on the code, but thought someone may have a quick fix for me.  Until then, the obvious and easy solution is to set the value to "Yes".

To be honest, I am not even sure...yet...what this setting changes (I am still playing with it)

Any help is appreciated.

WarGod

I have to revise my last...sorry:

The problem with the text displaying incorrectly continues to be a problem... sort of.

In Nuke Evolution, when you select one of the Admin modules from the Evo Admin Console, the page refreshes and displays the Evo Admin console on the upper portion of the page and the Admin Console or controls for the selected module display at the lower half.

So when I enter the main Evo Admin console the text is display as "_CALNAME".

When I click on the Calendar icon within the Evo Admin console, the Calendar console displays (below the Evo Admin console).  The wierd thing is that the text beneath the Calendar icon, in the Evo Admin console changes to corresponding text in the language file.

Man I hope that is not too confusing.  I have tried to attach a screen shot to explain it better.

Soooo...what to do now?

[gelöscht durch Administrator]

WarGod

This has been solved. I am posting the fix in case this comes up again in another Nuke based CMS.

Cause:
Nuke Evolution did not have a language definition in the administration language file for the the CalendarMX image text. Thus when the Nuke Evolution Administration console was viewed, it did not have a language definition to reference and displayed the literal value (_CALNAME).

Once the CalendarMX Administration console was called, the language definition was pulled from the CalendarMX language file, displaying the correct image text.

Resolution:
1. Open /admin/language/lang-english.php
2. Go to the end of the file, before the closing php tag "?>"
3. Add define_once("_CALNAME","Event Calendar");
4. Save an upload the file