wintercms / wn-pages-plugin Goto Github PK
View Code? Open in Web Editor NEWStatic Pages plugin for Winter CMS
Home Page: https://wintercms.com/
License: MIT License
Static Pages plugin for Winter CMS
Home Page: https://wintercms.com/
License: MIT License
When adding two snippets of the same type, both will render with the same property values despite them having different values set.
Might be related to #12
Unable to insert link to selected text
Attached the screencast:
Hello,
In page settings i have 2 tabs, second include only 2 fields
(title) - this for page title
(meta title) - this for SEO title in browser
(meta description) - this SEO description
Where keywords field? How add this field to page settings tab.
Winter CMS Build: 1.2.5
Pages Plugin Version: 2.1.3
PHP Version: 8.2.0
Translate 2.1.6 (first language EN, second language IT)
When a Page with its translations is duplicated and saved, its translated content are not duplicated
Thanks.
A page with /
url is not marked as active (isActive = false
) when visiting website home page.
Add some statics pages, one having /
has URL.
..\meta\static-pages.yaml
file :
static-pages:
index: { }
page2: { }
page3: { }
...\content\static-pages\index.htm
file :
[viewBag]
title = "Home
url = "/"
layout = "default"
is_hidden = 0
navigation_hidden = 0
==
Lorem ipsum dolor sit amet consectetur adipisicing elit. Laboriosam, impedit.
Setting a menu :
name: 'Top - Navbar'
items:
-
title: main
nesting: null
type: all-static-pages
url: null
code: ''
reference: null
cmsPage: null
replace: 1
viewBag:
isHidden: '0'
cssClass: ''
isExternal: '0'
Visiting http://acme.tld
doesn't mark the menu item as active, while visiting http://acme.tld/
does.
I am missing something ?
Unlicensed copy of the Froala Editor. Use it legally by purchasing a license.
The Insert Link, Insert Image, and Insert Audio menus close quickly when attempting to use these menus more than once without refreshing the page. Here is an example of this happening with the Insert Link menu.
When editing an existing link the closes quickly on the first try, but a second attempt is usually successful and seems to reset the behavior for this menu and the menu displayed when using the Insert Link button on the WYSIWYG menu bar. Here is an example that shows how I was able to create a new link, but the Edit Link window closes quickly on the first attempt to edit the link. The window remains open on the second attempt.
The window also closes quickly after I update a value in one of the inputs in the link menu and then attempt to update the value in the other input.
The Insert Video and Insert Audio menus seem to behave in a similar fashion.
Hi, yesterday I have install fresh (web installer) wintercms. Add winter.pages plugin. To my template add static page component as usual. Then on ma new static page I chose my template. But I get an error.
ArgumentCountError: Too few arguments to function Twig\Environment::loadTemplate(), 1 passed in /usr/home/Eternia/domains/eternia.usermd.net/public_html/stan/plugins/winter/pages/classes/Controller.php on line 79 and at least 2 expected in /usr/home/Eternia/domains/eternia.usermd.net/public_html/stan/vendor/twig/twig/src/Environment.php:327
Same error as if I do not hook up template to static page. I so far try to chose another template / turn off plugins, same result, same error.
Thanks!
When adding a snippet to a static page at first the html content gets rendered correctly. When changing the properties afterwards, the generated markup in the pages template file is updated, but the markup in the browser is still displaying the previous value.
Clearing caches isn't helping either.
When creating a new static page without manually entering an URL the URL generated from the entered title is not detected.
Cannot install plugin via composer with this message.
"Could not find a matching version of package wintercms/wn-pages-plugin. Check the package spelling, your version constraint and that the package is available in a stability which matches your minimum-stability (dev)."
I'm trying to get this to work with Winter.Translate (v.2.1). But I can not get them to work together. The only field I can translate is the url-field, nothing else. And when I use already translated pages from an old installation, it can't shift between the languages.
Install Winter.Translate and Winter.Pages via composer and then try to translate the fields in the pages.
Html field in pages plugin not work correctly with hindi language.
It Blog plugin all same in main field.
Text for sample
<p class="hosting__text">किसी भी आवश्यकता के अनुरूप लचीली वर्चुअल होस्टिंग योजनाएँ। आपकी साइट के लिए उच्च गति और सुरक्षा के साथ व्यावसायिक होस्टिंग।</p>
<div class="hosting__table">
I thought it might be useful to be able to define a list of external URLs that can be used throughout the website. Maybe let me start with an example when I think this might be useful:
Say you have a personal website and you want to put a link to your LinkedIn page in the main menu, in the page's footer, on the home page, on the contact page, and randomly located on several other pages on your website.
All of those would have to be hard-coded in the source code with the URL. Therefore, any changes to that URL would require a search and replacement of all the places it could be in your source code, which could be error-prone. Also, the URLs themselves might be too long to remember. So my idea is to add something called "Static links" to this plugin. You would define a series of URLs with their respective ID (code). Then to link to that URL anywhere, you would do something like:
{{ 'linkedin'|link }}
Also, in the menu editor section of this plugin add a "Static link" type.
Would you guys think something like this would be useful to add?
I have different translated Pages.
Sometimes, I need to add a link between two of these Pages in the content with the editor by the "Link" icon.
When I am in the main language, everything works.
When I switch to the translated version of the content and click the "Link" icon, the search field is able to find only the page in the original language, not the right translated version.
Thanks in advanced.
Winter CMS Build: 1.2.5
Pages Plugin Version: 2.1.3
PHP Version: 8.2.0
When a Page is duplicated and saved ("The page has been successfully saved.") the little icon on the right of the tab doesn't change (always a circle, not a X) and the system seems don't understand its status.
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.