In this my new site while entering comments why only Subject textfield is presented to the user? I need Name text field too. How can I do it?
This is sample comment page site link
Under Administer » Content management » Content types Choose the content type where you have these comments show up.
You will see a fieldset called "comment settings", underneath which you find a setting whether a user must, may or may not leave contact information.
Related
I'm searching the way to show custom fields that I've added on the users in the default view for the user/11. It displays only the username and the History.
I can make a view for that but I want to use the original page (user/id).
Thanks for your help !
Take a look under Administration » Configuration » People » Account settings » Manage fields, and locate the panel Fieldname field settings. There you should be able to make the field visible when someone view the user's profile by making the field "Public".
I am currently working on Drupal site using Joomlart template JD Fashion.I have inserted the articles using content type as story. I don't want to display name of author and publishing date and time for the articles.
For this I have simply edited the node,expanded the Authoring Information section near the bottom of the page, and changed the Author name to blank.
But when I save this configuration for the article promoted to front page which was made sticky at top it show's "Page not found" error and on frontpage "n/a" appears where first article was.
When I tried to undo changes the node does not appear in any category at all.It is also does not appear in published or unpublished status.
I am sure that I have just deleted author information.
What went wrong? Is their any way to resolved page not found error?
Please help me...
Thanks in advance.
Here is what you need to do. Do not delete the author but instead go here:
Structure->Content Types->Articles and click edit
From here at the bottom you will see "Display Settings"
Click this and uncheck "Display author and date information."
Here is an answer for the question. For removing author and date information in Joomla art themes you have to go to admin->site building -> themes -> your theme -> configure -> configure -> here you will find "Display post information on" -> uncheck story or your content type.
This what I am expecting:
If the user filled the textbox, and if the user checked means, while displaying the content on that time, content should show as a link, if the user is not checked, then it need not to show the link while that content in view mode. See the following image for an illustration.
Not an exact solution to what you want to do but I believe the Link Module will display only text if no url is entered.
You can give users a message saying to leave URL field blank and only enter a TITLE if they want plain text.
UPDATE:
You don't need to code any hooks. The CCK Module adds fields to content types. The Link Module adds link functionality to CCK.
No coding is necessary; this can all be done from the admin panel. If you have no idea what I'm talking about see this video.
http://drupal.org/project/conditional_fields module does exactly what you are trying to accomplish. You can use the link_field of cck along with the conditional fields module. So based on the value in the check-box you can choose to display it in the node view.
What's the easiest way to create a testimonial page in Drupal ?
I need the users be able to add a comment on the bottom of the page, and I need to approve them before they can be published.
I could use views + webform module for it ? Or is there something simpler ?
thanks
Create a content type called "Testimonials" and set it to default Unpublished. Call the Title field "Name" and the body field "Testimonial".
Create a View called testimonials with a page attachment that lists out nodes of type "testimonial" with a filter for Published = Yes. Set the path to "/testimonials".
Use the Form Block module (http://drupal.org/project/formblock) to put the Node Add form for the Testimonial content page into a block.
Configure the block you created to appear at the bottom of the testimonial page (your theme should have a "Content bottom" region, if not you'll need to add one by editing the theme's page.tpl.php and $theme.info file.
To approve a testimonial, go to the content list, filter by Type: Testimonial and Status: Unpublished then use the checkboxes and the drop-down to change the status to "Published".
This will provide a page that lists testimonials, with an "add testimonial" form at the bottom of the page, and all testimonials must be approved before they will appear on the site.
If your criteria for a testimonial is just a block of text then creating a "testimonial" content type would work. You could allow users to create them but require admin approval to be published.
You can also change the access control for comment approval
Edit:
This was going to be my follow-up comment when you clarified that you wanted a form at the bottom of an existing page.
I don't know if this works, but try
viewing the HTML source of
/node/add/testimonial in your
browser and copy everything from
<form action="/node/add/page"... to
the closing </form> tag.
Gah. That sounds hideously complicated. If you want a form at the bottom of an existing page then maybe the plugin you mentioned is the best option (but I haven't researched it).
I'm having an issue where a certain content type is not accessible by standard user accounts and anon users. The content type is Page (not the Drupal one but one I created). It contains nothing special, just static text.
When I try and view a page I see the title displayed but below that, the html from the tpl isn't included. So the issue is NOT that I get an access denied page. (The text is displayed in box with rounded corners top and bottom. The top ones are there but not the bottom ones, that's how I know the HTML isn't all being displayed)
This account can access all other content. In Permissions, access content is checked of course and I could find no entries that would determine simple viewing of a specific content type.
What could cause this?
If you use CCK fields with your new content type, you should recheck your permissions. CCK fields have their own view and edit permissions and will default to the most restrictive permissions by default.
(Note: Comment turned into answer)