Hello Community,
I am having a problem that Add, Edit, View admin tabs not showing when on a particular content item.
While when we click on Edit link in Content Items listing, we get to see the tabs.
What I notice is, when we are on a URL like: http://localhost/myproj/?q=node/180, we are able to see the tabs.
But when we see the aliased URL for the same content item such as: http://localhost/myproj/?q=news/test_news, we are NOT able to see the tabs there.
Also, there are some content types created by someone else, the content from which does show the tabs over them.
I checked almost all the possible settings (as per my knowlege), but No profit. While I need to finish this out very urgently.
Can someone please help me? I will really appreciate that.
Thanks,
Manish Aneja.
Comments
hi
have you created your own theme...and which drupal version r u using ?
otherwise open your page.tpl.php
and you will find a line
if not..you have to paste this code in ur page.tpl.php file
Hi
Hi sumitshekhawat7331,
Thanks for your reply.
I checked the tabs line in page.tpl.php and it exits there. Actually tabs are showing sometimes. But they are not showing for pages created by me. I am probably missing some logic here. I checked the permissions, and they look fine to me.
Also, when I check the Local tasks array at one of my templates not showing tab, by calling menu_get_local_tasks(), I see that children array does not contain anything and is empty.
This as far I understand is that the tabs are not being able to be generated from Drupal.
But No Idea, why is this happening.
Can this be a problem with
Can this be a problem with URL aliasing because:
1. As I mentioned above if we open the content from one URL (http://localhost/myproj/?q=node/180), it shows the tabs, while the tabs are Not showing, if the same content is opened with the aliased URL (http://localhost/myproj/?q=news/test_news) the content is opened with tabs.
2. There doesn't look to be a problem with permissions, because tabs are viewed in one f the URLs.
hi
have you installed any module related to url...like pathauto.... bcoz normally these tabs are displayed by these codes...
you can match this code with your page.tpl.php otherwise reinstall Drupal latest version or latest enabled modules
I have pathauto module
I have pathauto module installed. But I did not understand what do you mean by this code here? Should I have similar code in my page.tpl.php?
I can't reinstall Drupal because I have done very much of work within this.
hi...
May its problem with ur pathauto module... but i don't think so.... and the code i have given to you ...must exist in page.tpl.php ....bcoz these 5-6 lines are very important.
you can try this...
Thanks for your kind
Thanks for your kind cooperation,
I checked for these lines in my file and did not find following in my code:
I tried writing these lines. But still tabs don't appear.
Also, so far what I understood and studied is that, these should display the tabs in my html. But the problem so far I understood is that tabs do not actually generate on these pages due to some problem and tabs array remains empty.
Also, when i install devel module, the devel tabs do still appear there, though Edit, View tabs still don't. I am absolutely stumbled. Please help.
Thanks
Anyone please if has some
Anyone please if has some idea what can be the reason for this, it would be a great help.
Thanks.
Have you installed any
Have you installed any access control modules? They could be limiting your ability to edit.
Also, check your input format settings. If the node is "Full HTML" and you only have permission to use "Filtered HTML", you won't see the tabs.
Thanks for your reply. Yes,
Thanks for your reply.
Yes, I have Access Control installed. But I have permissions for these pages for both create and edit and also for view.
Also I am using Filtered HTML and have full access to that as Well.