PEAK XOOPS - Re: Problem with Xhld and Marcan's hack in englishin japanese

Re: Problem with Xhld and Marcan's hack

List posts in the topic

question Re: Problem with Xhld and Marcan's hack

msg# 1.1.1.1.1
depth:
4
Previous post - Next post | Parent - No child | Posted on 2005/6/29 7:17
GIJOE  ÀèǤ·³Áâ   Posts: 4110
hi fblanchet
Quote:
Hello GiJoe,
thanks for the reply. I was talking with Marcan and he fixed that problem. It was something to do with his script that did not translate correctly the blocks. Here is the link for the fix, http://www.smartfactory.ca/modules/newbb/viewtopic.php?post_id=1408&topic_id=287&forum=8
i hope you understand french, if not i can translate in english if you wish.
Though I can't read French, I almost understood marcan said.
Perhaps,some_ml_task() do something like EMLH.

Anyway, there are no necessary to modify "xhld", OK?


Quote:
Another thing, I was wondering if there is a way that the feeds could appear or hide automaticaly using the language of choice. For example, i am receiving feeds from Radio-Canada (french) and CBC (english)... is there a way that french users would only see Radio-Canada's feeds in the recent headlines block and that the english users would see CBC's feeds depending on the language of choice?
hmmm.
It is intersting but difficut.

At least, I can do that with EMLH.

eg:

Assign french headline block as top of center blocks.
Assign english headline block as second of center blocks.
Then, edit your theme.html:
	<td id="centerCcolumn" colspan="2">
		<div style="padding: 5px;">
[fr]
		<div class="blockTitle"><{$xoops_ccblocks[0].title}></div>
		<div class="blockContent"><{$xoops_ccblocks[0].content}></div>
[/fr]
[en]
		<div class="blockTitle"><{$xoops_ccblocks[1].title}></div>
		<div class="blockContent"><{$xoops_ccblocks[1].content}></div>
[/en]
		</div>
	</td>

Of course, this configuration is needed:
define('EASIESTML_NEVERCROSSTAGS','');

Votes:5 Average:10.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!