Posts by: tyee

Posts: 24
Post: 3230
Topic: How to add php include to template

Hi Josh

  I did try, and I thought I was in the right folder, it was in data/_themes/magw204. The theme was one I downloaded so am I pretty sure I am looking in the right spot?

One other question, when i am entering this - <?php include_once("...../include.php"); ?> - what is the relative path to use? Is it from the template.php file or from ghEasy's root folder or something else??

 

Edited: 8 years ago
Post: 3222
Topic: How to add php include to template

I used an IFrame to do it but am wondering if there is an easier way?

8 years ago
Post: 3221
Topic: How to add php include to template

I'm trying to add an external photo gallery to one of my pages. I have to do the two following things -

- add this in the head area    <?php include_once("...../include.php"); ?>

- add this in the body area     <div class="gallery" title="gal"></div>

 

I tried adding both of them to the template I want my gallery in but the php include tag was removed when I look at the source after loading the page.

How can I do this?

8 years ago
Post: 3184
Topic: Want to use easy for ecommerce site - Easiest Way?

I want to use gpeasy for my wife selling her jewelry. I'll need photos obviously so should I just use the photo gallery or is there something better? Any suggestions are greatly appreciated. I guess incorporating Paypal is pretty easy, yes?

 

Update - I took a look at the gallery. It would work fine if I could only add some html under each photo so I could place the Paypal code. Can I edit somewhere to do this?

Edited: 8 years ago
Post: 642
Topic: RSS Feed for Blog

Well, I used an iFrame and all is well!

How about this method to include php. Make a new page but don't put anything on it. Now ftp into your site and add the php code to that page using your favourite editor and save it back to the site. That should work shouldn't it?

On this same topic, I found another CMS that, when you select to edit a page, the GUI editor (tinyMCE, etc.) does not initially load. You have to click another button above the editor window to enable the GUI editor to load. Couldn't this be done with gpEasy. That way we could add php without envoking the editor and when we don't want php, we click the button and voila, there is the GUI editor.

10 years ago
Post: 636
Topic: How to Implement a members area?

This is it --

#<Location /members-area/*> AuthName "Members Area" AuthType basic AuthUserFile /home/your_id/foldername/.htpasswd Require valid-user #</Location>

 

Search for htacess folder protection to make the .htpasswd file. It's easy. Actually go here, it's pretty good!

http://tools.dynamicdrive.com/password/

PS, the above htaccess file was reformatted so it looks confusing. Go to that link and you'll see how it should look.

Edited: 10 years ago
Post: 631
Topic: How to Implement a members area?

Yes, I did it. I made a MembersArea folder within my main folder and totally reinstalled gpeasy again in there then used an htaccess file to password protect it. Works great so far. I believe there is a multi-site plugin but I don't know if you can password protect it??

10 years ago
Post: 630
Topic: RSS Feed for Blog

Well I managed to get some feeds working with javascript but I found a neat php application to use and manage my feeds but I must include it like so  <?php include ('folder/app.php'); ?>  so how do I do this so it only shows on the page I want it on? ckeditor obviously screws with this code and I can't put it on the template because it will show on every page. Do I have to duplicate the template and use that other method mentioned somewhere on this forum? Please confirm if you know of an easy way.

Thanks

Edited: 10 years ago
Post: 629
Topic: RSS Feed for Blog

Can someone explain how to add an rss feed onto a page in gpeasy. I've read that I must enter a feed url into a rss reader but how to do this? I would like to add an rss weather feed to one of my pages, that's why I'm asking. Thanks.

10 years ago
Post: 533
Topic: Anyone know of a Calendar function for gpeasy

I would like to have a calendar function on my site (hiking) so that members can click on it and see dates for specific events. Has anyone used a php script for this that would work with gpeasy? I guess a plugin would be nice but I don't think one exists yet.

10 years ago

News

elFinder 2.1.50 in Upcoming Release
12/28/2019

A new release for Typesetter is in the works with a lot of improvements including the ... Read More

Typesetter 5.1
8/12/2017

Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

More News

HH-Support

Company located in Tórshavn, Faroe Islands. * Webpage Design * Consultant & Provider of a wide range of programs for visually impaired and dyslextics.

Find out more about our Provider Spotlight

Log In

  Register