Faq module

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
koehler

Re: Faq module

Post by koehler »

megabob3 wrote: As you can i don't give alot of my time to CMSMS and i am not a very good programmer.
I cannot guarantee a good continuity on my developing, however i appreciate alot this words :D
I will continue on it :)
You are may not the best programmer in town, but you are a hell of a team-guy!

If you need help in programming, i will give you some of my spare time.


Michael
megabob3
Power Poster
Power Poster
Posts: 498
Joined: Sat Jan 08, 2005 11:11 pm

Re: Faq module

Post by megabob3 »

koehler wrote:
megabob3 wrote: As you can i don't give alot of my time to CMSMS and i am not a very good programmer.
I cannot guarantee a good continuity on my developing, however i appreciate alot this words :D
I will continue on it :)
You are may not the best programmer in town, but you are a hell of a team-guy!

If you need help in programming, i will give you some of my spare time.


Michael
Thx :D ;)
mbvdk
Forum Members
Forum Members
Posts: 43
Joined: Wed Jun 08, 2005 3:30 pm

Re: Faq module

Post by mbvdk »

I have made a minor change so my copy of pifaq is now language aware, defaulting to the language set in $config['locale'] defaulting to en_UK if the language file is not found. the change is all done in the init-function.

Code: Select all

	function init($adm)
	{
		global $gCms;
		if($adm)
		{
			$this->language=$gCms->current_language;
		}
		else
		{
			$this->language=$gCms->config['locale'];
		}

		if(file_exists(dirname(__FILE__) . '/lang/'.$this->language.'.inc.php'))
		{
			include(dirname(__FILE__) . '/lang/'.$this->language.'.inc.php');
		}
		else
		{
			include(dirname(__FILE__) . '/lang/en_UK.inc.php');
		}
		$this->lang=$kls;
	}
mbvdk
Forum Members
Forum Members
Posts: 43
Joined: Wed Jun 08, 2005 3:30 pm

Re: Faq module

Post by mbvdk »

megabob3,
Since I need a faq module for the project I'm working on right now, and the alternative to using FaqX/Pifaq is to write my own from scratch, I'll be happy to help as much as I can. (I'm a strong believer in teamwork) To do that however, I need to know how you plan to progress from here on.

The most important question as I see it now is witch module will be the basis?
  Your original has the advantage of being in english while Piratos' file is a mix of english and german.
  On the other hand Pifaq is more or less language neutral.

Secondly do you plan to use templates?
  The advantage is that we can separate layout and code, witch I find verry usefull. Unfortunately I have no idea how to use the smarty template system, but as a H.C. Andersen said: "one must learn as long as one lives".
megabob3
Power Poster
Power Poster
Posts: 498
Joined: Sat Jan 08, 2005 11:11 pm

Re: Faq module

Post by megabob3 »

mbvdk wrote: megabob3,
Since I need a faq module for the project I'm working on right now, and the alternative to using FaqX/Pifaq is to write my own from scratch, I'll be happy to help as much as I can. (I'm a strong believer in teamwork) To do that however, I need to know how you plan to progress from here on.

The most important question as I see it now is witch module will be the basis?
  Your original has the advantage of being in english while Piratos' file is a mix of english and german.
  On the other hand Pifaq is more or less language neutral.

Secondly do you plan to use templates?
  The advantage is that we can separate layout and code, witch I find verry usefull. Unfortunately I have no idea how to use the smarty template system, but as a H.C. Andersen said: "one must learn as long as one lives".
Sorry but in this moment i am doing something else, see FCKeditor, and my real job.
I am happy of your working, do all you can, and in future i will work with you ;) on FAQ module.

Bye :D
megabob3
Power Poster
Power Poster
Posts: 498
Joined: Sat Jan 08, 2005 11:11 pm

Re: Faq module

Post by megabob3 »

mbvdk wrote: The most important question as I see it now is witch module will be the basis?
  Your original has the advantage of being in english while Piratos' file is a mix of english and german.
  On the other hand Pifaq is more or less language neutral.
For this reason i searched in this days PiFAQ :D, for a fusion.
mbvdk
Forum Members
Forum Members
Posts: 43
Joined: Wed Jun 08, 2005 3:30 pm

Re: Faq module

Post by mbvdk »

Sorry but in this moment i am doing something else, see FCKeditor, and my real job.
I am happy of your working, do all you can, and in future i will work with you ;) on FAQ module.
Ok, I'll give it a shot. After all one of my jobs includes the project where I need a faq module.

My first task will be to make one faq-module, in English, with both global and local language capability. When that's done (or probably along the way) I'll try to figure out how to use templates so that layout is removed from the module.

When that's done I'll think about extending the capability of the module.

Martin
Post Reply

Return to “Modules/Add-Ons”