PDA

View Full Version : miniCMS : Add more pages to your Pixelpost


se.nsuo.us
02-22-2006, 09:48 AM
Currently if you want to add more pages to your pixel post site, like a separate page with your equipment details or a page on locations where you take pictures etc you have to do it by creating a static HTML page. Even editing the about content has to be done by editing the about_template.html this can be cumbersome.

This addon allows you to create as many pages as you wish from the admin panel and provides a simple way of accessing them from your pixel post site. It uses TinyMCE editor to provide a WYSIWYG editor for your pages
Screenshot of the admin section
http://se.nsuo.us/contrib/miniCMS.jpg

A simple sample page - http://se.nsuo.us/page/addons (yes it is worksafe ;) )

Download from here (http://se.nsuo.us/contrib/miniCMS.zip) (1.4mb)

For the technically inclined most of size is the editor the actual addon is a few kb but will not work without the editor

Dkozikowski
02-22-2006, 10:29 AM
bravo! I haven't tested it yet, but its a nice idea.

raminia
02-22-2006, 11:09 AM
wow! I'm flatered that admin-addons are working!

se.nsuo.us
02-22-2006, 11:13 AM
:) admin-addon works exactly as advertised - though we are missing a few workspaces here and there but thats not a big deal

raminia
02-22-2006, 11:17 AM
PM me the list of needed workspaces that you faced. I've followed discussions of the forum but having them listed in a single message is a good thing.

se.nsuo.us
02-22-2006, 11:31 AM
Will do - thanks

GeoS
02-22-2006, 11:52 AM
Raminia: I need workspace just after <FORM> tag for EDIT IMAGE section. There is one which I use in my addon (Related Images) but it is before correct <FORM> and for some reasons it gives problems as result (404, missing IMG data, ...).

With 1.5RC1 there should be few more workspaces - we must discuss it (the best will be public discussion).

se.nsuo.us
02-24-2006, 10:42 AM
In that case (case==public discussion) I need a workspace for image_edit (image_delete I think has been added) and also for each of the comments on comment edit page and lastly one for the end of entire comment edit submission

Snoops
02-24-2006, 12:04 PM
I've installed this 3 times and all i get in my admin is the menu when click on miniCMS no options or anything.. below is my info...

You are running version 1.5Beta of Pixelpost, December 2005.

PHP-version 4.4.1 (Pixelpost's min requirement: PHP version: 4.3.0 )

MySQL version 4.1.16-standard (Pixelpost's min requirement: MySQL: 3.23.58 )

GD-lib bundled (2.0.28 compatible) with JPEG support

File Uploads to Pixelpost site are possible.

Server software Apache/1.3.34 (Unix) mod_jk/1.2.5 mod_gzip/1.3.26.1a mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.4.1 FrontPage/5.0.2.2634a mod_ssl/2.8.25 OpenSSL/0.9.7a

EXIF Pixelpost is using exifer v1.5 for EXIF-information.


Anyone with any ideas i think its a great Addon and would love to have it work for me :)
Thank you for your time

se.nsuo.us
02-25-2006, 03:57 AM
Is there any error which is displayed? or just a blank screen? can you provide a screenshot?

Snoops
02-25-2006, 09:40 AM
this is what i get .. no errors.. just a blank page
i have reuploaded the addon file 3 times... and downloaded it again just to make sure teh zip didnt corrupt the file

any ideas??

Thanks ^.^


http://img163.imageshack.us/img163/5819/minicms6la.jpg (http://imageshack.us)

se.nsuo.us
02-25-2006, 09:53 AM
The screenshot you show implies a corrupt file - try using http://se.nsuo.us/contrib/admin_miniCMS.php.txt (of course remove the .txt from file name before uploading)

Also I presume you read the README.txt which is in the zip

Snoops
02-25-2006, 09:58 AM
Thanks will give this a try right now.. and yes read the "readme" many times..
i have modified my simple slightly but on in design.. but this is the theme im using would that matter??

se.nsuo.us
02-25-2006, 09:59 AM
No theme would not matter in the above problem

Snoops
02-25-2006, 10:03 AM
Nope still the same as my above screenshot

se.nsuo.us
02-25-2006, 10:05 AM
Do you have any other admin addons? If yes try, for now, disabling them and see if it works - if that also does not work then I will download a fresh copy of pixelpost - install and test the addon.

Snoops
02-25-2006, 10:14 AM
i just turned them off in Admin addon.. cleared my cache.. reopened my browser.. and still the same as my screenshot.. i will download again also and upload...

se.nsuo.us
02-25-2006, 10:29 AM
OK if nothing works and if you can trust me with your site access I promise to look into it personally - alternatively we can wait for someone else to replicate the problem.

last shot does your admin/index.php contain the line eval_addon_admin_workspace_menu('admin_main_menu_c ontents');

Snoops
02-25-2006, 10:46 AM
i uploaded again and no go still like my screenshot..
and yes i have that line on 260 in admin/index.php
PM me with what details you need from me

se.nsuo.us
02-25-2006, 11:56 AM
OK!!! whew...

There is a nasty GOTCHA for writing admin addons the addon menu name has to be a single word and all lowercase.

I have uploaded a new zip file at the same location and it should work for everyone

@devs - please if you can fix this line echo "<a href='".$PHP_SELF."?view=".$funcs['menu_name']."'>".$funcs['menu_name']."</a>";
in functions.php should be changed to

echo "<a href='".$PHP_SELF."?view=".strtolower($funcs['menu_name'])."'>".$funcs['menu_name']."</a>";

This will solve the "only lower case allowed" problem

Thanks in advance

Snoops
02-25-2006, 12:04 PM
Thank you se.nsuo.us for all the help you gave me :)

Dkozikowski
02-25-2006, 12:12 PM
Great work as usual se.nsuo.us

raminia
02-25-2006, 03:36 PM
There is a nasty GOTCHA for writing admin addons the addon menu name has to be a single word and all lowercase.

@devs - please if you can fix this line

fixed
thanks

se.nsuo.us
02-26-2006, 02:36 AM
fixed
thanks
Thanks to you as well

digital-tom
02-26-2006, 07:31 PM
Ok tnx !

Very helpfull addon, still have one question:

Is it possible to integrate an "add to menu" button because after adding a page there is no new menu item created ...

se.nsuo.us
02-27-2006, 05:05 AM
I have kept the whole thing deliberately simple - to add a link you will have to put it in the template yourself but there is a helper tag <PAGE_URL> which you can use in the href attribute see README.txt for more details.

That said if anyone wants to make this addon more complicated than needed they are most welcome to do it and I will gladly help out with any queries...

tanya
03-03-2006, 03:29 AM
Hey, this is a really useful software. I've tried Gallery, Plogger, WP, Zenphoto and more. . . this has survived the critical test by yours truly. Great job.

I would like to add this to the admin section but get this fatal error when i click "addons" in the admin section:
"Fatal error: Call to undefined function: add_admin_functions() in /var/www/html/pp/addons/admin_miniCMS.php on line 75"

hmmm. It's greek to me unfortunately. Can anyone translate? I looked at line 75. . . doesn't give me a clue.

Anyone?
Thanks

se.nsuo.us
03-03-2006, 03:37 AM
You need Pixelpost 1.5x for this addon to work

tanya
03-03-2006, 04:34 AM
Oh.
Could it be that easy? ; )

I had to tell my hosting provider to run php as cgi. in order for me not to have "safe mode" issues that all these types of galleries tend to have with shared servers. I hope it's not that.

: /

Great job with this. I can't wait to dig in and provide some new templates for everyone. I will download the latest version and see what happens.
t

tanya
03-03-2006, 05:19 AM
Ok, i guess it was that easy. Sheesh.
Off to play.
t

blinking8s
03-03-2006, 09:09 AM
i love when life is easy!

great addon se.nsuo.us

RobbieMc
03-04-2006, 03:26 AM
I have installed this useful addon, but can't seem to get the content field in the admin pane to hold its content. Everything else works: the title stays and the page loads fine, but the page below the title is empty (because the field is empty). Anybody experience a similar problem? Thanks for suggestions.

se.nsuo.us
03-06-2006, 04:52 AM
Have you added the <PAGE_CONTENT> tag to your template?
Can you show a sample page?

noohoo
03-06-2006, 08:03 AM
Fantastic addon, just what I've been looking for. Been trying to add pages to my PP blog by editing templates - but all I seem to do is break my template :-(
Thanks to you for creating and sharing it. It's spot on for people like me who are not all that familiar with PP.

se.nsuo.us
03-06-2006, 09:06 AM
Thanks to you for creating and sharing it.
You are most welcome - do post a sample demo URL for everyone to see the results :)

RobbieMc
03-06-2006, 06:28 PM
Yes, I did put the <PAGE_CONTENT> in the template, but I need not even go that far to experience the problem. The content box in the admin panel won't even save the content in the first place. After saving and then opening the entry again, the content box is empty. I will check again the installation of the script to see if I missed something. Thanks for the help.

greentraveler
05-01-2006, 12:44 AM
http://se.nsuo.us/contrib/miniCMS.jpg

I can't access the WYSIWYG options underneath the "content title" box that I see in your screenshot. I've tried in Safari and Firefox with no luck. Did that part get removed in a subsequent revision or am I missing something obvious? Maybe it's a personal hack? I'd really love to have the formatting options.

But any way you slice it, this is an QUALITY add-on. It adds so much to PP by opening a decent avenue to generate text pages with a consistant style. Huge step forward...at least from where I'm sitting. :D

se.nsuo.us
05-01-2006, 07:00 AM
Thanks for the appreciation, If you have installed as per the instructions and placed the WYSIWYG editior files in proper locations it should work - nothing was changed and it is not a personal hack.

It would be a huge help if you could post a URL for your blog of us to investigate things :)

Connie
05-01-2006, 07:07 AM
Firefox and Safari do not support all editor-features

mostly these online editors have the most features in IE because these online editors work a lot with non-standard features...

it is not a problem of that Addon
you have the same problem with other systems, CMS etc., as well

se.nsuo.us
05-01-2006, 07:10 AM
The default Toolbar of TinyMCE (the editor in question) works 100% with Firefox, in fact it is IE which gives problems :)

However most problems of editor not showing up are due to some of the files not uploaded properly - there are too many of them...

greentraveler
05-01-2006, 02:24 PM
Firefox and Safari do not support all editor-features

mostly these online editors have the most features in IE because these online editors work a lot with non-standard features...

it is not a problem of that Addon
you have the same problem with other systems, CMS etc., as well

I should have mentioned the problem was replicated in Windows XP IE (and Mac IE), so I'm still going to disqualify the browser idea since I couldn't get it to work ANY of my browsers (which eventually included including Opera, Mozilla, and Camino).

But I appreciate your idea, Connie! :D

greentraveler
05-01-2006, 02:32 PM
It would be a huge help if you could post a URL for your blog of us to investigate things :)

I'm not sure which URL to send...the blog I'm referring to is here: http://www.green-traveler.com. But I imagine you're asking for access to a more specific page. Admin? Please let me know...

However most problems of editor not showing up are due to some of the files not uploaded properly - there are too many of them...

Is there a way to "uninstall" this add-on and then reinstall hoping to get the WYSIWYG feature this time? So many files were uploaded, I know it's more than just pulling the add-on .php file. And it sounds like you're resigned to that being the probable source of my problem.

As you can tell from my initial post, this add-ion is huge for me and I want to make it work right. Thanks in advance to anyone who can help make this happen!

Connie
05-01-2006, 02:50 PM
every addon is uninstalled by just removing it from the addon-folder

greentraveler
05-01-2006, 02:53 PM
Even though this add-on involves an entire folder of items in "/includes"? I assumed that was an important part of this add-on, but it sounds like I'm wrong.

Thanks for setting me straight, Connie!

se.nsuo.us
05-01-2006, 03:10 PM
Ummm... my initial guess was correct see http://www.green-traveler.com/photoblog/includes/tiny_mce/tiny_mce.js it is missing perhaps more files are missing

Just upload the entire /tiny_mce folder all over again and try.

You are correct in saying that this addon involves more than just the addon file

greentraveler
05-01-2006, 03:12 PM
Ummm... my initial guess was correct see http://www.green-traveler.com/photoblog/includes/tiny_mce/tiny_mce.js it is missing perhaps more files are missing

Just upload the entire /tiny_mce folder all over again and try.

You are correct in saying that this addon involves more than just the addon file



Re-uploading worked! WYSIWYG editor appears in every browser - including Safari and Firefox! Love it when the correct solution is one of the simplest available.

Thanks for everyone's help....have a great day. :D

JFleck
05-02-2006, 10:06 PM
Superb addon!!

Can I make a suggestion? A link to open the editor in a new window of its own - in the normal text box in the admin panel, its a bit hard to view much of the page you're editing.

se.nsuo.us
05-03-2006, 04:55 AM
Thanks will keep in mind for the next update

-okapi-
05-03-2006, 10:28 AM
very nice addon, se.nsuo.us, thank you!

just one question: how can i teach tinymce the styles i'm using? it would be nice, if one could define the path to the css.file in the admin section.

and one request:
it would be nice if one could browse the "images" folder of pixelpost to insert an image into a new page.

se.nsuo.us
05-03-2006, 11:25 AM
I just plugged in TinyMCE with the default options :D if someone knows how to make plugins for TinyMCE what you want can be done... will look into it

nudeyogi
05-15-2006, 08:31 PM
Once you create a new page in "simple," will the page still be there if you switch, say, to dolechocephale?

pennyjack
05-15-2006, 11:08 PM
Very cool! I will give it a test drive soon!

se.nsuo.us
05-16-2006, 06:00 AM
Once you create a new page in "simple," will the page still be there if you switch, say, to dolechocephale?
yes - the page will still be there BUT you will need a copy of the relevant template page to be there in your theme dir

thowi
05-16-2006, 02:28 PM
Heya. Thanks for this great plugin and your work. This is exactly the one I've searched for.
I checked your readme and your installation instructions and changed my browse_template.html to the new pages one. Everything Ok.
But I think there's just one step missing....
Don't I have to implement some code in the index.php? I mean, everything works well, I got the editor and so on but I can't find your default welcome page. I think this is because some code is missing in my image_template.html cuz this is the site wich shows everythink at startup.
I got the salted-template (http://www.pixelpost.org/v1/index.php?x=downloads&details=32). Do you know any solution of what I mean?
Here (http://thowi.jkg1905.de/pixelpost/templates/salted-template/page_template.html.txt) you can see my page_template.html modified from the browser one. Dunno if it's all right... would be nice if you could take a quick check :D. I'm no php/html crack... but I hope you can help me :D

Greetz
thowi

Edit: Ah... forgot the link to my site. Maybe it helps you... Click (http://www.fo-tho.de/)
Thanks!

dawn
05-17-2006, 04:09 AM
se.nsuo.us, you are an add-on genius. Between this and the Akismet add-on, I'm ecstatic. Thank you so much for the work you do!

se.nsuo.us
05-17-2006, 05:06 AM
se.nsuo.us, you are an add-on genius. Between this and the Akismet add-on, I'm ecstatic. Thank you so much for the work you do!
I'm very happy that these works for you - thanks for the appreciation - feels nice :)

thowi
05-17-2006, 12:21 PM
Hm... well. double-posting is not really great, I know, but my problem is furthermore present... no one here able to give me a tipp? :D

RobbieMc
05-17-2006, 03:46 PM
Thowi, as far as I understand it (although I am not sure because I don't use the addon because I couldn't get it to work for me either), you still need to manually code into your to image_template and other templates a link to your new pages. The link to this addresses will be index.php?x=pagename, where "pagename" is the name of the new page you created with the addon.

Let us know if this is not the problem you are describing.
Rob

thowi
05-17-2006, 04:22 PM
Hm yes it is... and now its getting really strange!

Code is like that:
// <a href="index.php?x=about">Info + Links</a> // <a href="index.php?x=browse">Archiv</a> // <a href="index.php?x=rss">RSS</a>

Now there's a default entry in the CMS with the short title "welcome".
Now I added this code:

// <a href="index.php?x=welcome">Welcome</a>

Same structure as above, but I get this message: "The requested URL /index.php was not found on this server."
Click (http://www.fo-tho.de/index.php?x=welcome)... Quite strange, huh? :confused:

se.nsuo.us
05-18-2006, 05:48 AM
// <a href="index.php?x=welcome">Welcome</a>

Same structure as above, but I get this message: "The requested URL /index.php was not found on this server."
Click (http://www.fo-tho.de/index.php?x=welcome)... Quite strange, huh? :confused:

Try http://www.fo-tho.de/index.php?x=page&title=welcome :)

thowi
05-18-2006, 08:29 AM
ah ok... now ive just to fix the template :(
thanks! :D

Do you see my mistakes there on the quick view? I just copied the commands of the readme.. mhmh but looks weird :D

Maybe I've to check it this evening or so.... but great that the addon is working :D

thowi
05-18-2006, 01:03 PM
Got it all... thanks for help! :D

Cyrus
07-03-2006, 01:27 AM
Great work sensuous; Clever idea, and very userfriendly frontend.

Just one question, how can you use tags in the front end? I would like to create a page with <MY_FAVORITES> and <LAST_COMMENTS> tags.

Thanks!

Cheers,

se.nsuo.us
07-03-2006, 11:56 AM
Just one question, how can you use tags in the front end? I would like to create a page with <MY_FAVORITES> and <LAST_COMMENTS> tags.
Ability to parse Pixelpost tags in your pages would be great but there is no simple way to code it....

Hmmm I wonder if it can be done at all.....

Cyrus
07-03-2006, 10:10 PM
Allright no problemo.

Then where are the pages saved? I would like to access the actual page through frontpage so I can add the tags in the code.

And finally, is there a reason why I don't see the minicms link at the top when I'm in the addon page? (when in all the other pages, you can see the minicms link, but not in the addon section in the admin).

Thanks again.

Love the erotic portfolio btw, very creative!

Cheers,

se.nsuo.us
07-04-2006, 05:15 AM
The pages are saved in the database, and yes there is a bug in the menu which blanks out the menu when in addon page

Thanks for the compliments

thowi
08-13-2006, 09:17 AM
Hi. Small question: is it possible to disable the editor? I just like the code much more and if i use that editor and check the htmlcode, i just get everything in one line, so no structuring in the code possible :(

Vernon.Trent
08-13-2006, 02:53 PM
@thowi

if you like html coding, create your code with an editor of your choice and copy&paste in the mini cms window. works fine :)

thowi
08-13-2006, 03:29 PM
Sure, but then I have to keep that editorfile for possible editing in future because the whole structure is gone @ minicms :(

Connie
08-13-2006, 03:56 PM
you should always have a directory aside, which contains the files which you modified ;=)

believe me, really!

Vernon.Trent
08-13-2006, 06:45 PM
@thowi

then you should store your files in the template folder, something_template.html
and call them via index.php?x=something

Arterial
08-21-2006, 10:18 PM
Despite having read your installation instructions I am afraid I can not get the addon to work. I have put tinyMCE in the /includes folder. I can not find admin_miniCMS.php or page_template.html. Do I have to make any changes to index.php?

Sorry to be so thick, I need your help please.

Thank you

Arterial
Digiphtology (http://www.digiphotology.co.uk/)

se.nsuo.us
08-22-2006, 05:16 AM
@Arterial - where did you download the miniCMS addon from?

Arterial
08-22-2006, 01:37 PM
From your link

se.nsuo.us
08-23-2006, 05:16 AM
please look in the zip file again - there is a tinyMCE folder and the two files which you will be needing

Arterial
08-23-2006, 09:10 AM
Thank you se.nsuo.us, I eventually found the missing files, I was looking in the wrong place. I now have miniMCE showing up in my Admin section.

Again I apologies for my lack of knowledge and understanding.

I want to create a page that I can link to from my image information to show the posted image before I photoshopped it! Does that make sense. How do I do that?
Thank you so much for your help

Vernon.Trent
08-23-2006, 12:58 PM
@arterial

1. you upload your unprocessed image to a location of your choice
2. start the miniCMS and create a page.
3. write your text
4. press the "insert image" button (bottom of the miniCMS "interface"
5. enter the location of your uploaded image (step 1.)
6. save your document.
7. add in the comment field of your processed image the link to your document created with the miniCMS. see below
http://www.youpixelpost.com/index.php?x=page&title=document_title_see_point_2

the link will open the page you have created with the miniCMS system.


hope this helps :)

Arterial
08-24-2006, 12:16 PM
Thank you for your reply. I have tried to follow
your instructions but lack of familiarlty with the syntax is hampering me.

1- Where is the new page stored? I can not work out the url syntax. my images are stored in cgi://thehamptons.plus.com/pixelpost/images/

2 - The link I have used in my comments is http://ccgi.thehamptons.plus.com/pixelpost/waltzer.html but I get the message 404 http://ccgi.thehamptons.plus.com/pixelpost/a

I changed the link to http://ccgi.thehamptons.plus.com/pixelpost/index.php?waltzer but this just links me back to my main page.

The page I am trying to link from is http://ccgi.thehamptons.plus.com/pixelpost/index.php?showimage=33

3- Do I have to edit the index.php file?

The site url is http://ccgi.thehamptons.plus.com/pixelpost/index.php

Sorry to be so dense.
Thanks
Arterial

Vernon.Trent
08-24-2006, 01:16 PM
I guess you named the new page created with miniCMS "waltzer"?

if so, you can call this page with

http://ccgi.thehamptons.plus.com/pixelpost/index.php?x=page&title=waltzer

I tried the above url and it shows me the document.

you can call any page created by the miniCMS with the following syntax:
after index.php add ?x=page&title=waltzer

title = the short name you used to create the page with miniCMS. in this case was "waltzer"

if you create a page with the name "gear" then the syntax is ?x=page&title=gear (after index.php)

like this one
http://www.xoverip.info/pb/index.php?x=page&title=gear

as a sidenote: for storing linked images (unprocessed, whatever else) which are not part of your pixelpost presentation, you should take a different folder then the pixeplost images...

hope this explanation helps a little bit. :)

you don't have to edit the index.php. leave it as it is!


additional note:

please edit your waltzer document in the miniCMS and remove the / after waltzer.jpg. then the file can be shown.

http://ccgi.thehamptons.plus.com/images/waltzer.jpg/ <--- no image

Arterial
08-25-2006, 10:23 AM
Well we are making progress. I can noe get the page to display but there is no image!

the url for the page is http://ccgi.thehamptons.plus.com/pixelpost/index.php?x=page&title=waltzer

ou will see from the page code that the path for the image is ...\images\waltzer#3.jp. so why can I not see it?

I have also copied the image into a folder extra_images and linked to that but still can not see the image.

HELP I think I am losing it....... :(

Vernon.Trent
08-25-2006, 10:58 AM
hi

as far I can see in the code of your waltzer page, there is a call of your image from the images folder.

<img src="../images/waltzer#3.jpg" border="0" alt="Waltzer South Pier Blackpool" title="Waltzer South Pier Blackpool" width="841" height="561" />

http://ccgi.thehamptons.plus.com/images/waltzer#3.jpg
does not exists.
---------
Not Found
The requested URL /images/waltzer was not found on this server.
---------

check you file location and directories. it would be helpful if you can post your folder structure to see where the problem is.

the miniCMS is working fine. now we have to help you out how to use it :)))

p.s.

please name your files a little bit normal :) I mean, without special chars like # and & or something else.
waltzer#3.jpg could be a good waltzer3.jpg (just for the case that some servers have probs with such file names :))

Arterial
08-25-2006, 02:23 PM
Vernon I am so grateful for your help. BUT curiouser and curiouser I can now see the image by looking at the url in the browser. http://ccgi.thehamptons.plus.com/pixelpost/images/waltzer.jpg

I can also call the image from here

http://ccgi.thehamptons.plus.com/pixelpost/extra_images/waltzer.jpg

but I can not display the same image in the new page

http://ccgi.thehamptons.plus.com/pixelpost/index.php?x=page&title=waltzer

As you will see I have taken the pound sign out of the file name.

I am not sure how to print off the folder and file structure.

Just a thought, do I have to edit the page_template file at all? Do I have to add any "tags"?

I am seriously thinking of taking a long walk off a short pier! :<

Thanks again

Vernon.Trent
08-25-2006, 03:00 PM
strange!

klick here ;))

http://www.xoverip.info/pb/index.php?x=page&title=waltzer

I took the url of your image and included in a new page in my miniCMS.

it works.

so, I guess the problem is in a different "place"....

you don't have to add tags to the page_template.html. but you can do, if you want. don't know if you already have done some canges on it.

Arterial
08-25-2006, 04:11 PM
That is bl...y wierd!

I have tried every permutation of the image link and I am baffled. I have checked cmod, different pages etc and still get a page with no image, I can see text but no image.

I give up!

What next?

Vernon.Trent
08-25-2006, 04:25 PM
hey arterial,

thats not fair... I fight the battle with you and you give up? :confused:

how did you put the image link in you cms file?


delete your old waltzer in the cms
create a new one. then klick edit and push the image button.
in the field for imageaddress you put http://ccgi.thehamptons.plus.com/pixelpost/extra_images/waltzer.jpg
give an alternate name and save.

after that click "view" in the cms "interface"

Arterial
08-25-2006, 07:29 PM
Vernon, how inconsiderate of me to give up when you have not. I followed your suggestion. I am afraid it has not made any difference. I have tried a range of images and pages and the same thing happens each time. The page opens but there is just a white rectangle where the inage should be. If I right click and check the properties the link for the image is correct .../extra_images/?image.jpg

<img src="../extra_images/statue.jpg" border="0" width="533" height="800" />

I have reloaded the page_template file but to no avail

Any further ideas?

Vernon.Trent
08-25-2006, 07:42 PM
hm....
img src='../ <--- no http://domain in front of the image address?

Arterial
08-25-2006, 09:18 PM
I think you may have cracked it. The odd thing is it seems to be miniCMS that is truncating the path. I have typed the full path into the editor, updated the page gone back in and looked at the html only to find the first part of the path has been replaced with ../ When I initially enter the image location the image appears in the miniCMS editing window but if I save and go back in the image has disappeared!

What the hell is going on.

Can I construct the pages any other way? Say in Textpad or Dreamweaver?

We make progress, slowly. Thanks again

Vernon.Trent
08-25-2006, 11:00 PM
oh la la :-)))
there is a trick. (not realy a trick.... just RTFM *lol* )

the tiny_mce.js converts the urls by default.
you must add one line to the configuration of the script, which is based in the admin_miniCMS.php

find the below section and add one line (red)
--------------
echo <<<EOT
<script language="javascript" type="text/javascript" src="../includes/tiny_mce/tiny_mce.js"></script>
<script language="javascript" type="text/javascript">
tinyMCE.init({
theme : "advanced",
mode : "textareas", <--- don't forget the comma
relative_urls : false
});
</script>
--------------


or you can have my version of the admin_miniCMS.php
download and replace the other one in the addon folder
http://www.xoverip.info/pb/admin_miniCMS.zip


p.s.
please edit the page_template.html and add in the <head> section the tag <BASE_HREF>

see it in action here
http://www.xoverip.info/pb/index.php?x=page&title=waltzer

first image from your domain, second image from my domain

se.nsuo.us
08-26-2006, 04:56 AM
@Vernon - great tip - would you be interested in taking up maintaining miniCMS for future?

Arterial
08-26-2006, 06:03 AM
Vernon you are a bl...y genius. Thats cracked it. Thank you so much for sticking with my problem, an inspired bit of detective work! I owe you a pint:)


se.nsuo.us: I think you should issue a health warning with minCNS. I nearly had a nervous breakdown and a divorce sorting that one out. Maybe you could include Vernons mod in the Readme file. ;)

Vernon.Trent
08-26-2006, 07:01 AM
:-))

I'm glad to help!


I've just "pimped" my miniCMS to a "maxiCMS" :)
now I have to find out how to implement an addon to make some coffee *lol*

here is the maxiCMS. it gives you the full controll, has a lot of functions and implements the plugins delivered with the tiny_mce package (preview, fullscreen, advanced image <--- very good, font size, font color, date & time, layers, table inserts with selectable cells & rows, online editable css editing, emoticons and bla bla.... ;)

as recommendation: it would be useful to download the latest tiny_mce package. http://tinymce.moxiecode.com/download.php and copy the latest release to your include folder.

if you're interested, here is the download
http://www.xoverip.info/pb/full_admin_miniCMS.zip
rename the php file to admin_miniCMS.php and copy to your pixelpost addons folder.
place the full_interface.css in /includes/tiny_mce/ folder

when you start the miniCMS it takes a little bit to load the plugins

enjoy :)



@se.nsuo.us
thanks for your offer. I'd like to keep it as it is... to help when I have the time for...
please feel free to implement the "mod" (mini or full or both) in your downloadable addon.

Arterial
08-26-2006, 11:41 AM
Vernon: Thanks again, I will follow your advice.
Arterial

se.nsuo.us
08-26-2006, 12:25 PM
se.nsuo.us: I think you should issue a health warning with minCNS.
All Open Source software comes with a warning - use it at your own risk - I don't want to add to the FUD

mQam
04-21-2007, 10:11 AM
I have just installed 'maxiCMS', thanks Vernon for this.

However a few remarks; When I installed everything according to the readme nothing happened. So I took a look in the code (of admin_miniCMS.php )and discovered the SQL script (line 200) that should create a 'pixelpost_prefix'_cms table. This SQL statement uses a FULLTEXT KEY statement which does not work when you have selected the table type 'InnoDB' like I have. To solve this I copied the SQL script into a phpMyAdmin query window and removed the FULLTEXT KEY statement. This way I succeeded to create the table. The last thing you have to take care about in the admin_miniCMS.php is in line 103 where there is relative path to tiny_mce.js. This path is not valid when you have downloaded and installed the latest tinyMCE version. You have to change the path otherwise the JavaScript will not be found.

Hope this information is usefull for everyone who had the same problem(s) as I had.

mQam

vandrende
05-19-2007, 09:40 PM
Hi,
I have installed the miniCMS, following all the instructions. I am able to see the miniCMS button in the Admin page, but when selecting it I get a "Page not found" message.
Any idea what can be wrong?
Thanks

Sigge
05-22-2007, 02:39 PM
I have installed this useful addon, but can't seem to get the content field in the admin pane to hold its content. Everything else works: the title stays and the page loads fine, but the page below the title is empty (because the field is empty). Anybody experience a similar problem? Thanks for suggestions.

I have just the same probs.
Tried to upload tiny_mce a couple of times now, no change.

Is this a PP 1.6 problem or something else?

Dkozikowski
05-22-2007, 09:22 PM
I have never used this addon nor looked at it but it may not be compatible with pixelpost v1.6.0

Vernon.Trent
05-23-2007, 08:02 AM
I have never used this addon nor looked at it but it may not be compatible with pixelpost v1.6.0



it works fine with 1.6
here some examples
http://www.xoverip.info/pb/index.php?x=page&title=gear
http://www.xoverip.info/pb/index.php?x=page&title=morelia

Dkozikowski
05-23-2007, 12:04 PM
it works fine with 1.6
here some examples
http://www.xoverip.info/pb/index.php?x=page&title=gear
http://www.xoverip.info/pb/index.php?x=page&title=morelia

Good to know. Thanks for verifying.

DaBe
11-02-2007, 08:57 PM
hello

nice addon

but I have one question.
how I can use a comment function at the minicms-pages?

the ajax rating system work nice with the minicms but the comment function not.

who can me help?

(sry for my english!)

Clemens
03-26-2009, 10:01 PM
@se.nsuo.us

really great plugIn! This was what i'd searched. thanks a lot!

works fine with pp 1.7!

and even more it's able to handle "multi div-content" by filling into / editing in the html-source-editor of tiny_mce, wonderful!

( i did take the latest tinymce_3_2_2_3 - it works fine, as well in Safari 3.2.1! )

one thing i currently don't know: i have to add the new pages by hand into the navigation of the existing templates like "image_template.html" etc.? sure, i think.

snafu
03-27-2009, 12:13 AM
i have to add the new pages by hand into the navigation of the existing templates like "image_template.html"

yes, but the name of the templatefileyou must use is "page_template.html"