21
nachenko
Re: How to remove some modules in the user profile?
  • 2007/11/20 21:29

  • nachenko

  • Quite a regular

  • Posts: 356

  • Since: 2005/1/18


Easy.

You got this:

Quote:
<{foreach item=module from=$modules}>


add this after it:

Quote:
<{if $module.name == "Module I want to show..."}>



then, locate the last foreach closing clause, and close the "if" statement adding this just before:

Quote:
<{/if}>


You want to hide a block? Easy.

Quote:
<{if $module.name != "Module I want to show..."}>


You want to show some blocks? Easy.

Quote:
<{if $module.name == "Module I want to show..." || $module.name == "Module I want to show..."}>



22
nachenko
Re: Xoops 2.0.17 and XOOPS EXM
  • 2007/11/20 16:51

  • nachenko

  • Quite a regular

  • Posts: 356

  • Since: 2005/1/18


I have yet to try, in my next XOOPS project (starting scheduled next week). Looks promising. Their features should become part ofthe core.



23
nachenko
Re: Xoops 2.0.17 and XOOPS EXM
  • 2007/11/20 15:16

  • nachenko

  • Quite a regular

  • Posts: 356

  • Since: 2005/1/18


Any news on this?

EXM has become "my XOOPS distribution of choice". Anynews are welcome.



24
nachenko
Re: JQuery, XOOPS and Internet Explorer 6
  • 2007/11/15 17:07

  • nachenko

  • Quite a regular

  • Posts: 356

  • Since: 2005/1/18


I found a very nice workaround. Put it in the wiki.

In jQuery, the $ function is just an alias. Just use the original jQuery function. So, instead of...

$(document).ready(...

write...

jQuery(document).ready(

That easy.



25
nachenko
Re: Setting a cookie
  • 2007/11/15 17:01

  • nachenko

  • Quite a regular

  • Posts: 356

  • Since: 2005/1/18


I don't know whether theme choice is stored in a cookie. If this is the case, you could make the cookie last forever just modifying a line of code (whatever line of code set this cookie, that is).

Storing in user profile involves db modification and minor hack of the core.



26
nachenko
Re: how to add bg images into text area
  • 2007/11/14 10:37

  • nachenko

  • Quite a regular

  • Posts: 356

  • Since: 2005/1/18


Text area is like any other HTML object, you can apply CSS properties to it.

The CSS stuff you need to know:

· the background property
· the concept of "class" in CSS.



27
nachenko
Re: XOOPSdocs.org is Open!
  • 2007/11/14 8:44

  • nachenko

  • Quite a regular

  • Posts: 356

  • Since: 2005/1/18


Looks good.

I don't like the "news" button that puts you out of the site. If XOOPSDocs has not their own news, it should have no News section or show them via RSS feeds from various sources (perhaps including local support sites)



28
nachenko
Re: I have just lost my entire database in SmartSection
  • 2007/11/12 12:52

  • nachenko

  • Quite a regular

  • Posts: 356

  • Since: 2005/1/18


Quote:

They do backup daily, and they did a restore from the day before, but something went wrong and it more than doubled the size of my site.

Nobody can figure out why.


Anyway, this is good news.

Do a backup of your entire site as it's now (via FTP) and the database (using PHPMyAdmin). When you're sure you have everything you need, you can do two things:

· Manually check the downloaded content, to see why is it double the expected size.

· Delete the whole site and restore it from their backup. MAKE SURE YOU DID YOUR OWN BACKUP PROPERLY. This way you'll be pretty sure the only files that appear in your site are those form the backup.

Keep us informed. Good luck.



29
nachenko
Re: I have just lost my entire database in SmartSection
  • 2007/11/11 23:44

  • nachenko

  • Quite a regular

  • Posts: 356

  • Since: 2005/1/18


Before running into panic, reply to this question:

Is your site in a shared host?

If the reply is "yes", ask your host for their backups. Perhaps they can restore the database from a weekly or daily backup.



30
nachenko
Re: Funky news glitch
  • 2007/11/11 23:36

  • nachenko

  • Quite a regular

  • Posts: 356

  • Since: 2005/1/18


Quote:

FaYsSaL wrote:
Quote:

nachenko wrote:
I always change this on new installations.


can you explain how do u achieve this ?


Sure.

Look for storyform.inc.php in modules/news/includes

Look for this stuff:
Quote:
$editor2=news_getWysiwygForm(_AM_EXTEXT, 'bodytext', $bodytext, 15, 60, 'bodytext_hidden');
$sform->addElement($editor2,false);


There should be an if clause just before this line. Just remove it.




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



Login

Who's Online

281 user(s) are online (170 user(s) are browsing Support Forums)


Members: 0


Guests: 281


more...

Donat-O-Meter

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

Latest GitHub Commits