This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

'break' dosen't work

I'm not sure why but the break thingie does not work. it just blanks off the whole of the rest of the page. what i wan't it to do is make the front page version stop there and there to be a read more link at the bottom that takes you to the rest of it.
does anyone know how to do this?

What???? Why doesn't it work??? is the help wrong??

When I followed the guidelines in the admin help file to create some of my own user fields they did not work i the copied exactly what they did and they don't work! :( When I go to the edit my account page it says this: <b>warning:</b> Invalid argument supplied for foreach() in C:\mike\modules\user.module on line 981.
Any one know why? :?
Thanks

Anyone know why this doesn't work?

I'm having trouple with this piece of code:

Drupal maillist

Is there any module for Drupale to manage mailing lists?
I need ability to mass mailing for site subscribers.
What module are used for drupal.org mail list?
Thanks.

node.module hack -- Add 'read on...' to the end of nodes

It bugs me sometimes that Drupal will just cut at a part in your node, without letting the user know something has been cut. So... here is what I did to fix that...
Open up node.module in your favorite editor and search for 'function node_teaser($body)'.
You should see some sections that look like this:

return substr($body, 0, $delimiter);

Replace all of them with something like this:

Locale module's output stretching fixed layout

I have modified XTemplate to produce a new fixed-width layout,
and all works fine but locale module which is stretching the layout.

Not on it's first page, but after search when it populates the table with
locale terms.

Looking at the HTML output I can see where the problem starts, but I just can't
find the solution, tried everything I could think of for the past 2 days. Now I am really getting desperate.

HTML Output looks like this:

&lt;div id=&quot;help&quot;&gt;The locale module handles translations into new
languages. It also enables you to add jargon,
slang or other special language as fits the web site.
For each language you want to support, a line needs to
be added to your configuration file.<br>
&lt;/div&gt;

This part is still OK, and now the problem follows:

    <!- begin content ->

    <table >

    <tr><th>string</th><th>languages'</th><th colspan="2">operations</th> </tr>

    <tr class="dark"><td><br /><small><i>/beautymag/admin/system/modules</i></small>
    </td>
    <td
    align="center"><strike>hr</strike> <strike>en</strike> </td><td
    nowrap="nowrap"><a href="admin/locale/edit/399">edit
    locale</a></td><td nowrap="nowrap"><a href="admin/locale/delete/399">
    delete
    locale</a></td> </tr>

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions