21
tzvook
Re: ColorPicker for eForms?
  • 2013/2/18 9:58

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2





22
tzvook
Re: <{if $smarty.server.PHP_SELF=='/index.php'}> not working
  • 2012/3/20 16:56

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


Quote:
you meant theme.html right..


Yes, sorry






23
tzvook
Re: <{if $smarty.server.PHP_SELF=='/index.php'}> not working
  • 2012/3/20 15:41

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


I use this code, you can adapt it to your needs, it's far more then just "show-if-homepege":

in the beginning of my theme.php:
<{php}>
$mod $GLOBALS['xoopsModule'];
$dirname = (isset($mod) ? $mod->getVar('dirname') :'system');
$GLOBALS['xoopsTpl']->assign'xoops_cmod'$dirname );
<{/
php}>


Then in the body wherever needed:

<{if $xoops_cmod == "article"}>
Text apears if user is in the article module
<{elseif $xoops_cmod == "classifieds"}>
Text apears if user is in the classifieds module)
<{elseif 
$xoops_cmod == "directory"}>
Text apears if user is in the directory module
<{elseif $xoops_cmod == "profile"}>
Text apears if user is in the profile module
<{else}>
Text apears if user is not at the modules mentioned above
<{/if}>



24
tzvook
Re: Tag module, multiple words as tags
  • 2012/2/25 18:42

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


@ Mcron

Quote:
So... is it a go ?


Test it and see - as I said - works for me under 3 Xoops versions and 2 different languages - isn't it enough for you for "a go" ?



25
tzvook
Re: Tag module, multiple words as tags
  • 2012/2/5 15:25

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


Tested under Hebrew + English (If hebrew works I think all UTF langs will be O.K.)
under 3 modules: NewBB 4.06 , Article 3.0 . Tag module (latest)
works fine with 2 . 3. 4. 5. words (probably endless) ...

But - again - it's not enough, tag module is a semantic bridge between modules - important as if it was a core module, needs to be taken care of .... not just a litlle bug fixes ....



26
tzvook
Re: Tag module, multiple words as tags
  • 2012/2/4 19:48

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


This turns the tag module into something "useful" (for me at least), though it "begs" for a bit of attention ..
The concept is good as it gives the option to explore the site by "phrase" instead of "module".



27
tzvook
SOLVED: Tag module, multiple words as tags
  • 2012/2/4 19:35

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


Well, made it work ....
2 changes I made, one of them (if not both) is doing the work ...
===========================================
edit /modules/tag/language/english/config.php

old line (24)
----------------------------
$GLOBALS["tag_delimiter"] = array(",", " ", "|", ";");

new line
---------------------------
$GLOBALS["tag_delimiter"] = array(",", "|", ";");

===========================================
edit /modules/tag/include/functions.ini.php

old line (88)
----------------------------
return array(",", " ", "|", ";");

new line
---------------------------
return array(",", "|", ";");

===========================================



28
tzvook
Re: Tag module, multiple words as tags
  • 2012/2/3 16:53

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


Has someone succeeded with this ?



29
tzvook
embarrassing: the tag module v2.30
  • 2012/2/3 16:12

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


This tag module is more or less useless without 2 vital things:
1. use a 'phrase' instead of 'a word' ( simply embarrassing as is now )
2. options to define the number of tags in it's front page (without hacking it)

there are more ... but for it to be useful - those are vital !!!!



30
tzvook
Re: Old style blocks administrator tools
  • 2012/2/3 15:39

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


@ cgunther and JCash

Follow my hack and you'll find the solution
https://xoops.org/modules/newbb/viewto ... id=301806#forumpost301806
a 3 years old hack that still rocks ...




TopTop
« 1 2 (3) 4 5 6 ... 60 »



Login

Username:
Password:

Lost Password? Register now!

Who's Online

66 user(s) are online (30 user(s) are browsing Support Forums)


Members: 0


Guests: 66


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