By meenakshi-2 on
I have installed the Og module for creation of groups. Og has its default group home page(?q=og) , which shows all the groups. I want to add a link "Create a Group" on this page. How can i do it?
I have installed the Og module for creation of groups. Og has its default group home page(?q=og) , which shows all the groups. I want to add a link "Create a Group" on this page. How can i do it?
Comments
Just..
...add a link to the whatever you called the main group node. eg if you called your main group node "groupnode" just add an href to http://yoursite.com/node/add/groupnode
Thanks
Thanks ludo1960 .
I am new to drupal. can you pls explain me which file of Og i need to edit to add the href? There are many files and views in og module. I tried adding href in og.og.view and og.module file. But of no use.
ok
If you read the readme file that comes with OG there are 2 files you need to copy to your themes directory node-og-group-tpl.php and something else. Edit the node-og-group file and you should be good to go.
Well...
..did you get it working?
I added the href in
I added the href in node-og-group-tpl.php. But still i am not able to see the link on Group home page :(
Did you..
..copy the file to your theme directory? Put some test text in the node-og-group-tpl.php to make sure everything is properly configured, it should work!