Additional fields in the admin panel

Welcome to the WonderCMS community. Anything goes, except for support requests.
Post Reply
Herman
Posts: 7
Joined: Tue Jan 24, 2017 8:00 pm

Additional fields in the admin panel

Post by Herman »

I am creating a website with WonderCMS.

Now my question is whether it is possible to create additional fields in the admin panel. E.g. name, address, telephone number and email address. So I can use this as a variable in my website?
User avatar
wiz
Posts: 749
Joined: Sat Oct 30, 2010 12:23 am

Re: Additional fields in the admin panel

Post by wiz »

Hello Herman.

In short, no - but there are ways to achieve similar functionality.

One way to achieve this would be to simply create new editable areas and include them on specific pages or to be visible at all times. WonderCMS doesn't have those additional as you're describing fields as it's meant to be a skeleton to build upon.

How to create new editable fields: viewtopic.php?f=27&t=788

Another way would be to use a functions.php file viewtopic.php?f=27&t=756
and deliver anything you want from there instead of editing index.php.
Herman
Posts: 7
Joined: Tue Jan 24, 2017 8:00 pm

Re: Additional fields in the admin panel

Post by Herman »

Thanks for this information.
I already found out about function.php and other editable areas.
I wanted the user to be able to add his own email address in a contact form. I already found a way to do that.
As soon as mij website is ready, I will post a link here.
User avatar
wiz
Posts: 749
Joined: Sat Oct 30, 2010 12:23 am

Re: Additional fields in the admin panel

Post by wiz »

You're welcome.

Do you mind posting the solution along side the website later? This could greatly help some WonderCMS users who need the same thing.
If your solution is awesome - we'll add it to the official documentation along with your signature/website.
Herman
Posts: 7
Joined: Tue Jan 24, 2017 8:00 pm

Re: Additional fields in the admin panel

Post by Herman »

I just finished the new website for our photography club. Thanks to WinderCMS. I created a photoalbum plugins, based partially on the upload plugin to give the content manager the possibility to upload photo's to the album. I added some functions to the medium editor plugin to give the contentmanager more options to change things in the content of the website. You can find the website on http://www.afvgoedlicht.nl
User avatar
turboblack
Posts: 200
Joined: Fri Sep 19, 2014 1:53 pm

Re: Additional fields in the admin panel

Post by turboblack »

great site! I think that you need to make a section for interesting sites, and then most of what I drove in the search engine was reduced to a standard template and content.

It would be nice if you provided information on how to add new functions to the content editor, how to organize a simple gallery on the site, and I was also interested in footer, where the feedback form, what form you used, how to insert it, and how you got it Make three columns at the bottom :-)

The sample site very well shows that from this engine you can create quite a lot of interesting things.

I liked the organization of content on the pages, I tried on my site to make a blog like you, but in the new version has not figured out how.

Unfortunately the speed of loading pages is very small.
http://old.net.eu.org/ Get ready to hamsterization! 8-) code takes less than a kilobyte! shock!
https://github.com/turboblack/HamsterCMS new version for PHP 8 with new templates
Herman
Posts: 7
Joined: Tue Jan 24, 2017 8:00 pm

Re: Additional fields in the admin panel

Post by Herman »

I uploaded the photo gallery plugin to Github.
https://github.com/Hermadme/photo_gallery
Post Reply