Comments (5)
and also i cant access the urls of the articles of this plugin
in the url section i tried saving /first-article , first-article , websiteurl.com/first-article , websiteurl.com/en/first-article
and not a single one made the article to show on the web, in any url tested,
from oc-good-news-plugin.
Hi,
You can make the URL field translatable by extending the Article model through your plugin. For example, add the following code to your plugin's boot() method:
/**
* Plugin boot method
*/
public function boot()
{
\Lovata\GoodNews\Models\Article::extend(function ($obArticle) {
$obArticle->translatable[] = 'slug';
});
}
from oc-good-news-plugin.
thanks i tried that, and yes, now is translatable , but, i still getting the issue of not being able to navigate to the urls i created for the articles, like websiteurl.com/article1
from oc-good-news-plugin.
Have you read the plugin documentation? I need to see your CMS-page code where you display articles to tell you more.
from oc-good-news-plugin.
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
By the way, there is a setting to enable URL translatability (Settings > Misc > Application settings)
.from oc-good-news-plugin.
Related Issues (11)
- Plugin dosen't work with components HOT 3
- Ссылка на полный текст статьи HOT 1
- Ошибка в wiki (не существует поля description) HOT 1
- Ошибка в wiki. Перепутали переменную HOT 1
- Request to add CODE field to the news article
- Property field in article
- Please add the CSV Import
- Please add method list newest HOT 6
- Pagination slug HOT 2
- Get article title for page onEnd HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oc-good-news-plugin.