1
plavoie
How to hide part of url on the home page
  • 2005/6/16 15:38

  • plavoie

  • Just popping in

  • Posts: 4

  • Since: 2004/11/3


I've looked at a lot of posts in the forum and I haven't found the answer to this simple question: a lot of XOOPS sites (including xoops.org) do not show a "complete" url on the home page. Ex.:

[complete]http://www.mysite.org/modules/news/
[hidden]http://www.mysite.org/

Is that possible because those sites use Simplify URL module/hack? How can I prevent the "modules/news/" string to be shown?



2
plavoie
Re: text wrap xcgal
  • 2005/6/1 19:43

  • plavoie

  • Just popping in

  • Posts: 4

  • Since: 2004/11/3


It is a css problem. Go in admin/Templates/xcgal menu.
Then, open the template "xcgal_dsiplay.html". In the file, you should see something like this:

-----
<{if $pic_caption !=''}>
<tr>
<td style="text-align: left;">
<div style="margin: 3px 10px 10px 10px;"><{$pic_caption}></div>
</td>
</tr>
<{/if}>
</table>
<!-- END img_desc -->
-----

The problem is simple, those tags are in a "td" cell that has a nowrap setting for white-space. You have to set it back to normal for the description. So, add the "white-space:normal;" attribute:

-----
<{if $pic_caption !=''}>
<tr>
<td style="text-align: left; white-space: normal;">
<div style="margin: 3px 10px 10px 10px;"><{$pic_caption}></div>
</td>
</tr>
<{/if}>
</table>
<!-- END img_desc -->
-----

For the title, you have probably something like:

----
<{if $pic_title!=''}>
<tr>
<th>
<{$pic_title}>
</th>
</tr>
<{/if}>
----

Do the same:

----
<{if $pic_title!=''}>
<tr>
<th style="white-space: normal;">
<{$pic_title}>
</th>
</tr>
<{/if}>
----

Hope it will help.



3
plavoie
Re:Headlines Module - Doesn't support most RSS feeds
  • 2004/11/3 14:35

  • plavoie

  • Just popping in

  • Posts: 4

  • Since: 2004/11/3


I've looked at the ATOM specification briefly (few seconds) and it seems to be pretty different than RSS. I'm doing a hack for the module to make it use the magpie RSS/ATOM parser instead of the sax xml parser. Magpie does not validate the feed but seems to handle most feed types.




TopTop



Login

Who's Online

127 user(s) are online (75 user(s) are browsing Support Forums)


Members: 0


Guests: 127


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