New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Support multiple news 'view' layouts #2795

Closed
CaMer0n opened this Issue Sep 23, 2017 · 2 comments

Comments

Projects
None yet
1 participant
@CaMer0n
Member

CaMer0n commented Sep 23, 2017

The admin may choose from a selection of news 'view' templates when editing news items.
Theme developers may add multiple news 'view' templates to their themes.

If you have ideas for different Bootstrap3 news layouts, please comment below.
Ideas:

  • template for video news items
  • template for slideshow image news items

@CaMer0n CaMer0n added the enhancement label Sep 23, 2017

@CaMer0n CaMer0n added this to the e107 v2.1.7 milestone Sep 23, 2017

@CaMer0n CaMer0n changed the title from Enhancement: Support multiple news 'view' templates. to Enhancement: Support multiple news 'view' layouts Sep 23, 2017

@CaMer0n

This comment has been minimized.

Show comment
Hide comment
@CaMer0n

CaMer0n Sep 23, 2017

Member

Note: the commit requires a database update.

Member

CaMer0n commented Sep 23, 2017

Note: the commit requires a database update.

@CaMer0n

This comment has been minimized.

Show comment
Hide comment
@CaMer0n

CaMer0n Sep 25, 2017

Member

news_template

See e107_plugins/news/templates/news_view_template.php


$NEWS_VIEW_INFO = array(

	'default' 	=> array('title' => LAN_DEFAULT, 							'description' => 'unused'),
	'videos' 	=> array('title' => "Videos (experimental)", 							'description' => 'unused'),
);
Member

CaMer0n commented Sep 25, 2017

news_template

See e107_plugins/news/templates/news_view_template.php


$NEWS_VIEW_INFO = array(

	'default' 	=> array('title' => LAN_DEFAULT, 							'description' => 'unused'),
	'videos' 	=> array('title' => "Videos (experimental)", 							'description' => 'unused'),
);

@CaMer0n CaMer0n closed this Oct 3, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment