Drupal is up and running but how do I ...?

Glossary page missing: How do I display the generic Glossary page?

Hi, running 4.6.5 here with glossary, path_auto, tagadelic, etc.etc.

everything's working fine with the Glossary, seeing the icons, the explanations from my vocab
but for some reason the links that go to the Glossary definition are empty

ie http://www.site.com/glossary#term16 just shows a

Page Not Found

- Other url aliases work fine
- Tagadelic url shows a similar link to

site.com/tagadelic/chunk/4

that shows a

Page Not Found

asynchronously load info to div (Ajax)

I'm having success updating divs asynchronously (love that word). The URLs are converted to javascript calls by javascript itself, so the page works fine with javascript turned off as well.

HDI: generate a table from within a module so long header strings wrap?

not sure if this should be in "How do I" or "Module development"...

please excuse my general ignorance of style sheets, themes, etc.

i'm working on customizing a module. i'm generating a table where the header row contains node titles, values that can be fairly long (roughly 3-10 words). the values within each regular cell will only be a single word or a number, so i don't need extra-wide columns. currently, my table is being displayed where each column's header string is printed in full, which makes the table excessively wide. i'd like to make the columns some fixed width, and force the header row to wrap the words (granted, in a taller row, but that's ok with me).

the code is basically like this:

$header = array();
$header[] = array('data'=> t('Name'));
// do an SQL query to fetch a bunch of node titles
$title_query = db_query( SELECT title FROM {node} ... );
while ($db_title = db_fetch_object($title_query))  {
  $header[] = array('data' => $db_title->title);
}
$rows = array();
// do other queries and processing to fill in the rows...
$output .= theme('table', $header, $rows);
print theme('page', $output);

all the DB query stuff is working fine, i've got all the data i need, i just can't figure out how to make the table header columns a fixed width. in the part where i'm filling in the $header array with titles, i've tried:

  $header[] = array('data' => $db_title->title, 'width' => '30');

or

  $header[] = array('data' => $db_title->title, 'width' => "10%'');

i also tried permutations where i used 'id' or 'class' and tried to muck around in my theme's style.css file, but as i said at the top, i'm no style sheet expert, so i don't really know what i'm doing.

finally, out of desperation, i tried the following kludge:


$title_str = wordwrap( $db_events->title, 12, "

blogs category

I would like to present in home page several blogs category (and if possible sub-category) in wich users can create and see blogs.

What is the best way to do it ?

thank you

converting 4.6 database to 4.7

Has anyone managed to successfully upgrade a reasonably large database from 4.6 to 4.7 yet?

If so can you pass on some detailed tips?

Thanks in advance for your help!

Getting logged out on certain pages

Just recently i have noticed that on certain pages i will be logged out, yet on other pages i will be logged in and able to edit the page using the tabs at the top.

Any ideas why this may be happening?

Pages

Subscribe with RSS Subscribe to RSS - Post installation