Create new content type and view exactly like Blog

eriklalancette's picture
eriklalancette
Sat, 11/03/2012 - 11:06
#1
Create new content type and view exactly like Blog

Hi, do you have documentation regarding the content type and view creation same as Blog.

 

I try to duplicate Blog view and create similar content type but is not display correctly...?

 

Thanks

 

Neo's picture
Neo
Sat, 11/03/2012 - 11:44

Hi,

You can download & enable md_visual_features-7.x-1.0.zip, this module help you create content type, views...

You can read more here: http://support.megadrupal.com/docs/md-visual-documentation

 

(--edited--)

Best regards,

Neo Khuat

eriklalancette's picture
eriklalancette
Sat, 11/03/2012 - 13:23

I download it and enable , blog and work already exist , how can i create  blog2 content type and view blog2   ?

Neo's picture
Neo
Sun, 11/04/2012 - 10:14

um, it's a little complicated. I'll create custom template files and send it to you with document

Neo's picture
Neo
Mon, 11/05/2012 - 12:48

Hi, this is instructions:

- Go to Structure » Content type » Add content type and add "blog2"

- Add default image field to blog2:

- Go to folder sites/all/themes/md_visual/templates/ and copy node--blog.tpl.php to node--blog2.tpl.php

- Import views blog 

- Edit this views: Click to "content type" and change blog to blog2. You can change path too.

Now you have blog2 content type and views blog2 page.

 

 

 

 

 

eriklalancette's picture
eriklalancette
Wed, 11/07/2012 - 19:13

ok thx , but to apply the template to image i change field_image to the new one field_image1

Neo's picture
Neo
Thu, 11/08/2012 - 10:06

you can use field_image, it's fine.

If you change to field_image1, you need to edit node--blog2.tpl.php and change lines 5, 7, 29 from 'field_image' to 'field_image1'

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.