APage is a simple HTML Creation Script that lets you make pages for use in your web-app based site.
Originally it was also used to display the pages, like ShowHTML does, but there was a security issue with this...
the current APage will let you make extra pages for your site which you can show on your site using showHTML links and make links on your site using Menu Manager.
Its part of a 3-pack that makes everything work well.
ShowHTML and Menu Manager are now a part of 0993x so you just need APage for now...
As for a demo... APage has been changed so that only the Admin can use it. This can be changed but will create "POSSIBLE" security issues. APage 0.6.x is secured from the previous security issue, but I did this to make sure there is less change of a future security problem.
Also using ShowHTML to show your APage based pages hides the fact that APage is even installed on your site.
Think of this as a simple HTML Page Creator/Editor for web-app.
I have to install it here again for you to see how a page looks on it... but then again you wouldnt be able to see anyways, so just download it and install it yourself...
To see a Demo Page of what you can do with APage, check out the link on the Main Menu titles "APage Test".
This is a page created in APage from scratch and displayed using a ShowHTML ID.
ALSO - Some Important Information!!!!
I had a small issue with installing APage just now, but that might be because I am using subfolders...
in folder /cgi-bin/user-lib there is a file you may have renamed subs.pl or there is some code you may have pasted into your existing subs.pl in this folder.
check out this piece of code here:
code:
sub htmlAreaInsert { ###------------------------------------------------------### ### - This APage was updated by Aron Shiewitz - 2005 - ### ###------------------------------------------------------###
Basically you added in the $baseurl into the code so that it properly called the baseurl and found the htmlarea script, which is what gives APage a WYSIWYG Editor.
Dont forget to change the setting in the APage configuration to "1" so that files are automatically opened in HTMLArea making for a nicer APage experience.
Well I have given up on the news feeds for the moment. I guess the server has to have some other files installed for them to work.They are going to let me know when.
On Apage I am getting the following error. Everything seems to work. It is when I try to use the editor I get webapp/cgi-bin/mods/apage/apage.cgi line 358.
This tells me that you either didn't upload the subs.pl to the user-lib folder, or you uploaded it as it is in the package, named "add_this_to_subs.pl" into the user-lib folder...
rename the file, or make sure its uploaded there...
This contains the missing sub that APage is trying to call.
Let me know how this went for you.
I will be redoing another release package in the future, I was originally thinking of doing multiple releases with different WYSIWYG Editor options, but we will see how it goes... The next release might just be a maintenance release as well as a feature option.
eeeprom said: Hi,
Well I have given up on the news feeds for the moment. I guess the server has to have some other files installed for them to work.They are going to let me know when.
On Apage I am getting the following error. Everything seems to work. It is when I try to use the editor I get webapp/cgi-bin/mods/apage/apage.cgi line 358.
Ok when I changed the name to subs.pl the error I now get is index.cgi: [Fri Feb 24 18:01:47 2006] index.cgi: In string, @import now must be written as \@import at webapp/cgi-bin/user-lib/subs.pl line 14, near "@import"
OK, I dont know why you would get that error beacuse line 14 of the subs.pl is just a call to print the code below it...
Here is the working subs.pl I am using right now... There may be another issue to APage that causes your error in WA0993x so I would copy/paste this into the subs.pl your using.
code:
#----------------------------------------------------------# # Start of htmlArea 4 WebAPP # # Description: # # Allows enhanced htmlArea across site that use WebAPP. # # Updated for 0.9.9.2.x - March 2005 - By: Aron Shiewitz - http://www.2xlnt.com # Modified for WebAPP by Weston Lemos # # Last Modified 05/21/05 by Aron Shiewitz - www.2xlnt.com # #----------------------------------------------------------# sub htmlAreaInsert { ###------------------------------------------------------### ### - This APage was updated by Aron Shiewitz - 2005/6 - ### ###------------------------------------------------------###
<script type="text/javascript" defer="1"> HTMLArea.replaceAll(message); </script> <!-- load the plugins --> <script type="text/javascript"> // WARNING: using this interface to load plugin // will _NOT_ work if plugins do not have the language // loaded by HTMLArea.
// In other words, this function generates SCRIPT tags // that load the plugin and the language file, based on the // global variable HTMLArea.I18N.lang (defined in the lang file, // in our case "lang/en.js" loaded above).
// If this lang file is not found the plugin will fail to // load correctly and nothing will work.
function insertHTML() { var html = prompt("Enter some HTML code here"); if (html) { editor.insertHTML(html); } } function highlight() { editor.surroundHTML('<span style="background-color: yellow">', '</span>'); } </script>
<body onload="initEditor()"> ~; } #close sub htmlAreaInsert ###------------------------------------------------------### ##################### End of htmlArea ###################### ###------------------------------------------------------###
1;
As you can see, line 14 is:
code:
print qq~
So it doesnt make any sense to me... Unless... did you already have a subs.pl in your user-lib and you added the code to that subs.pl???
I know there was some issue with APage Install that I managed to fix in under a minute so I cant remember exactly what it is... But it will be a part fo the next release which will occur when I find the time to thoroughly test the code some more.
Check your subs.pl and let me know what you have there.
Also, did you edit the paths in the htmlarea folder? there are some files there that need to have their paths edited, and this should;ve been done at install... another thought is that the error is showing in your subs.pl when its actually coming from the htmlarea script itself.
Okay so now My Dreams. I would like to be able to have rotating banners. A chat room. and to have the usrs be able to have a section to do a blogscript that can send anyone to. I know some of this out there not sure hwere to go to get them. Thanks
Okay so now My Dreams. I would like to be able to have rotating banners.
This could be done by possibly adding in an iframe to the banners page and making a new sub to display banners that rotates them automatically.... you can then set the theme to show the banners using the iframe...
just an idea... I know there is another way to do this... check out modapp or web-app for some possible clues to this one...
A chat room.
You can use Simons Chat Mod for this, I have it running on here as a tester as its integrated into the IM Client... Grab that mod off ModApp as well, but if you cant find it, I will toss up the latest copy I have later on...
and to have the usrs be able to have a section to do a blogscript that can send anyone to.
I figure if you modified the Profiles Mod which already allows users of a site to make much more then just a simple profile, then youl could be almost all the way there.... You then need to make a script so users going to www.site.com/blogs/username would be automatically tossed over to the persons profile in the mod...
Can try adding in the Journal mod into the profiles mod and you can have an instant Blog for each user as well!!!
Damn, I might try this later ;)
There was an old mod called the Home Page Mod, which is supposedly not too secure and it would need some updating to get it working with 0993x... I actrually have a copy of it somewhere but I would look into the Profiles Mod with the Journal mod set up as a blog and the script for forwarding users from a standardised folder to their profile... OR Make the script run like a frame in which the fram calls the username in the URL of the page being called so that you cna set it up to show thew profile directly in the page called like www.site.com/blogs/username
There is enough info here to hack it together yourself I think...
I know some of this out there not sure hwere to go to get them. Thanks
Most of the mods should be obtainable through ModAPP but seeing as ModAPP is currently lacking in Mods I would try searching around modapp/webapp for the mods... If you cant find them, drop me a list here of what your looking for and I can try to upload them here...
This web site was made with WebAPP v0.9.9.3.3 , a web portal system written in Perl
All trademarks and copyrights on this page are owned by their
respective owners. Comments are owned by the Poster.