Add a site page Download 1.1

us Theyador Leeper 5 months ago

Component tool to add a new site page together with its menu link.
Useful for adding permanent extra pages which can be turned on and off by the admin if necessary.

Thanks to Helen Lubar and her calendar mod.. This is a slight reworking of this component with more explanation of the inner workings and used for a slightly different reason.

ADDED BY ADMIN
This component will add a menu link to your sidebar, and a page. You need to edit the component files to change menu name and the page contents.

Files path is components/NewPage

Comments
German Arsalan Shah Replied 4 months ago

@YILMAZ, look into the file source code , its written all you need! However yes there is no direct way to add page in this component, it have pre-added page as example. The title is bit wrong!

Turkish YILMAZ DURU Replied 4 months ago

I don't understand anything from this plugin. A blank page is coming out. There is no information about where to add the page. Please add the user manual of your plugin when you have done the plugin, so you should know what to use and how to use it.

We discover all the add-ons by experimenting.
In this plug-in, there is no tool to add pages. let's say we've added, what do I need to add a new page? Where will I use this page?

I mean, there's a lot of crap.

German ~Z~ Man Replied 5 months ago

Yes,
of course it's up to YOU to fill that page with something fancy.

Italian CLAUDIO COSMARO Replied 5 months ago

Hello
I installed the plugin but when I activate it there isno option to create a new page
Just a blank page

us Theyador Leeper Replied 5 months ago

the owner is a very busy world traveler who has not had the time nor peace to log in and know w there was an error or had time to fix it. But thanks for the flames..

German Arsalan Shah Replied 5 months ago

I have updated to 1.1, i hope this fix issues, despite the owner didn't willing to reply. Further i removed the icon and changed to true, as it have no effect on v4.x

German ~Z~ Man Replied 5 months ago

Plain to see they're not - if you have a look at the 'Last Updated' line on the right.

@Theyador
Is there any chance you'll fix it in a timely manner? Otherwise the component has to be deleted.

gb Chris roscoe Replied 5 months ago

did the errors get fixed in this add on ?

German ~Z~ Man Replied 5 months ago

Thanks for contributing.

But please make sure your code doesn't throw any errors before uploading. I'm getting

[25-Mar-2019 12:41:49 Europe/Berlin] PHP WARNING: 2019-03-25 12:41:49 (CET): "Use of undefined constant fa - assumed 'fa' (this will throw an Error in a future version of PHP)" in file /var/www/html/components/newpage1/ossn_com.php (line 28)
[25-Mar-2019 12:41:49 Europe/Berlin] PHP WARNING: 2019-03-25 12:41:49 (CET): "Use of undefined constant newpage1 - assumed 'newpage1' (this will throw an Error in a future version of PHP)" in file /var/www/html/components/newpage1/ossn_com.php (line 28)
[25-Mar-2019 12:41:49 Europe/Berlin] PHP WARNING: 2019-03-25 12:41:49 (CET): "A non-numeric value encountered" in file /var/www/html/components/newpage1/ossn_com.php (line 28)
[25-Mar-2019 12:41:49 Europe/Berlin] PHP WARNING: 2019-03-25 12:41:49 (CET): "A non-numeric value encountered" in file /var/www/html/components/newpage1/ossn_com.php (line 28)

Component

Developer: Theyador
License GPL v2
Type: Tools
Ossn Version: 4.x
Latest Version: 1.1
Last Updated 5 months ago
Repository Url View Repository

Versions