You are not logged in.
You can set css class to <body> tag by using <ion:current_lang /> like :
<body class="<ion:current_lang />">@DivitCreative
Hata kodlarını kontrol edermisin, application logs klasörü altındaki loglara da bakabilirsin ekstra olarak. Dosya yazma izinleriyle alakalı bir durum olabilir, eğer localde sıkıntı yaşamayıp nette iken yaşıyorsan.
its here : (it is part of the core functionality) http://doc.ionizecms.com/en/tags-reference/user-tags
With ionizecms packages won't include modules (just demo module), you can download modules from :
Ionize Team Modules : https://github.com/ionize
You can check my repo also : https://github.com/trk
and you can use forum section
its not supported current version of ionize, next version will support.
@GWR
i see commited files will try to fix them. For the moment my correction will stay, maybe @Michel-Ange apply a different solution for this issue.
For the moment i made a quick fix, need to check if it will effect other things. didnt check it if you see any issue write here will check it.
application/controller/admin/article.php change _reload_panel function with this :
/**
* When called, relaods the Page Edition panel
*
* @param Page ID
*
*/
protected function _reload_panel($id_page, $id_article)
{
if($id_page != 0) {
$page = $this->page_model->get_by_id($id_page);
$page['menu'] = $this->menu_model->get($page['id_menu']);
}
// Main data
$article = $this->article_model->get_by_id($id_article);
$article_lang = $this->article_model->get_by_id($id_article, Settings::get_lang('default'));
$title = empty($article_lang['title']) ? $article_lang['name'] : $article_lang['title'];
// Correcting some lang data
$article_lang['online'] = $article['online'];
$this->callback[] = array(
'fn' => 'ION.splitPanel',
'args' => array(
'urlMain'=> admin_url() . 'article/edit/'.$id_page.'.'.$id_article,
'urlOptions'=> admin_url() . 'article/get_options/'.$id_page.'.'.$id_article,
'title'=> lang('ionize_title_edit_article') . ' : ' . $title
)
);
if($id_page != 0) {
$this->callback[] = array(
'fn' => $page['menu']['name'].'Tree.updateElement',
'args' => array($article_lang, 'article')
);
}
}Hm..
1 hour with bootstrap ![]()
We have some ideas about this suggestion, dont know which version of ionize will include this spec.
you can use content element for the moment.
I am also using win7 x64 and wamp server, my websites under subfolders like http://localhost/site1/ and i dont have issue like this.
Can you re-check your wamp setting. i think problem is about your wamp settings.
Nice, Ionize's demo theme also responsive design.
Hello,
I did read the docs but I could not find the answer.
I wil look at the testing demo site but I find this a little bit arrogant answerRoelof
Sory but its not arrogant answer, its a quick answer. To busy with work and sometimes giving quick answers.
If you download and make local test with ionize by following ionize doc, archive and page will help you make website like your website.
You can find your answer by testing demo website and by reading docs.
ok try this :
$active = $this->input->post('active');
if($active == 1)
return 'Active checked';
else
return 'Active not checked';or
$active = $this->input->post('active');
if(!empty($active))
return 'Active checked';
else
return 'Active not checked';Why did you add hidden for same named checkbox?
if(! isset($this->input->post('active')))
return 'Active not checked';
else
return 'Active checked'or
if(isset($this->input->post('active')))
return 'Active checked';
else
return 'Active not checked';will help you
This will help you filter types (you can't filter if type='') with this method:
<ion:articles filter="type='type_1' || type='type_2'">And PHP way :
<ion:articles>
<ion:article>
<?php
$type= '<ion:get key="type" />';
if($type == 'type_1' || $type == 'type_2' || $type != 'type_3'):
?>
<ion:title tag="h2" />
<?php endif; ?>
</ion:article>
</ion:articles>Can you make test like in your controller:
trace($_POST);
or
log_message('error', print_r($_POST, TRUE)); // You need to check your log fileCheck it with / without checked and see the result for $_POST
<input type="checkbox" value="0" class="inputcheckbox" name="active" id="active" <?php if ($customer['active'] == 1):?> checked="checked" <?php endif;?>>change with :
<input type="checkbox" value="1" class="inputcheckbox" name="active" id="active" <?php if ($customer['active'] == 1):?> checked="checked" <?php endif;?>>if your checkbox checked value will be 1, if not you wont have value like 1 = TRUE / 0 = FALSE
can you try :
<ion:if key="type" expression="type==1 || type==2">
<ion:title from="article" />
</ion:if>You talking about adaptive resize but you calling method width
<ion:medias type="picture" size="260,130" method="adaptive">
<ion:src />width : 260, height:130
</ion:medias>Which version ionize do you using?
Can you try this :
<ion:articles>
<ion:article>
<ion:type expression="type==1 || type==2">
<ion:title from="article" />
<ion:subtitle from="article" />
<ion:content from="article" />
</ion:type>
</ion:article>
</ion:articles>Like this (will be enought):
<ion:articles type="">
..................................
</ion:articles>From doc : http://doc.ionizecms.com/en/tutorials/b … ule-part-4
public static function core_article_authors(FTL_Binding $tag)
{
$str = '';
self::load_model('demo_author_model', 'author_model');
// Get the article from local tag var :
// The 'articles' tag is a parent of this tag and has set the 'article' var.
$article = $tag->get('article');
$authors = self::$ci->author_model->get_linked_author(
'article',
$article['id_article']
);
foreach($authors as $author)
{
// Set the locals var "author"
$tag->set('author', $author);
// Tag expand : Process of the children tags
$str .= $tag->expand();
}
return $str;
}you will see there getting data from article, you need to set your attribute is or id_customer
$is = $tag->getAttribute('is')
// or
$id_customer = $tag->getAttribute('id_customer')
$customer = $this->customer_model->get_row('id_customer' => $id_customer);
// or
$customer = $this->customer_model->get_row('id_customer' => $is);
$tag->set('customer', $customer);© 2010-2012 Partikule | Web agency Paris, France