311
hsalazar
Re: How to make web-snapshot for links?
  • 2003/8/2 19:19

  • hsalazar

  • Just popping in

  • Posts: 78

  • Since: 2003/2/6 1


Daigoro:

There are, as you say, many ways to do this. What I do is simple:

1) I capture the screen using Alt + PrScr to copy the active window to the clipboard.

2) Open Fireworks and create a new file using Ctrl + N. Automatically it creates a canvas with the size of the image in the clipboard.

3) Paste the image using Ctrl + V.

4) Export the file using Ctrl + Shift + X

5) Select the tab "File" and there write the wanted width.

6) Press Export and write a filename.

That's it. Nothing fancy, just practical. If you want something else, visit a freeware or shareware repository and look for "screen capture". You'll find at least five or six good free programs.

Hope this is useful.




312
hsalazar
Re: WebSlave Project - a project managment tool
  • 2003/8/2 1:30

  • hsalazar

  • Just popping in

  • Posts: 78

  • Since: 2003/2/6 1


All:

For any interested in this module, I've made a set of general templates and a couple of changes to the files. This is still the work of gronice; I just put it closer to the XOOPS interface. You can find the modified version of the module, including the spanish files (but of course) here:

Mesa de pruebas > WebSlave Project

Still haven't found what happens when a project is finished, but the pages look fine.

Greetings.



313
hsalazar
Re: WebSlave Project - a project managment tool
  • 2003/8/1 20:21

  • hsalazar

  • Just popping in

  • Posts: 78

  • Since: 2003/2/6 1


Gronice:

I'm adding here a snapshot of how the showProject.html looks displayed. I've marked in red a couple of subtitles I've added to the template, so I had to add language constants to display them correctly. This is the image:
Resized Image
I still don't know why Anonymous users can't see the project module. I set the permissions in their group...
Anyway, if you have an answer or an idea, please let me know so I can correct things.
By the way: in my site you can change the language on the fly by using the selector in the top left corner.
Cheers.



314
hsalazar
Re: WebSlave Project - a project managment tool
  • 2003/8/1 19:55

  • hsalazar

  • Just popping in

  • Posts: 78

  • Since: 2003/2/6 1


gronice:

I'm almost done. But I found a problem. In a project, if I finish all tasks and click on Complete project, there was a "?" missing, so I put it in. But now, when clicking on the link, I get these messages:

NoticeUndefined indexstartdate in /home/mesadepr/public_html/modules/wsproject/class/core.php on line 419

Notice
Undefined indexenddate in /home/mesadepr/public_html/modules/wsproject/class/core.php on line 419

Notice
strtotime(): Called with empty time parameter in /home/mesadepr/public_html/modules/wsproject/class/functions.php on line 29

Notice
strtotime(): Called with empty time parameter in /home/mesadepr/public_html/modules/wsproject/class/functions.php on line 30

Notice
strtotime(): Called with empty time parameter in /home/mesadepr/public_html/modules/wsproject/class/functions.php on line 30

Notice
Undefined indextodo in /home/mesadepr/public_html/modules/wsproject/class/core.php on line 420


Other than this, I'm almost ready to repack the module without any reference to another stylesheet. I also added a couple of language constants for the page that shows a project.

Please take a look at the progress in http://host78.ipowerweb.com/~mesadepr/modules/wsproject/ and tell me what do you think.

Greetings!

P. S.: Found another problem. Can't give access to the module to anonymous users. Gives me a message stating that:

Fatal errorCall to a member function on a non-object in /home/mesadepr/public_html/modules/wsproject/class/core.php on line 372

Ooops.



315
hsalazar
Re: WebSlave Project - a project managment tool
  • 2003/8/1 17:31

  • hsalazar

  • Just popping in

  • Posts: 78

  • Since: 2003/2/6 1


gronice, rabideau:

When I said "easy" I meant "not difficult"; yet it's a detailed work, because I have to go through every template. Mostly the idea is to get rid of the specific stylesheet and use Xoops' general one.

At the moment I've successfully changed the first template. If you want to take a look at it, clic here (this is the english version, so many tags are in English. Still have to apply the multilingual hack to the files.

If you click on any other link, you'll see the original style of the module.

I'll go on changing templates, and if it's alright with you, as soon as I have them ready, I'll post it here.

Greetings.



316
hsalazar
Re: WebSlave Project - a project managment tool
  • 2003/8/1 15:17

  • hsalazar

  • Just popping in

  • Posts: 78

  • Since: 2003/2/6 1


gronice:

A question? Why do you include in the stylesheet selectors that override the user's theme? I understand the need to define selectors for specific outputs, but including definitions for body and many other items wreaks havoc with the site's style. The good point is this is in turn easily overriden.

As for the rest, I think a project management module was sorely needed. Thanks for sharing this with the XOOPS community!




317
hsalazar
Re: SOLVED - Making Xoops CONTENT Multilingual *Fixed Code Quote problem*
  • 2003/7/22 0:14

  • hsalazar

  • Just popping in

  • Posts: 78

  • Since: 2003/2/6 1


Daigoro:

If it works for the slogan part of the title, it might mean you changed the file in a different line.
The structure of this part of the file has something like this:

If the user IS registered...
--- If there's a module defined as initial
------ Assign $xoopsModule->getVar('name') to the variable xoops_pagetitle
--- Else (no module defined as initial)
------ Assign $xoopsConfig['slogan'] to the variable xoops_pagetitle
Else (the user IS NOT registered)
--- If there's a module defined as initial
------ Assign $xoopsModule->getVar('name') to the variable xoops_pagetitle
--- Else (no module defined as initial)
------ Assign $xoopsConfig['slogan'] to the variable xoops_pagetitle

So it might be possible that you included the wrapper to the conditions related to the assignment of the slogan to the variable xoops_pagetitle.



318
hsalazar
Re: SOLVED - Making Xoops CONTENT Multilingual *Fixed Code Quote problem*
  • 2003/7/21 19:43

  • hsalazar

  • Just popping in

  • Posts: 78

  • Since: 2003/2/6 1


Daigoro:

No problem. In the original header.php file, there are, in lines 97 and 115, two instances of the same line:
Quote:

$xoopsTpl->assign('xoops_pagetitle', $xoopsModule->getVar('name'));

What I did was replace each line with this:
Quote:

$myts =& MyTextSanitizer::getInstance();
$perro = $myts->makeTboxData4Show($xoopsModule->getVar('name'));
$xoopsTpl->assign('xoops_pagetitle', $perro);

As you see, I used an intermediate variable, $perro, to store the name of the page once passed through the sanitizer, and then assigned this value to the Smarty variable xoops_pagetitle.
I thinks that's all I did. If you stumble into some trouble, please let me know.
Also, be aware there's a new option available to make sites multilingual. I haven't tried it yet, but in some ways (I just read one document) it seems easier than the route we've followed here. It rests to be seen how is it that you upload content in the other option. [This new option is available by registering in PetitOOps. Browse the recent news here.]



319
hsalazar
Re: SOLVED - Making Xoops CONTENT Multilingual *Fixed Code Quote problem*
  • 2003/7/20 0:06

  • hsalazar

  • Just popping in

  • Posts: 78

  • Since: 2003/2/6 1


Daigoro:

The postscript meant if you don't change also header.php in the pagetitle part, the whole string appears in the title of the page, on top of the browser.

As to extending the hack to serve other modules, I'm not sure. I'm in fact using somebody else's hacks and just extended what I needed. But whatever I do, I'll share here gladly.



320
hsalazar
Re: SOLVED - Making Xoops CONTENT Multilingual *Fixed Code Quote problem*
  • 2003/7/19 19:08

  • hsalazar

  • Just popping in

  • Posts: 78

  • Since: 2003/2/6 1


Chad, All:

I've successfully hacked my way to translation of menu items. All I had to do was to modify, within the file modules/system/blocks/system_blocks.php the function b_system_main_show().

Three changes:

1) Added instantiation of text sanitizer

2) Where it says
Quote:

$modules[$i]->getVar('name')

I put
Quote:

$myts->makeTboxData4Show($modules[$i]->getVar('name'))

And where it says:
Quote:

$sublink['name']

I put
Quote:

$myts->makeTboxData4Show($sublink['name'])

So far, so good. Please try the hack and let me know if it works. Cheers.

PS: Also had to repeat the procedure in the file header.php to pass through the decoder the variable xoops_pagetitle.




TopTop
« 1 ... 29 30 31 (32) 33 34 »



Login

Who's Online

148 user(s) are online (108 user(s) are browsing Support Forums)


Members: 0


Guests: 148


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