This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{ dynamic }} | |
<figure class="image-main"> | |
<a href="{{ $imgZoomLink }}" title="{{ $imageDetails['sub'] }}" photographerName="{{ $gimme->image->photographer }}" class="fancybox-thumb"> | |
<span></span> | |
<img src="{{ $uri->uri }}" rel="resizable" alt="{{ $imageDetails['alt'] }}" /> | |
</a> | |
<p>{{ $imageDetails['sub'] }}</p> | |
</figure> | |
{{ /dynamic }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form id="omniboxFeedbackForm" name="sendFeedbackForm" enctype="multipart/form-data" action="/plugin/send-feedback"> | |
<ul> | |
<li> | |
<input type="hidden" name="language" value="{{ $gimme->language->number }}"> | |
<input type="hidden" name="section" value="{{ $gimme->section->id }}"> | |
<input type="hidden" name="publication" value="{{ $gimme->publication->identifier }}"> | |
<input type="hidden" name="article" value="{{ $gimme->article->number }}"> | |
<input type="hidden" name="feedbackUrl" value=""> | |
<label for="omniboxFeedbackSubject">Temat</label> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{ local }} | |
{{ $date = $smarty.now-1*24*60*60 }} | |
{{ $date = $date|date_format:"%Y-%m-%d" }} | |
{{ list_articles order="bycustom.ci.data_wydarzenia.aaa asc" length="4" constraints="section is 1 issue is 1 data_wydarzenia greater $date" }} | |
<div class="hot-article" style="margin-bottom: 0px;"> | |
<a href="{{ uri options="article" }}">{{ include file='_tpl/img/img_72x46.tpl'}}</a> | |
<div class="hot-info pull-right" style="width: 200px"> | |
<a href="{{ uri options="article" }}"><h5>{{ $gimme->article->name|truncate:55:"...":true }} <!--({{ $gimme->article->comment_count }})--></h5></a> | |
</div> | |
<div class="clearfix"></div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Break Changes for old plugins: | |
#### CampInstallationBaseHelper is removed. | |
If your plugin use CampInstallationBaseHelper::ImportDB() function to import sql files - replace it with: | |
``` | |
$databaseConnection = \Zend_Registry::get('container')->get('database_connection'); | |
$installerDatabaseService = new \Newscoop\Installer\Services\DatabaseService(\Zend_Registry::get('container')->get('logger')); | |
$installerDatabaseService->importDB('path to sql', $databaseConnection); | |
``` | |
If you use standard Sourcefabric plugins like debate, pool etc. then please use new (fixed) versions from our sourceforge/github. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"language":"en", | |
"authors":[ | |
{ | |
"name":"Test Persona", | |
"link":"http:\/\/newscoop.dev\/content-api\/author\/9" | |
}, | |
{ | |
"name":"Frank N. Stein", | |
"link":"http:\/\/newscoop.dev\/content-api\/author\/13" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @package Newscoop\NewscoopBundle | |
* @author Rafał Muszyński <[email protected]> | |
* @copyright 2014 Sourcefabric o.p.s. | |
* @license http://www.gnu.org/licenses/gpl-3.0.txt | |
*/ | |
namespace Newscoop\NewscoopBundle\Controller; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
ServerName newscoop.dev | |
DocumentRoot PATH/ | |
SetEnv APPLICATION_ENV "development" | |
<Directory "PATH"> | |
Options Indexes FollowSymLinks MultiViews | |
DirectoryIndex index.php | |
AllowOverride all | |
Order deny,allow |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name":"sourcefabric\/newscoop", | |
"description":"The open source CMS for news", | |
"keywords":[ | |
"cms", | |
"journalism", | |
"publication" | |
], | |
"homepage":"http:\/\/www.sourcefabric.org\/en\/newscoop\/", | |
"version":"4.1", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var internalLinkTemplate ='<div class="internal-link-processed" style="float: right;width: 265px;border: 1px solid #ccc;margin: 10px 0px 10px 10px;padding: 7px;">'+ | |
'<a href="" class="internal-link-url">'+ | |
'<img class="internal-link-img" src="" style="float: left;padding: 0px 10px 5px 0; height: 70px;">'+ | |
'</a>'+ | |
'<a href="" class="internal-link-url" style="color: #000;">'+ | |
'<h5 class="internal-link-title"></h5>'+ | |
'</a>'+ | |
'<a href="" class="internal-link-url" style="color: #000;">'+ | |
'<p class="internal-link-description"></p>'+ | |
'</a>'+ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- phpMyAdmin SQL Dump | |
-- version 4.0.6deb1 | |
-- http://www.phpmyadmin.net | |
-- | |
-- Host: localhost | |
-- Czas wygenerowania: 07 Lis 2013, 19:04 | |
-- Wersja serwera: 5.5.34-0ubuntu0.13.10.1 | |
-- Wersja PHP: 5.5.3-1ubuntu2 | |
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; |