Search found 42 matches

by unnamed7
Fri Feb 13, 2009 7:26 pm
Forum: Developers Discussion
Topic: showtemplate=false not working
Replies: 2
Views: 1847

Re: showtemplate=false not working

figured same thing yesterday :)

i just passed normal linkt to smarty and then i did something like this:

{$link}&showtemplate=false

that did the work, but its kinda bad i think.
by unnamed7
Thu Feb 12, 2009 10:16 pm
Forum: Developers Discussion
Topic: showtemplate=false not working
Replies: 2
Views: 1847

showtemplate=false not working

Hi, i'am trying to load action with mootools request.HTML and it works fine, but it loads action withe whole template, i searched forum and found that i need add showtemplate=false to params array, but it wont work for me. what i do wrong ? my CreateLink: $this->CreateLink($id, 'show_gallery', $retu...
by unnamed7
Mon Dec 15, 2008 7:55 am
Forum: Developers Discussion
Topic: Plugins give me a headache :(
Replies: 3
Views: 1706

Re: Plugins give me a headache :(

udt is called on normal page (content) - {my-udt}

its a bit wierd for me that in preview i can see that my plugin is working, but in frontend not
always something like using a function was working for me

any advices ?
by unnamed7
Sun Dec 14, 2008 5:43 pm
Forum: Developers Discussion
Topic: Plugins give me a headache :(
Replies: 3
Views: 1706

Plugins give me a headache :(

Hi, can someone tell me what could be wrong with my plugins ? for example, i'am making plugin (udt): function my_name() {   echo 'test'; } and i get error like Fatal error: Cannot redeclare my_name()  (previously declared in /home/users/test/public_html/inetic/lib/content.functions.php(856) : eval()...
by unnamed7
Mon Nov 24, 2008 8:21 pm
Forum: [locked] CMSMS MLE fork
Topic: CMS 1.4.1 + MLE - Pretty URLs problems
Replies: 11
Views: 7559

Re: CMS 1.4.1 + MLE - Pretty URLs problems

hi, i have the same problem with my installation of cms, what did u do to make it work ? where should be that .htaccess file if not in root of page ?

please help.
by unnamed7
Thu Sep 11, 2008 8:16 pm
Forum: Developers Discussion
Topic: redirect_to_alias() redirects to admin login :/
Replies: 6
Views: 2569

Re: redirect_to_alias() redirects to admin login :/

if i try $this-> i get error [php]Fatal error: Call to undefined method Clients::redirect_to_alias() in /home/users/test/public_html/inetic/modules/Clients/action.login_user.php on line 22[/php] without $this->, redirect_to_alias works fine, but only when i'am logged to admin panel, something like t...
by unnamed7
Thu Sep 11, 2008 10:22 am
Forum: Developers Discussion
Topic: redirect_to_alias() redirects to admin login :/
Replies: 6
Views: 2569

Re: redirect_to_alias() redirects to admin login :/

it's a module, i just want to redirect to another (alias same as username) page after login :)
by unnamed7
Wed Sep 10, 2008 5:13 pm
Forum: Developers Discussion
Topic: redirect_to_alias() redirects to admin login :/
Replies: 6
Views: 2569

redirect_to_alias() redirects to admin login :/

Hi, what can be wrong with my code here ? [php] DoAction('login_form', $id, $params, $loginpage); }     $loginone = $params['login']; $passone = md5($params['pass']); $db = &$this->GetDB(); $query = "SELECT * FROM ".cms_db_prefix()."module_Clients WHERE login='$loginone'"; $r...
by unnamed7
Sat Jun 28, 2008 2:03 pm
Forum: Polish - Polski
Topic: Arkusz stylów zależny od przeglądarki.
Replies: 4
Views: 6097

Re: Arkusz stylów zależny od przeglądarki.

napisz co dokładnie zrobiłeś to pomogę.
by unnamed7
Fri Jun 27, 2008 9:05 am
Forum: Polish - Polski
Topic: Arkusz stylów zależny od przeglądarki.
Replies: 4
Views: 6097

Re: Arkusz stylów zależny od przeglądarki.

nigdy tego nie robiłem, bo raczej jest to bez sensu, no ale masz w tagu {stylesheet} parametr name, i może wywoływać odpowiedni styl po nazwie, więc implementacja skyptu z Twojego linku to banał :)

pozdrawiam.
by unnamed7
Thu Jun 19, 2008 9:19 am
Forum: Polish - Polski
Topic: templatki w plikach .tpl zamiast w bazie danych..?
Replies: 1
Views: 3957

Re: templatki w plikach .tpl zamiast w bazie danych..?

hmm nie rozumiem, normalnie możesz wrzucać templatki do katalogu ../modules/MenuManager/templates/  a potem możesz wywołać {menu template="costam.tpl"}

pozdro
by unnamed7
Thu Jun 19, 2008 9:08 am
Forum: Polish - Polski
Topic: Tutorial budowy szablonu
Replies: 2
Views: 4252

Re: Tutorial budowy szablonu

przecież masz dokumentację, w czym problem ?
http://wiki.cmsmadesimple.org/index.php ... /Templates
by unnamed7
Thu May 22, 2008 1:30 pm
Forum: Polish - Polski
Topic: Problem z menu
Replies: 3
Views: 5171

Re: Problem z menu

po prostu pokasuj z templatea to co Ci nie potrzebne... ewentualnie możesz sobie użyć jakieś tam mojego, on taki czysty jest (: {if $count > 0} <ul id="menu"> {foreach from=$nodelist item=node} {if $node->depth != $node->prevdepth} {if $node->depth > $node->prevdepth} <ul> {elseif  $node->...
by unnamed7
Sat Feb 16, 2008 8:03 pm
Forum: Modules/Add-Ons
Topic: Admin area of News module not showing :(
Replies: 11
Views: 3275

Re: Admin area of News module not showing :(

when i try that script local memory limit is still 12M, should i ask admin to change this ?

Go to advanced search