51
hsalazar
Re: How to make the current section highlighted in the main menu?
  • 2004/8/17 4:15

  • hsalazar

  • Just popping in

  • Posts: 78

  • Since: 2003/2/6 1


mcmikemc:

Search and ye shall find. Not long ago, Chapi shared in this same forum a tutorial on how to do precisaely what you want:

https://xoops.org/modules/newbb/viewtopic.php?topic_id=16063&forum=16#forumpost67434

Cheers



52
hsalazar
Re: Forum width
  • 2004/8/16 13:57

  • hsalazar

  • Just popping in

  • Posts: 78

  • Since: 2003/2/6 1


323-Freak:

This is a very old grievance and certainly something that should be fixed at the module level.

I don't have a code solution, but I do have an idea you might try if you have some experience playing with PHP. Look for some of Catzwolf's modules and in the file include/functions.php look for a function called xoops_createthumb.

You might try adding the function to the forum code, so that when an image is uploaded in a comment, it gets resized once it reaches some width defined in the function call.

Of course this should also be included in the to-do list of the module's developers.

Cheers.



53
hsalazar
Re: News Module - '...' placed at end of a listing in Recent News
  • 2004/8/16 13:50

  • hsalazar

  • Just popping in

  • Posts: 78

  • Since: 2003/2/6 1


tedsmith:

From your post, I assume the problem lies in the headlines shown in the Recent News block. The code that includes the three dots is indeed the one you've pointed out. However, the piece of code also shows something else: you can configure the length of the news title. Basically, the lines
if (strlen($title) >= $options[2]) {
$title $myts->makeTboxData4Show (xoops_substr($title,0,($options[2]-1)))."...";

say something like: "If the length of the news item title is equal to or larger than the value of option 2, then replace it with a substring of length option 2 less 1".

So instead of editing the PHP code (which is something risky unless you're sure of what you're doing), simply go to the block definition page. In Admin > Blocks look for the Recent News block and click on the "Edit" link placed at the far right. This will take you to a page where you can change the value of option 2. Set it to a higher value than the default to lose the three dots.

Cheers.



54
hsalazar
Re: IE5: problems with block width and overall distances
  • 2004/8/16 13:41

  • hsalazar

  • Just popping in

  • Posts: 78

  • Since: 2003/2/6 1


Also, put the blame where it belongs. This is not a XOOPS issue. It's a MSIE issue. If you browse the CSS forums all over the Web, you'll see that this is a common trouble having to do with the box model used by older versions of MSIE.

My suggestion would be to try the Tantek Celik hack in your CSS stylesheet. It'll take you less than an hour to learn how to use it, and you'll end up with a stylesheet good for most browsers.

The basic assumption you might use is this: for the structural elements (either tables or DIVs), set margins and paddings to zero. Inside them place content elements, and you can use margins and paddings there.

Cheers.



55
hsalazar
Re: Problem... don't what to do?
  • 2004/8/16 13:36

  • hsalazar

  • Just popping in

  • Posts: 78

  • Since: 2003/2/6 1


ledieujulien:

I think you're talking about separate things here. The notices (not errors) you see when debug is turned on just mean you don't have the language strings right. That is, you need to translate the strings _AM_GROUP and _AM_UNASSIGNED in the proper language file. As soon as you include the defines, the notices will go away.

As to the mysterious disappearance of the who's online block, that's a different story altogether. A common cause of this is the assignment of the block to a specific page. When you do that, the Admin > Blocks page returns to the default, which is to show the blocks defined to show in all pages. Scan the different pages and you'll probably find the block somewhere, assigned to a single page.

Cheers.



56
hsalazar
Re: How to get the Inbox of User Menu in my Header instead
  • 2004/8/16 13:32

  • hsalazar

  • Just popping in

  • Posts: 78

  • Since: 2003/2/6 1


Lance_:

Please use the search function to look for the answer in the forums. This particular thing has been answered at least 3 or 4 times.

Cheers.



57
hsalazar
Re: How to force hspace value around every image from the news section?
  • 2004/6/30 14:42

  • hsalazar

  • Just popping in

  • Posts: 78

  • Since: 2003/2/6 1


linuxway:

This depends on what you call "the image tag of an article". If you mean the topic icon, the one that has a link to the topic index, it's defined within the class newsstory. Look for the file modules/news/class/class.newsstory.php and there look for the function imglink(). I can't give you the lines because I use News 1.2 and you might have News 1.1, but it's around lines 237-244. By default, this function has a 10px space both in the horizontal and the vertical sides.

If you mean the images placed within an article/story, then we're talking of a different subject. For that you'd have to trace the workings of the image manager, assuming you use the image manager to place your images. Personally, I put the code by hand, using floated layers to place images wherever I want. If I want an image in the right side, for instance, I use something like:

<div style="float: right; width: 120px; margin: 6px 0 8px 6px;"><img src="here-the-path-to-the-image" /></div>

This gives me more control about where I place things.

Cheers.



58
hsalazar
Re: [TIP] Fix that < form >
  • 2004/6/15 23:25

  • hsalazar

  • Just popping in

  • Posts: 78

  • Since: 2003/2/6 1


CPreet:

Of course it all depends on the theme designer. Of the three themes shipped in the XOOPS distribution pack, only the x2t theme defines by default its forms with this declaration:

form {margin: 0px; padding: 0px;}

That's one of the many, many things that can be customized to please the users' whims.

Thanks for pointing this out.

Cheers.



59
hsalazar
Re: Awesome for newbie!
  • 2004/6/14 23:49

  • hsalazar

  • Just popping in

  • Posts: 78

  • Since: 2003/2/6 1


JackJ:

As Mithrandir has correctly mentioned not only here but also in other forums, your document is a very valuable addition to XOOPS. Nobody doubts that. We've known for a long time that you're a valuable member of this community.

I've seen that an account was created for you on the documentation site, so I guess you have been invited to join the gang. Since I'm on a voluntary "leave" for personal reasons since april, I'm not at the moment heading the team, but I know for sure your document has been greatly appreciated there.

In a thread within the team's forum, the document has been praised for its content, format and presentation, and has been signaled as "a wake-up call" for the documentation team, that has been working lately in the "XOOPS Operations Guide" and the "Anatomy of the Default Theme" documents.

So, in behalf of the documentation team, er, perhaps as a "symbolic leader" for the moment, I'd join the rest of the xoopsers here in praising you for the work and dedication clearly visible in your "XOOPS for Dummies" guide. I'd vote for its inclusion in the list of official documents and I'd appreciate if there was an effort to reach an agreement on the format.

Also, regarding that "stoney cold silence" you met, I humbly present you two apologies, my own and the documentation team's apology in case you haven't been contacted by Richard or any of our team. We're here to add and multiply efforts, not to substract or divide them.

Thanks again for an inspiring contribution to XOOPS. And a more public invitation: would you care to join us?

Cheers.



60
hsalazar
Re: Installing Wiki/Wiwi Problem
  • 2004/5/18 15:27

  • hsalazar

  • Just popping in

  • Posts: 78

  • Since: 2003/2/6 1


Speed:

I'm not that sure about the specific syntax of every wiki instance, but at least in phpWiki, which is the tool working in both the documentation and the developers sites, to create a new page you don't enclose the word in brackets, but rather write a concept with words tied. Let's say you want a page about module creation. You write something like: "CreateModule" (without the quotes), save it and then you'll have that question mark you can click on to create a new page.

Cheers.




TopTop
« 1 ... 3 4 5 (6) 7 8 9 ... 34 »



Login

Who's Online

258 user(s) are online (133 user(s) are browsing Support Forums)


Members: 0


Guests: 258


more...

Donat-O-Meter

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

Latest GitHub Commits