Skip to content
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
Closed

Enhancement: Support multiple news 'view' layouts #2795

CaMer0n opened this issue Sep 23, 2017 · 2 comments
Labels
type: enhancement An improvement or new feature request
Milestone

Comments

@CaMer0n
Copy link
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 type: enhancement An improvement or new feature request label Sep 23, 2017
@CaMer0n CaMer0n added this to the e107 v2.1.7 milestone Sep 23, 2017
@CaMer0n CaMer0n changed the title Enhancement: Support multiple news 'view' templates. Enhancement: Support multiple news 'view' layouts Sep 23, 2017
@CaMer0n
Copy link
Member Author

CaMer0n commented Sep 23, 2017

Note: the commit requires a database update.

@CaMer0n
Copy link
Member Author

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 as completed Oct 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement An improvement or new feature request
Projects
None yet
Development

No branches or pull requests

1 participant