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

Simple Access Module

This module provides just what I need -- EXCEPT, in so restricting content it also removes same content from being viewable in the list of forum subjects, and "new content", etc., blocks. Ideally, I would like people to still be able to see what content is on the site, but when they then click the subject Simple Access would be triggered, and prompt for a login or block access to the body of the post.

Has anyone edited this module to add/change that functionality?

Please help with hook_menu

Hello!

For my module, I want to create a simple page, additional to settings and help ones that I have made using the instructions in that module tutorial.
So, I create a menu item for that in hook_menu:

jRating changes order of fields (in the teaser)

Hi,

i use the audio module and mix it with blog nodes to a weblog. It works beautiful with views.

Now i installed jRating and it works perfect.

BUT:
Before jRating the audio-Player (Flash-Player) was on the top of the teaser. Now the order is:
- title
- body
- player
- jRating

How can i change the order back?
- title
- player
- body
- jRating

Please help!

thx
paulap

Feature request: Audio comment system (mychingo/mobatalk)

Not sure where feature requests go, but...

I would love to see a module for the mychingo audio comment system - http://www.mychingo.com/ (or any other audio comment system). I think audio comments on blogs etc are going to increase. (One thing they do is make commenting less abrasive and snippy, because people are on better behavior when people can hear their voices).

recursive listing of Menu

is the any way to do recursive listing of all menus in select tag

Adding tab to blog page

Hi there,

I'd like to to navigate the blog.module with tabs.
At first it seemed really easy to me to add tabs to the hook_menu function of the blog.module
I thought I'd only have to add the String " 'type' => MENU_LOCAL_TASK " to the function blog_menu, as done in the following code below, and I'd get a tab at the top of the page.

function blog_menu($may_cache) {
   global $user;
   $items = array();
 
   if ($may_cache) {
     $items[] = array('path' => 'node/add/blog', 
       'title' => t('blog entry'),
       'access' => user_access('edit own blog')),
       'type' => MENU_LOCAL_TASK;
     $items[] = array('path' => 'blog', 'title' =>
 t('blogs'),
       'callback' => 'blog_page',
       'access' => user_access('access content'),
       'type' => MENU_SUGGESTED_ITEM);
   }
 
   return $items;
 }
 

But I was wrong!

I`ve seen some Threads in this forum, but I can't really work them out.

Then I thought to create an tabblog.module on my own:

?php
function mytabsblog_menu($may_cache)
{
$items = array();
if (!$may_cache) {
if (arg(0) == 'blog' && is_numeric(arg(1))) {
$items[] = array(
'path' => 'blog/'. arg(1) .'/',
'callback' => 'mytabsblog_subfunction',
'title' => t('WebLogs'),
'access' => TRUE,
'type' => MENU_LOCAL_TASK
);
}

Pages

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