oc-shopaholic / oc-good-news-plugin Goto Github PK
View Code? Open in Web Editor NEW📰 News (blogging) plugin for October CMS
Home Page: https://octobercms.com/plugin/lovata-goodnews
License: GNU General Public License v3.0
📰 News (blogging) plugin for October CMS
Home Page: https://octobercms.com/plugin/lovata-goodnews
License: GNU General Public License v3.0
Hi, Im newbabes in October and I like this plugin but i have problem to show by components the article list and others part of output. What doing I badly?
by Otto
Поля description не существует, вместо него у вас content. Замените пожалуйста инфу в wiki.
Adding properties for the article (as in the Buddies plugin) will provide endless possibilities for rendering news.
Hi, im having issues with this plugin, i have rainlab translation and it seems like this plugin supports it when changing title, description and other fiends, but it does not seem to support multiple urls depending of the languaje url like,
websiteurl.com/title <--- default languaje english
websiteurl.com/es/titulo
websiteurl.com/de/titel
i hope this issue can be solved
Hello.
For pagination, in my template file I have...
url = "/blog/:page?"
layout = "default"
title = "Blog"
And my pagination links are rendered like blog/1, blog/2
, etc. But the pages are not recognised.
I need to set the links like this: blog/?page=1, blog/?page=2
, etc.
Seems to be here...
public function getPageFromRequest()
{
$iPage = (int) trim(Input::get('page'));
//Check page value
if ($iPage < 1) {
$iPage = 1;
}
return $iPage;
}
this works $iPage = (int) trim($this->param('page'));
Thank-you
Пробежался по вашим примерам в документации, но так и не понял как вывести ссылку на полный текст статьи , например, из заголовка в превью.
Hello.
In the Rainlab/Blog plugin we can do something like below to update the page title dynamically.
Is there an equivalent example for extracting this data for the current page article?
Thank-you
function onEnd()
{
if (isset($this['post'])) {
$this->page->title = $this->post->title;
$this->page->description = $this->post->excerpt;
}
else {
return $this->controller->run('/404');
}
}
Currently you can't filter by the newest post.
Please add that method.
published()
It applies a filter by publishing status and publish the date for the elements of a collection.
Thank you
Most Lovata models have this field, but here it is not.
Subject.
Thank you
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.