1
bjarkekr
Re: New site in danish - please comment
  • 2006/3/23 8:40

  • bjarkekr

  • Just popping in

  • Posts: 24

  • Since: 2005/8/10


No comments and 76 views... That is disappointing.



2
bjarkekr
New site in danish - please comment
  • 2006/3/15 10:23

  • bjarkekr

  • Just popping in

  • Posts: 24

  • Since: 2005/8/10


Hi!

I have made this site; www.fleche.dk
for at danish fencing club.

The only module im using for now is Content. As they dont want a community, they just want a simple page.

What do you think of the overall design. What could be better?



3
bjarkekr
Re: 2.2.3 final - how to change the default editor
  • 2006/2/11 10:05

  • bjarkekr

  • Just popping in

  • Posts: 24

  • Since: 2005/8/10


I would like an answer to that too :)



4
bjarkekr
Re: multilanguage support
  • 2005/9/16 7:42

  • bjarkekr

  • Just popping in

  • Posts: 24

  • Since: 2005/8/10


well I cant download it... it seems to be down.. Do you know any other links, than the official?



5
bjarkekr
multilanguage support
  • 2005/9/15 12:37

  • bjarkekr

  • Just popping in

  • Posts: 24

  • Since: 2005/8/10


Is it possible to make XOOPS sites in multiple languages??

I want to be able to have a frontpage with language selection and then visitors will be redirected to the language they select.

Like this one: www.tempelkrogen.dk

thanks.



6
bjarkekr
costum blocks in xoops 2.2.2??
  • 2005/9/4 13:36

  • bjarkekr

  • Just popping in

  • Posts: 24

  • Since: 2005/8/10


Is it not possible to make costum blocks in XOOPS 2.2.2?? I dont see the option anywhere...



7
bjarkekr
using content as start page
  • 2005/9/4 13:32

  • bjarkekr

  • Just popping in

  • Posts: 24

  • Since: 2005/8/10


Hi!

I have just installed XOOPS 2.2.2, and wants to use the module "content" as start page.. Thats just not possible, it keeps reloading the header location..
I found out that the header redirect is in index.php. Here is the code:
Quote:

if ( isset($xoopsConfig['startpage']) && $xoopsConfig['startpage'] != "" && $xoopsConfig['startpage'] != "--") {
header('Location: '.XOOPS_URL.'/modules/'.$xoopsConfig['startpage'].'/');
exit();
} else {
$xoopsOption['show_cblock'] =1;
require "header.php";
require "footer.php";
}

So it seems that the content module uses the index.php file and that the other modules dont. because it works with news 1.4.

I also know that with XOOPS 2.0.13 you can use content as start page.

What do I do??



8
bjarkekr
Re: language file to new module
  • 2005/8/26 9:36

  • bjarkekr

  • Just popping in

  • Posts: 24

  • Since: 2005/8/10


this is my headerfile:

<?
include( "../../../mainfile.php" );
include XOOPS_ROOT_PATH."/include/cp_functions.php";
if ( file_exists(XOOPS_ROOT_PATH."/modules/system/language/".$xoopsConfig['language']."/admin.php") ) {
include XOOPS_ROOT_PATH."/modules/system/language/".$xoopsConfig['language']."/admin.php";
} else {
include XOOPS_ROOT_PATH."/modules/system/language/english/admin.php";
}
include_once XOOPS_ROOT_PATH."/class/xoopsmodule.php";
include_once XOOPS_ROOT_PATH."/include/xoopscodes.php";
include_once XOOPS_ROOT_PATH.'/class/xoopsformloader.php';
if ( file_exists("../language/".$xoopsConfig['language']."/admin.php") ) {
include "../language/".$xoopsConfig['language']."/admin.php";
} else {
include "../language/english/admin.php";
}
xoops_cp_header();
?>


So if you are right the language inclution code is writen twice now.. hmm... well it works..

How do I add a module to xoops.orgs download??

Its a simple job listing module, with FCK editor to write the text..

You can add a start date, and end date for when its showed on the page.. When end date is passed, its moved to "old jobs listing"... There is also a checkbox if the job should be showed at all...

You can add, edit and delete jobs.

I only have the danish translation now.



9
bjarkekr
Re: language file to new module
  • 2005/8/26 9:06

  • bjarkekr

  • Just popping in

  • Posts: 24

  • Since: 2005/8/10


thanks, that helped..

I actually made an admin.php file, and it didnt work...

But then I added this code to the header of the admin area:
if ( file_exists("../language/".$xoopsConfig['language']."/admin.php") ) {
include "../language/".$xoopsConfig['language']."/admin.php";
} else {
include "../language/english/admin.php";
}

and it worked..

Thanks for the naming standard too.. :) really nice



10
bjarkekr
language file to new module
  • 2005/8/26 8:19

  • bjarkekr

  • Just popping in

  • Posts: 24

  • Since: 2005/8/10


Hi!

I have been working on a new module for myself, and now I wanted to add a language file..

this is what i did:
I made a language directory.
I made a directory in language, called danish.
I then used a file called main.php (copied from news module).
I deleted its contents, and build up my own content, the same way.

This works fine for the page the users see.. But it doesnt work for the admin area...

What do I do wrong?? How do I make a language file for the admin area?

thanks in advance.




TopTop
(1) 2 3 »



Login

Who's Online

259 user(s) are online (163 user(s) are browsing Support Forums)


Members: 0


Guests: 259


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