111
Tarik
Re: problem, xlanguage and styles
  • 2010/11/15 14:36

  • Tarik

  • Not too shy to talk

  • Posts: 170

  • Since: 2010/2/3 1


why cant i edit my topic to add [SOLVED]

Thank you very much,
for more info for who have the same problem
because of some language require rtl, the style of the core language have a lot of <dir: rtl !important> and the problem is that xlanguage dont change the core language style so when i choose english it still load the arabic styles and to solve that (again big thanks to Ghia)
you need to replace xoops_getConfigOption('language') by $xoopsConfig['language']
in
XOOPS_ROOT_PATH/class/theme.php
XOOPS_ROOT_PATH
/include/functions.php

and to avoid the error xoopsConfig not defined you must add
global $xoopsConfig;

after
function loadLocalization($type "main")      
{




112
Tarik
Re: problem, xlanguage and styles
  • 2010/11/14 14:10

  • Tarik

  • Not too shy to talk

  • Posts: 170

  • Since: 2010/2/3 1


no i dont mean to add styles depending on the language
xoops is multi language and there is a css file for every language and it doesn't change
Some people like what you do,
-- some people hate what you do,
---- but most people simply don’t give a damn.



113
Tarik
problem, xlanguage and styles
  • 2010/11/13 22:59

  • Tarik

  • Not too shy to talk

  • Posts: 170

  • Since: 2010/2/3 1


hello i have a problem with xlanguage, I want to create a multi-language website main language is Arabic and i want to add English as secondary language every thing about the work of the module is OK but i have a problem when changing to English it still load the styles of Arabic
Ex:
<link rel="stylesheet" href="http://www.xo-aminoss.info/language/arabic/style.css" type="text/css" />
<
link rel="stylesheet" href="http://www.xo-aminoss.info/themes/blogy/language/arabic/style.css" type="text/css" />



114
Tarik
Re: Support for Cssified xoops default theme
  • 2010/11/13 0:02

  • Tarik

  • Not too shy to talk

  • Posts: 170

  • Since: 2010/2/3 1


It's very nice i did the same thing but for me it is a service for making themes online with the same basis - you choose width and height .. with a picture library and then you can compile it and download it
i spent tow years to learn xoops api and to devlop the module tohis stat his still alpha but with time i will lunch it
Some people like what you do,
-- some people hate what you do,
---- but most people simply don’t give a damn.



115
Tarik
Re: Hello, problem with install 2.5.0
  • 2010/11/11 23:36

  • Tarik

  • Not too shy to talk

  • Posts: 170

  • Since: 2010/2/3 1


o_O what configuration do you mean php version?
i work on a local
and besides there is an installed xoops 2.4.5 in a another folder
could it be that the name of the folder is "xoops2.5"
Some people like what you do,
-- some people hate what you do,
---- but most people simply don’t give a damn.



116
Tarik
Re: Hello, problem with install 2.5.0
  • 2010/11/11 16:44

  • Tarik

  • Not too shy to talk

  • Posts: 170

  • Since: 2010/2/3 1


i dont know if it would help but if i go throug the install with the error it give me
Warning: include_once(/home/amine/public_html/xoops2.5/class/database/XOOPS_DB_TYPEdatabase.php) [function.include-once]: failed to open streamNo such file or directory in /home/amine/public_html/xoops2.5/install/class/dbmanager.php on line 28  Warning: include_once() [function.include]: Failed opening '/home/amine/public_html/xoops2.5/class/database/XOOPS_DB_TYPEdatabase.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear'in /home/amine/public_html/xoops2.5/install/class/dbmanager.php on line 28  Warningnotrace:Failed to load database of typeXOOPS_DB_TYPE in file: /home/amine/public_html/xoops2.5/class/database/databasefactory.php at line 97 in /home/amine/public_html/xoops2.5/class/database/databasefactory.php on line 97  Fatal errorCall to a member function setPrefix() on a non-object in /home/amine/public_html/xoops2.5/install/class/dbmanager.php on line 48
Some people like what you do,
-- some people hate what you do,
---- but most people simply don’t give a damn.



117
Tarik
Hello, problem with install 2.5.0
  • 2010/11/11 15:20

  • Tarik

  • Not too shy to talk

  • Posts: 170

  • Since: 2010/2/3 1


hello every body,
first congratulation for every body for finally releasing the final version of 2.5.0 so i wanted to install this version but i got this weird error
Could not copy the distribution file to mainfile.php/data/secure.dist.php
i know that the solution is something stupid but i don't what is it
p.s: i gived the permission to all folders and file that required it



118
Tarik
Re: Changing navigation links on front page
  • 2010/11/2 13:15

  • Tarik

  • Not too shy to talk

  • Posts: 170

  • Since: 2010/2/3 1


Here is a list of smarty variables that can be used in the theme.html
http://xoops-tips.com/modules/news/article.php?storyid=12
Some people like what you do,
-- some people hate what you do,
---- but most people simply don’t give a damn.



119
Tarik
Re: Block on a specific page
  • 2010/10/31 22:38

  • Tarik

  • Not too shy to talk

  • Posts: 170

  • Since: 2010/2/3 1


Sorry for the late response,
after some searchs i found that "$smarty.server.PHP_SELF" the absolute location from the root of the website - not the root of xoops but the root of the host folder
to have an example of it put - in local of course -
<{$smarty.server.PHP_SELF}>
in the theme.html file and see what it give for the page you want
EX for my local
/~amine/htdocs/modules/wfchannel/index.php?wfc_cid=2

so for me i must put
<{if $smarty.server.PHP_SELF!='/~amine/htdocs/modules/wfchannel/index.php?wfc_cid=2'}><{$xoops_block_89.content}> <{/if}>

if it work do the same trick to your website



120
Tarik
Re: Interduce Yourself!
  • 2010/10/29 13:54

  • Tarik

  • Not too shy to talk

  • Posts: 170

  • Since: 2010/2/3 1


Hello, my reel name is Amine Tarik and my nickname is Tarik - a lot of creativity to find it XD - . I'm a university student and i live in Morocco and i have a small experience with web design and web developing ,my contributions in Xoops.org are small but i help in the Arabic support 2 years now and designed some themes and developed 2 modules - Introduce theme later -

I aim to have better skills in this area and Xoops should do the trick :)
Some people like what you do,
-- some people hate what you do,
---- but most people simply don’t give a damn.




TopTop
« 1 ... 9 10 11 (12) 13 14 15 »



Login

Who's Online

86 user(s) are online (37 user(s) are browsing Support Forums)


Members: 0


Guests: 86


more...

Donat-O-Meter

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

Latest GitHub Commits