#1 2016-09-01 13:41:40

Deivid
Member
Registered: 2016-07-11
Posts: 37
Website

[solved] Page view and Single article view

Hi guys soo i instaled Ionize cms and on the ionize\themes\admin\views\page\page.php uncomented  Page view and Single article view and  still were isnt anny Page view Or Single Article Page on Options and in Attribute section  view why is that????

Last edited by Deivid (2016-09-04 13:28:49)

Offline

#2 2016-09-03 09:11:17

adaliszk
Ionize Friend
From: Germany
Registered: 2010-09-20
Posts: 397
Website

Re: [solved] Page view and Single article view

the options are getted from the themes/youtheme/config/views.php
you have to uncommend the

// Dropdown Views : Get $view var from my_theme/config/views.php
/*		$views = array();
		if (is_file(FCPATH.'themes/'.Settings::get('theme').'/config/views.php'))
			require_once(FCPATH.'themes/'.Settings::get('theme').'/config/views.php');*/

		// Dropdown Page views
/*		$data = isset($views['page']) ? $views['page'] : array() ;
		if(count($data) > 0)
		{
			$data = $this->_get_views_dropdown_data($data, 'Page');
			$data = array('0' => lang('ionize_select_default_view')) + $data;
			$this->template['views'] = $this->template['single_views'] = form_dropdown('view', $data, FALSE, 'class="select w160"');
		}*/

		// Dropdown Article views
/*		$data = isset($views['article']) ? $views['article'] : array() ;
		if(count($data) > 0)
		{
			$data = $this->_get_views_dropdown_data($data, 'Article');
			$data = array('0' => lang('ionize_select_default_view')) + $data;
			$this->template['article_views'] = form_dropdown('article_view', $data, FALSE, 'class="select w160"');
			$this->template['article_list_views'] = form_dropdown('article_list_view', $data, FALSE, 'class="select w160"');
		}*/

in application/admin/page.php to adding the dopdown values to the views


Webdeveloper, Programmer, Application developer, Ionize friend
@adaliszk

Offline

#3 2016-09-04 13:28:15

Deivid
Member
Registered: 2016-07-11
Posts: 37
Website

Re: [solved] Page view and Single article view

thanks

Offline

What's Ionize ?

Ionize is an Open Source Content Management System created by webdesigners for webdesigners.

Created and maintained by Partikule and Toopixel, Ionize wants to be the easiest and most powerful CMS.

Can I help ?

Because talent is nothing without involvement, we are looking for motivated coders and webdesigners to join the project team.

Resources

Website : ionizecms.com
Documentation : doc.ionizecms.com

Development : Ionize on GitHub
Translations : Ionize Translations