Drupal 7 - Blog Module - Adding title to single blog post - drupal-7

I have been asked to add a blog for a website built in Drupal 7. I activated the blog module and made a couple entries.
The postings show up fine on the blog page, but when I click through to a single entry it is just the text of the post. I would like to add the title to the page.
How is this possible?
Thanks,

Either you have the title removed in page.tpl.php or you have a page--blog.tpl.php that has the title removed.
Copy your page.tpl.php and rename it to page--blog.tpl.php (note there are two dashes between page and blog it will not work with just one) and add in this snippet of PHP:
<h1 id="page-title"><?php print $title ?></h1>
Then clear Drupal's cache. If this does not work out for you try adding it to node--blog.tpl.php.

Related

Trouble editing an Elementor post page

I'm currently an intern with little Wordpress experience. I have to to make the website more 'modern' and I've stumbled upon the blog page. I decided on using the blog element. It works well, but when I want to edit the blog page, I stumble on an issue.
I know how to disable reactions but can't find any option where to disable the meta data and author. I also can't edit the image size (Also seen in the screenshot below). I also don't know if it's possible to change the style on the post title, since whenever I click on it, it doesn't give me the options to change its appearance like every other Elementor element.
Are these options I'm looking for not a feature, or am I looking at the wrong place?
Screenshot of the post page. Highlighted elements are the featured image, meta data and author.

How to add list of blog posts in Blog section with netlify CMS?

I already asked this question in the Netlify community but no response yet so I thought I should also post the question here in case someone could help solve the problem.
I am using Hugo-academia template for my site. It works fine but the issue is that I am unable to view a list of my posts in the BLOG section. I have three sections(About | BLOG | Resume) on the website I'm working on
Once I create a post with Netlify-CMS, it creates the post successfully and I can see the post under Recent Posts in my homepage. But if I click on BLOG, I am unable to see the accumulation of my blog posts.
Unfortunately, the Github repo is private but here's how my content directory looks like (Kindly note that I am using hugo-academic theme)
content/blog/index.md
I expect that once I create a blog post (let's call it 'new-post') with netlify CMS, a folder should be created automatically and create a pull request on my GitHub. Something like this:
(On a side note, I changed post in the original theme to blog in mine so the URL will make use of blog instead of post).
Kindly help me with this problem. I can provide any other details that may assist with getting this problem solved.
After playing around with the template, I was able to solve my problem.
I was able to solve this problem by changing a little detail in netlify's cms config.yml located in static/admin/. I changed folder: 'content/post' to folder: 'content/blog'
The list of posts is now located at ../blog but the downside is that the page looses its original soothing styling.

sonata admin : Add button for comments

I am working with Symfony 2 and sonata admin bundle.
I have an entity "affaire", all users (admin, employee, ect) can add "comments"
What I want to be able to do is to have a button in the list of affaire (in every row) that says 'comment' for example and when you click on it it direct you to the list of comments related to this affaire with possibility to add a comment for example.
How can I do that? any idea or tips?
If you go to Sonata Sandbox project, you will find News Bundle that has this functionality on Posts. You even get a vertical tab to list all comments related to Post while editing it.

How do i reference other blogpost in a blog content - drupal 7 with views

I create blog posts in drupal 7 with the module "view" to display the content items as a blog.
However I would like to be able to reference old posts inline so as to reuse content and add traffic.
But my current workflow is to go and look at the old post and copy the url, like it was an external link.
This seems quite silly to do internal and would also break links if links changed.
How can I add these dynamically instead?
These two plugins does the trick:
CKeditor link - if you use the ckeditor
LinkIt integreates into other wysiwyg modules

Show all post content in dotnetnuke blog module

I'm got a website with the DNN blog module. Almost all of the posts have images in them, but on the standard view of the posts they're all listed out with none of the html content and simply a "read more" link at the bottom of the post. Is there a way to display the full post content as you would see in the details view?
Please have a look at the Ultimate DNN Blog Module - SunBlogNuke, which supports the option "ShowAll in the EntryList" for some specific entries or all the entries. I thought that this handy option should fit your requirement. Hope it makes sense.
BTW, you can try out the demo website here - demo.sunblognuke.com.

Resources