coldtrick / pages_tools Goto Github PK
View Code? Open in Web Editor NEWDifferent additions/modifications to the pages plugin
Home Page: http://elgg.org/plugins/1124515
Different additions/modifications to the pages plugin
Home Page: http://elgg.org/plugins/1124515
This line https://github.com/ColdTrick/pages_tools/blob/master/lib/functions.php#L390 produces a 500 error in Elgg 1.12 because that class does not exist.
I changed it to
$locator = new \Elgg\EntityDirLocator($entity->getGUID());
which works fine. I am not sure when this class has been changed. This is just a heads for you.
I also came across this with event manager. Same issue, same solution
If you allow write access to your owned page for logged in users, members can edit your page but they can't add a subpage. Is it possible to allow this similar to groups and their group pages?
Is not working, either page collapse in the navigation tree.
Could you fix it?
The version of dompdf in this plugin does not support export of pdf files with images.
To solve this,upgrade dompdf:
go to mod/pages_tools
cd vendors
rm -rf dompdf
git clone https://github.com/dompdf/dompdf.git
cd dompdf
git submodule init
git submodule update
Add page navigation as a widget for group pages.
The page navigation list is extremely useful but difficult to find for new users. It would be nice to see it implemented as a widget for group pages.
Widget Manager registers the default widget for the group context, however the "more pages" url in this widget, does not support groups. Maybe this plugin should take over the content view to enhance it for groups.
Not so much an issue (though I'd love to see a 1.9+ version!) but an observation in case anyone else asks...
This plugin almost works in 1.9 as it is. All that needs to be changed for it to work without apparent error is to replace the two instances of 'fancybox' in js/site.php with 'colorbox' (or, presumably, to use the Fancybox plugin, though I have had mixed success with this in other plugins so am avoiding it on my site)
Jon
widget manager dropped this registration. This plugin should extend the widget to the groups context. The more link is bugged in groups context, so fix that also
How can one move a subpage to a different main page. It is mentioned as a feature, but I do not see other pages in the tree.
Hm... maybe I'm blind, but I installed the plugin, activated it, installed DomPDF and also reset the caches, but I don't see any menu item for exporting a page. I'm on Elgg 3.2.1.
Activating this plugin causes the navigation tree to disappear on pages and the list of group pages (for groups that have 2+ pages) on my site unless there are subpages. If subpages exist, then the navigation tree appears.
It looks like it is taking over the rights of the top page
Long page names wrap in the navigation tree. All text of highlighted page name turns white, but blue highlight only occurs on first line of name, causing the additional lines to be difficult to read. Also, the lines do not wrap within the area of the sidebar and an ugly slider appears just under the last page name. Using FF.
Fatal error: Call to undefined function sanitize_filename() in C:\xampp\htdocs\landing\mod\pages_tools\actions\export.php on line 52
Fantastic job, I really needed the tree functionality, thank you!
http://community.elgg.org/plugins/1124515/1.1/pages-tools#item-annotation-6036780
Thank you for getting back to me so quickly, Jerome. I meant the navigation tree. I can see it and rearrange pages when I'm viewing a page. I can't see it when I'm actually editing a page, but that would be very helpful because then I could copy the links to subpages directly from the tree... I hope you ubderstand what I mean...
If you want to use pages tools at a later date (hierarchical Pages are already created) pages seem to be incompatible: pages_tools_is_valid_page() returns false and the sidebar module will not be displayed.
Is there a way to make the previous pages compatible with pages_tools?
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.