11
ibzan
PiCal - Image's "alt" tag does not display correctly
  • 2003/11/20 17:47

  • ibzan

  • Just popping in

  • Posts: 48

  • Since: 2003/8/31


I haven't seen this asked yet, but if I missed it, please excuse.

I have noticed that, for example, on the mini-calendar or on the month-view calendar, the arrow icons are supposed to be displaying text such as, "Next Month" or "Previous Month", etc.

They don't!? I have been playing around with the module and noticed that if the smarty-tag {MB_PREV_YEAR} is entered in as plain text (that is, not within the img tag) it works as it is supposed to, within the image's tag however it doesn't.
Any idea's why?



12
ibzan
Re: Xoops 2.1 Module development Roadmap
  • 2003/11/18 13:42

  • ibzan

  • Just popping in

  • Posts: 48

  • Since: 2003/8/31


I don't know if this has been brought up at all in any earlier posts, however, I think it would be nice if XOOPS would have to send cookies to Anonymous users but, rather, only to registered users - or at least an option for the Admin to enable or disable this feature.

blessings,

Chris



13
ibzan
Exchange Rates Module
  • 2003/11/11 19:29

  • ibzan

  • Just popping in

  • Posts: 48

  • Since: 2003/8/31


Is there a module which can display currency exchange rates?

Chris



14
ibzan
Re: xp-weather 1.4
  • 2003/11/11 19:22

  • ibzan

  • Just popping in

  • Posts: 48

  • Since: 2003/8/31


That'd be the one.

Chris



15
ibzan
Re: xp-weather 1.4
  • 2003/11/11 10:11

  • ibzan

  • Just popping in

  • Posts: 48

  • Since: 2003/8/31


see comment [ here ]



16
ibzan
Re: XOOPS 2.1 Core development Roadmap
  • 2003/11/10 17:52

  • ibzan

  • Just popping in

  • Posts: 48

  • Since: 2003/8/31


There was one small idea that came to mind after reading so much in another thread about extending the usuability of the Administration Section.

Consider the possibility of an advanced view of the modules section of the administration, mostly for purposes of site development. The ability to, in ONE step, both disable and uninstall a module. Currently you have to 1) disable it, 1) confirm it, 3) return to the modules section, 4) unistall the module, and finally 5) confirm that.

An advanced view would add another option, that is, one which would disable and uninstall, with a confirmation for safety.

blessings,

Chris



17
ibzan
Re: xp-weather 1.4
  • 2003/11/8 21:04

  • ibzan

  • Just popping in

  • Posts: 48

  • Since: 2003/8/31


Here's a question: How can you update cities and stations to be added to the list?
Cities may be a little obvious if I were to start digging, however what is meant by a station? Is this where the xp-weather module pulls data from, like MSNBC or NOAA??

Chris



18
ibzan
Re: xp-weather 1.4
  • 2003/11/8 20:25

  • ibzan

  • Just popping in

  • Posts: 48

  • Since: 2003/8/31


Strange...?!? I have tried it on both 2.0.3 and 2.0.5 and I can't change the default information. It always returns back to the same screen..

I've also tried it on different versions of PHP and MySQL.
All the same, it would be nice to see these problems addressed even if it is the way the module interfaces with PHP and MySQL. The only guess I could make (which is totally an uneducated one) is the case statements in the index.php - I am probably wrong.

blessings,

Chris



19
ibzan
Re: SOLVED - Making Xoops CONTENT Multilingual *Fixed Code Quote problem*
  • 2003/11/7 18:33

  • ibzan

  • Just popping in

  • Posts: 48

  • Since: 2003/8/31


I haven't yet tried your idea, mostly because I stumbled into something a little easier.

Instead of having to force the system to check what the XOOPS language is I placed in the header the following code just around after line 63 where the line $xoopsTpl = new XoopsTpl(); is:

Quote:

$xoopsTpl->assign('the_locale', setlocale (LC_ALL, _SETLOCALE));
$xoopsTpl->assign('the_date' , strftime(_MYDATEFORMAT));


The first line, for lack of understanding AND better words assigns a variable the_locale for the function
setlocale(). You can get a nice definition for the function at www.php.net. I then used a global constant defined in the language file for each language, in this case _SETLOCALE, to en_EN for english and rus_RUS for Russian. This part can be left alone with.

The second function I also ran through the $xoopsTpl to both allow it to be formatted via my global constants but also to let me pull it directly into my theme by using smarty tags, in this once case I just called it in the theme like so:
Quote:

<{$the_date}>


Keeping the system from constantly checking sounds better to me anyway - this way, what ever language files are being read defines the content.

Thanks for your idea though, it at least got me to re-think what I was doing.

blessings,

Chris



20
ibzan
Re: SOLVED - Making Xoops CONTENT Multilingual *Fixed Code Quote problem*
  • 2003/11/7 13:08

  • ibzan

  • Just popping in

  • Posts: 48

  • Since: 2003/8/31


I have made a *little* progress concerning this issue with translating date and time format, however I have run into a wall.

The function setlocale() allows you to set the language locale which then the function strftime() uses to return the correct date / time in the correct language - yeah. BUT...!

I can only get it to work when I hard-code the header.php file by adding the line:
Quote:
setlocale(LC_ALL, "rus_RUS");]


This would be fine however, I don't want the date only in Russian. I have tried to assign a variable from the global.php file which then would correspond to the language code defined there.

I have tried this two ways. First by defining the variable within the header via XoopsTpl->assign... and then using that variable within the setlocale() function. Didn't work.

Then I thought, why can't the setlocale() function be included directly into the theme, however I don't understand smarty tags enough to correctly incorporate this in the the theme file. Every attempt I have made for that has only returned a blank screen.

Any ideas?

blessings,

Chris





TopTop
« 1 (2) 3 4 5 »



Login

Who's Online

244 user(s) are online (160 user(s) are browsing Support Forums)


Members: 0


Guests: 244


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits