|
|
Home » Community » U++ Webs: Functioning, Layout , Design, Features and Structure of these forums, homepage etc. » New footer in Web
|
Re: New footer in Web [message #25963 is a reply to message #25959] |
Mon, 22 March 2010 14:11   |
|
Hi Koldo! We said that the menu [en] [ru ][..] will be on the left, just below the menu. I began to overlap on top of the page with only one goal to switch [en] [ru ][..] would have been visible immediately after the page loads.
SergeyNikitin<U++>( linux, wine )
{
under( Ubuntu || Debian || Raspbian );
}
|
|
|
|
Re: New footer in Web [message #25980 is a reply to message #25965] |
Tue, 23 March 2010 00:44   |
|
It is interesting, but I have not seen the discussion at the forum. Maybe I missed this discussion. Give me a link please.
SergeyNikitin<U++>( linux, wine )
{
under( Ubuntu || Debian || Raspbian );
}
|
|
|
|
Re: New footer in Web [message #25997 is a reply to message #25982] |
Wed, 24 March 2010 17:30   |
|
Hi Koldo! We need to constantly switch the language. The fact is that if the menu is displayed on the Russian, but when you click on the forum - everything begins to appear on the menu in English.
We must come up with some solution. Switches the language [en] [ru], which were visible, partially solved this problem.
Perhaps there is no need to add additional buttons visible [en] [ru], just as something to do that when you click on the English-speaking button, the language would not have switched and would have remained the same.
SergeyNikitin<U++>( linux, wine )
{
under( Ubuntu || Debian || Raspbian );
}
[Updated on: Wed, 24 March 2010 17:35] Report message to a moderator
|
|
|
|
|
Re: New footer in Web [message #26003 is a reply to message #26001] |
Wed, 24 March 2010 23:09   |
|
That's the problem that in the pure html to solve this problem very difficult.
And we are trying to use the 15-year-old solutions.
I see in the task, just everywhere poke switches language.
Although there are tools such as Cookies, PHP Sessions, HTTP POST and GET variables.
By the way, can the visitor rights at the entrance to the site, what language he prefers. And then during the transition to each page to add a URL something like "?Lang=es".
The only difficulty which this is, we should use PHP or CGI (or something like that).
I do not understand why we refuse to anything but pure html, perhaps it is some demonstration purposes. In my opinion, this type of problem, can not be solved in this basis.
Perhaps this decision was taken because of the documentation that lives inside the program. But it is also possible to easily generate semantic paste from tpp files, and all the mechanics of the site would be dynamic. A variety of modern CMS (content management system) to easily cope with this task (such as Xoops, Drupal or Joomla).
SergeyNikitin<U++>( linux, wine )
{
under( Ubuntu || Debian || Raspbian );
}
|
|
|
Re: New footer in Web [message #26004 is a reply to message #26003] |
Wed, 24 March 2010 23:22   |
|
We can not even take a full CMS, but to make the generation of templates.
For example, I have a site I did as follows: (with your permission, I will mention here two references) The first page is pure html -
http://www.svsoft.ru/uslugi_hosting.html,
and the second from the first page makes the page of the site --
http://www.svsoft.ru/main_uslugi_hosting.html.
In fact, there is an internal script (rather simple) main_.php, who does all the work. I propose to put the same script on the site www.ultimatepp.org. In addition, this script is able to comb the URL and excludes from it all wrong characters.
SergeyNikitin<U++>( linux, wine )
{
under( Ubuntu || Debian || Raspbian );
}
|
|
|
Re: New footer in Web [message #26006 is a reply to message #26004] |
Thu, 25 March 2010 09:33   |
|
Hi guys!
There is a clean solution to this, using pure html If we use subdirectories for each language, like www.ultimatepp.org/ru-ru/some$topic.html. Then each relative link in the page would link to page in given language. For pages that do not exist yet, mod_rewrite can be used to serve user the English version, without loosing the language in address. Similarly, exception could be given for forum and perhaps also for addresses without specified language. I didn't have time to test this solution, but it should work...
Another option, without playing with apache modules, would be similar to what Koldo proposed, just copying the english version with special footer to the other language directory for untranslated files. The forum can probably reside on several addresses, like ultimatepp.org/ru-ru/forum/, using simlinks on server (or rewrites). The only problem then would be with links, but that is minor...
OTOH, I don't say that we should stick to static pages. I'm just listing our options. If the dynamic stuff is written correctly, it can be just as fast and gives much more possibilities...
Regards,
Honza
|
|
|
Re: New footer in Web [message #26008 is a reply to message #26006] |
Thu, 25 March 2010 10:38   |
|
I have already suggested such an approach (doubling in every language and rewrite engine), but he did not fit so that cause additional consumption of disk space.
By the way how to deal with the moment when a man goes into a forum, and then returned. Which language he would have to do this?
SergeyNikitin<U++>( linux, wine )
{
under( Ubuntu || Debian || Raspbian );
}
|
|
|
|
Re: New footer in Web [message #26074 is a reply to message #26072] |
Tue, 30 March 2010 15:32  |
|
Great!!! But, what to do with switch to Forum? Maybe we should do Cookies? This operation is done with Cookies entirely without problems.
It is necessary during the generation, insert a small piece of PHP. And in the htaccess file need to register to html to be processed as php.
I think even that can constrain such insertion only into the template of FUD-Forum.
If you have prepared templates for the site for FUD Forum, I can dig on this issue. (Need templates for ultimate FUD Forum without sql database).
Maybe everybody will like mechanism and we can even extend the functionality of the site and simplify the process of generation.
SergeyNikitin<U++>( linux, wine )
{
under( Ubuntu || Debian || Raspbian );
}
|
|
|
Goto Forum:
Current Time: Fri Apr 25 11:57:49 CEST 2025
Total time taken to generate the page: 0.01214 seconds
|
|
|