21
rowdie
Translations for XOOPS 2.0.16
  • 2006/11/21 19:34

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


For those wonderful people who help XOOPS by creating translation packages, here are the instructions for making your translations available from xoops.org.

Simply reply to this post with details about your translation package and it will be added to the XOOPS sourceforge.net file releases with a link from xoops.org, provided it meets the following guidelines:

Guidelines for Translation Submissions
=============================
1. Package name: lang-2.0.16-< language code >.< encoding >.zip or .tar.gz

The language code and character set encoding is the same as in global.php (_LANGCODE and _CHARSET).
e.glang-2.0.16-pt_BR.UTF-8.zip
     lang
-2.0.16-da.ISO-8859-1.tar.gz


2. The translation package should only include *core language* files, no system files or module language files except for the system module. Use the same language directory structure as the XOOPS core package.
e.glang-2.0.16-da.ISO-8859-1/install/language/danish/(files).php
                              
/language/danish/(files).php
                              
/modules/system/language/danish/(files).php


3. Required information:
- Name of language (of course )
- Name of translator(s)/credits
- URL link to translation package
- (optional) support url - where people can post their comments about the translation

Note:
1. Languages requiring core changes for date/calendar formats can also include the changed core files in the package.
2. core change to include the language in the $language_array variable of install/install.php is also ok.

Thanks for supporting XOOPS!

Rowd



22
rowdie
Re: Dokuwiki 2.01: how to delete files
  • 2006/11/19 17:06

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


Edit the page, once in edit mode delete the content then click on save. That will delete the page.



23
rowdie
Re: Unknown error always coming up!
  • 2006/11/16 5:11

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


It's a 'notice', not an error, and it's removed in XOOPS 2.0.16. (which will be released soon)

Just ignore it, it won't affect your module development.

Rowd



24
rowdie
Re: Different themes for different categories?
  • 2006/9/9 7:11

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


You can do this just by changing the news template.

1. Copy the template to your theme folder, so you have a path like:

xoopsroot/themes/mytheme/modules/news/news_index.html

2. In that folder create different css files for each category, using the category number in the name

i.e. style1.css, style4.css, etc... include also a style0.css and style.css for when no topics are selected

3. Then add this to the top of the news_index.html template:

<{assign var="catid" value=$smarty.request.storytopic}>
<{$xoTheme->addStylesheet("modules/news/style$catid.css")}>

Rowd :)



25
rowdie
Re: 2.0.15 Continual Looping
  • 2006/8/30 19:22

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


Please provide the info Bender mentioned. I can't reproduce this, so extra information is needed.

Thanks,
Rowd



26
rowdie
Re: installing lastest xoops
  • 2006/8/24 17:54

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


It's really simple...
2.2 websites use 2.2 updates
2.0 websites use 2.0 updates

:-/



27
rowdie
Re: theme override feature: how to override system images
  • 2006/8/18 17:45

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


Um Herko, it works for me - I always test before commenting

Try clearing your templates_c folder. If it's still not working then go through the usual troubleshooting routine, you know the deal It *should* work, if not then there's a problem we need to fix.

'xoImgUrl' is a custom Smarty plugin made by Skalpa, it is not just reusing the old theme url $xoops_imageurl. It first looks in the current theme folder for the image, if not found then it uses the path from the XOOPS root.



28
rowdie
Re: theme override feature: how to override system images
  • 2006/8/18 5:02

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


Hi Herko,

You need to mimic the same directory structure, but then in your theme folder. So for images from xoopsroot/images/icons/ you would put the overriding images in:

/themes/customTheme/images/icons/


and in your overiding template use for example:
<img src="<{xoImgUrl /images/icons/edit.gif}>" alt="<{$smarty.const._EDIT}>" />


@biteronboard
yep, could also just use a static image path. Only then the template can't readily be used for another theme, as there's no fallback to the default icons if the theme doesn't include custom ones.

Minor detail I guess, but I always prefer generic solutions



29
rowdie
Re: Serious Problem with Polls Module
  • 2006/7/11 17:42

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


No apologies needed, and you certainly didn't offend

Happy XOOPSing!



30
rowdie
Re: Serious Problem with Polls Module
  • 2006/7/10 23:08

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


Rowdie is a 'she' and yes I'm still involved with XOOPS. I rarely have time to make anything for myself anymore though, busy with XOOPS needs - and with my real job.

I had almost finished the xpoll module (alpha) last year, just needed to finish one block function I think. It was only for 2.2 though, I wanted to change that before releasing it. Never found the time, in fact I pretty much stopped all module dev work last year after joining the core dev team.

Looking at my mini-roadmap for xpoll I hadn't coded user id based validation yet, so even if I go through my old code it wouldn't help you Ted.

Rowd




TopTop
« 1 2 (3) 4 5 6 ... 62 »



Login

Who's Online

93 user(s) are online (78 user(s) are browsing Support Forums)


Members: 0


Guests: 93


more...

Donat-O-Meter

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

Latest GitHub Commits