221
nachenko
Re: How do i view RSS feeds from a side on my website (what module do i use)
  • 2007/3/26 17:43

  • nachenko

  • Quite a regular

  • Posts: 356

  • Since: 2005/1/18


You can try GIJoe's XHLD

http://xoops.peak.ne.jp/md/xhld0/

It runs fine.



222
nachenko
Re: How do you add smarty tags to a block with the editor?
  • 2007/3/26 17:35

  • nachenko

  • Quite a regular

  • Posts: 356

  • Since: 2005/1/18


The real question here is how to call an Smarty tag into a custom block. Isn't it?

Well, I have no idea if it's possible, but i'd want to know.



223
nachenko
Re: running XOOPS into a USB drive
  • 2007/3/26 17:14

  • nachenko

  • Quite a regular

  • Posts: 356

  • Since: 2005/1/18


Writing to the database is not needed, it will cause PHP warnings and errors, but the site will work. Anyway, this is not real problem, I can say to the customer: "ey, this is a demo CD, for this stuff to work you need a real server, not a CD".

The real problem is the Apache server.

Come on, people, help me and I'll release a "ready to run in a CD XOOPS distribution" for everyone.



224
nachenko
Re: running XOOPS into a USB drive
  • 2007/3/23 9:43

  • nachenko

  • Quite a regular

  • Posts: 356

  • Since: 2005/1/18


Thanks for your reply.

The problem I have now is that I can't run this into a CD, cause Apache requires to write logs to run.

I've been looking how to deactivate "log writing" in Apache. I bet this is the only thing that prevents me from running XOOPS into a CD.



225
nachenko
running XOOPS into a USB drive
  • 2007/3/22 18:55

  • nachenko

  • Quite a regular

  • Posts: 356

  • Since: 2005/1/18


Yes, I've done it, using XAMPP

Now the problem is how to make it "fool-proof" for a customer.

This was the solution:
Create a batch file that starts XAMPP, then XOOPS website, then closes XAMPP.
Create a shortcut and an icon to the batch file.

Easy, isn't it? Well, the problem is that I can't pause batch file execucion. So it starts XAMPP, opens my website using Internet Explorer and then, inmediately, closes XAMPP although we didn't close the IExplore window.

My problem is how could i make batch file wait for IExplore to be closed to shutdown XAMPP.

this code doesn't work:
Quote:
start /wait /max /b iexplore.exehttp://localhost/garcialazaro


and using a PAUSE command sucks.

What can I do?



226
nachenko
Re: catads - allow guests to view but not to reply
  • 2007/3/12 11:16

  • nachenko

  • Quite a regular

  • Posts: 356

  • Since: 2005/1/18


Two questions:

1 - What file / template did you put this code in?

2 - Did you use Dreamweaver to write this code?

If you use Dreamweaver, never write Smarty code in the Design view. Dreamweaver probably will rewrite it, understanding < > and all these as special characters. Use always the code view.



227
nachenko
Re: I dont know if there is anyway around this, so I need your help with login box.
  • 2007/3/10 17:48

  • nachenko

  • Quite a regular

  • Posts: 356

  • Since: 2005/1/18


Quote:
Edit - Can I call a block with an include? Grab the block straight from the modules/system/templates/blocks folder??


yes, you can. Look how I called the submenu function so the submenus of a module and the main menu is separated:

http://www.marruecosdigital.net/xoops/modules/mylinks/

Look the row Enlaces > Enviar enlace. This is the submenu of the Mylinks module.

I used Boox module, that allows you to create custom blocks anywhere in the theme. You have to include some code, but Boox gives you it:

The code in the theme template was:

<{php}>
-- Code given by Boox --
<{/php}>

Then, in the Box, I wrote a PHP piece of code to call the submenu:

Quote:
require_once (XOOPS_ROOT_PATH."/modules/system/blocks/system_blocks.php");
$mainmenu = b_system_main_show();


But this does not show anything in screen, only gives the data, you have to write more PHP code to process the data returned by the fucntion and put it on screen.



228
nachenko
Re: catads - allow guests to view but not to reply
  • 2007/3/10 17:25

  • nachenko

  • Quite a regular

  • Posts: 356

  • Since: 2005/1/18


A simple trick in smarty:

Locate the "reply" button or link in your template.

-- Reply button or link --

and write this around it:

<{if $xoops_isuser}>
-- Reply button or link --
<{/if}>

If they are not logged on, they won't see the reply button



229
nachenko
Re: Module between Smartsection and News
  • 2007/2/23 13:49

  • nachenko

  • Quite a regular

  • Posts: 356

  • Since: 2005/1/18


Nobody?



230
nachenko
Module between Smartsection and News
  • 2007/2/23 11:31

  • nachenko

  • Quite a regular

  • Posts: 356

  • Since: 2005/1/18


Hi!

I'm looking for a news module with just a few more options than news.

News is perfect, except for these features it doesn't have:

· When on a main, or parent category, it doesn't show links to subcategories, and it doesn't generate Smarty items for this to be included by the designer.
· Can't assign weight - order to categories.
· Can't assign weight / order to articles.

The first one is not a problem, I hacked the News module ages ago to do this and more (seehttp://www.ecro2006.com/eng/modules/news/index.php?storytopic=25)


The third one... well, I can hack date of publishing and make it a weight, but the categories... don't know what to do.

SmartSection can do all this and much more, the problem is that it is way too much for a newbie. Too big burrito, too complicated to manage for people that have never seen a CMS before. If I use Smartsection they'll phone me about three-zillion times a week.

That's it. I need something like News, you know, but able to sort categories and articles manually.


Any suggestions?




TopTop
« 1 ... 20 21 22 (23) 24 25 26 27 »



Login

Who's Online

189 user(s) are online (151 user(s) are browsing Support Forums)


Members: 0


Guests: 189


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