MiniCMS plugin for cpg1.5.x MiniCMS plugin for cpg1.5.x
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

MiniCMS plugin for cpg1.5.x

Started by Αndré, November 30, 2010, 05:49:42 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Αndré

This is a port of the cpg1.4.x plugin MiniCMS.

Quote from: Joachim Müller on November 04, 2009, 07:55:01 AM
What it does
The MiniCMS plugin is a minimalistic Content Mangement System which allows the gallery admin to add / edit / delete pages. Typically this will be used by people who just want to add a few pages like About, Contact etc to their installs of coppermine but do not want full fledged CMS like Joomla.
It currently includes the ability to create stand-alone pages and add content to any category, album, or intermediate image page.
It has  a WYSIWYG editor which works in IE and Mozilla, and respects the admin rights from Coppermine

cavok

Coppermine 1.5.22 hosting by Free

Αndré

That list hasn't been updated since a while.

Pat Satanus

Hi!

Got a little problem with this plugin. Upload via ftp was no problem, the plugin is detected in the plugin manager, but I don´t accomplish the minimum requirements and I don´t find any informations about them.

My system:
CPG 1.5.8 (stable)
PHP 5.2.6
MySQL 5.0.51a
MiniCMS (minicms): v2.1
Link: www.edition-steinbach.de

Actually, this should work, or not? Got anyone an idea?

So long...
Pat
Cuiusvis hominis est errare, nullius nisi insipientis in errore perseverare.
-Cicero-

Αndré


Pat Satanus

Thanx André.
It was sooooo easy, but I don´t see the wood for the trees. Now it works great!

So long...
Pat
Cuiusvis hominis est errare, nullius nisi insipientis in errore perseverare.
-Cicero-

sharpo

Have never used minicms before, but decided to give it a try. Seems to be working without problems but I did get one message line that didn't quite look right when I installed it, this was the message:-

1091: Can't DROP 'pos'; check that column/key exists

Should I be doing anything about it?

http://www.sharpos-world.co.uk/BB3cpg/

Only 1 minicms page entered at present and links from it do work.
Sharpo (not an expert, just a Coppermine user)
3 live galleries, first started in 2006.
http://www.sharpos-world.co.uk/BB3cpg/ with over 8,000 images.
http://www.sharpos-world.co.uk/cpg/ with over 25,000 images. 1.6.25
http://www.sharpos-world.co.uk/kc/ with over 300 images. 1.6.25

Αndré

I assume it's that line in sql/basic.sql:
QuoteALTER TABLE `CPG_cms` DROP `pos`;

The column pos should exist, as it has been added some lines before
QuoteALTER TABLE `CPG_cms` ADD `pos` int(11) NOT NULL default '0';

If everything works fine you can just ignore that message.

VEGA

through mini cms I inserted a table and where there are empty cells are automatically filled with symbols of small squares. I thank those who can explain what may be the cause.

Αndré

Quote from: VEGA on December 07, 2010, 09:03:50 AM
through mini cms I inserted a table and where there are empty cells are automatically filled with symbols of small squares. I thank those who can explain what may be the cause.
Post a link to your gallery, especially to the section where the issue occurs.

VEGA


bigfart10

Hi all,

first the link to my Gallery : http://flyaway-photopassion.zxq.net/Gallery/

I've uploaded the plugin MiniCMS and I've installed it.

Now, it seems to have a problem ... I mean, I can create a new article, but when I want to edit it, I think that edit commands are missing.

See images on attachment.

And thanks for help.

Regards.

Bigfart10

Αndré

Quote from: VEGA on December 07, 2010, 09:03:50 AM
through mini cms I inserted a table and where there are empty cells are automatically filled with symbols of small squares
Doesn't happen in my local testbed. Please post the source code of your table.

Αndré

Quote from: bigfart10 on December 07, 2010, 11:52:39 AM
when I want to edit it, I think that edit commands are missing.
Works as expected in my local testbed. You have to enable JavaScript to use the FCKeditor. Also make sure you've uploaded all plugin files.

VEGA

Quote from: Αndré on December 07, 2010, 12:06:48 PM
Doesn't happen in my local testbed. Please post the source code of your table.

<p>
<table border="1" cellspacing="1" cellpadding="2" width="371" align="left" style="width: 371px; height: 24px">
    <tbody>
        <tr>
            <td bgcolor="#cc3300" style="text-align: center"><span style="color: #ffffff"><span style="font-size: larger"><strong>Reportage Inseriti</strong></span></span></td>
        </tr>
    </tbody>
</table>
</p>
<p style="text-align: left">�</p>
<p style="text-align: left">�</p>
<p style="text-align: left">
<table border="0" cellspacing="1" cellpadding="2" width="376" align="left" height="129" style="width: 376px; height: 129px">
    <tbody>
        <tr>
            <td bgcolor="#ffffff" style="text-align: left">
            <p>�</p>
            </td>
            <td bgcolor="#ffffff" style="text-align: left">
            <p style="text-align: left"><span style="font-family: Verdana"><strong><span style="font-size: smaller"><span style="color: #000000"><span style="font-family: Verdana"><strong><span style="font-size: smaller"><span style="color: #000000"><a target="_blank" href="http://www.maranimage.it/thumbnails.php?album=88"><img border="0" alt="" width="195" height="50" src="/userfiles/camucia(1).jpg" /></a></span></span></strong></span></span><span style="color: #ff0000">(</span></span></strong></span><span style="font-family: Verdana"><strong><span style="font-size: larger"><a target="_blank" href="http://www.gareclassiche.it/camucia.htm"><span style="font-size: smaller"><span style="color: #ff0000">info sull'evento</span></span></a></span><span style="font-size: smaller"><span style="color: #ff0000">)</span></span></strong></span></p>
            </td>
            <td bgcolor="#ffffff" style="text-align: left">�</td>
        </tr>
        <tr>
            <td bgcolor="#ffffff" valign="middle" style="text-align: left">�</td>
            <td bgcolor="#ffffff" valign="middle" style="text-align: left">
            <p><span style="font-family: Verdana"><strong><span style="font-size: smaller"><font color="#000000"><span style="font-family: Verdana"><strong><span style="font-size: smaller"><span style="color: #000000"><a target="_blank" href="http://www.maranimage.it/thumbnails.php?album=87"><img border="0" alt="" width="195" height="50" src="/userfiles/sanfelice.jpg" /></a></span></span></strong></span></font></span></strong></span><font color="#000000" size="2"><span style="color: #ff0000"><span style="font-size: smaller"><strong><span style="font-family: Verdana">�<a href="http://www.fotoincontri.net/"><span style="color: #ff0000">(info sull'evento)</span></a></span></strong></span></span></font></p>
            </td>
            <td bgcolor="#ffffff" valign="middle" style="text-align: left">�</td>
        </tr>
        <tr>
            <td bgcolor="#ffffff" valign="middle" style="text-align: left">�</td>
            <td bgcolor="#ffffff" valign="middle" style="text-align: left">
            <p><a target="_blank" href="http://www.maranimage.it/thumbnails.php?album=47"><img border="0" alt="" src="/userfiles/polo.jpg" /></a><span style="color: #ff0000"><span style="font-size: smaller"><strong><span style="font-family: Verdana"><a target="_blank" href="http://www.argentariopoloclub.com/"><span style="color: #ff0000"><u>(info sull'evento)</u></span></a></span></strong></span></span></p>
            </td>
            <td bgcolor="#ffffff" valign="middle" style="text-align: left">�</td>
        </tr>
    </tbody>
</table>
</p>
<p style="text-align: left">
<table border="1" cellspacing="1" cellpadding="2" width="371" align="center" style="width: 371px; height: 24px">
    <tbody>
        <tr>
            <td bgcolor="#cc3300" style="text-align: center"><span style="color: #ffffff"><span style="font-size: larger"><strong>Eventi Fotografici in Italia</strong></span></span></td>
        </tr>
        <tr>
            <td bgcolor="#ffffff" style="text-align: center">
            <p><strong><span style="font-family: Comic Sans MS"><span style="background-color: #ffffff"><span style="background-color: #ffffff"><span style="font-size: smaller">di varie tematiche utili per spunti di reportage fotografico.Per alcuni eventi inserita una recensione con suggerimenti e impressioni.</span></span></span></span></strong></p>
            <p><span style="background-color: #ffff00"><strong><span style="font-family: Comic Sans MS"><span style="font-size: smaller">Sono gradite <a target="_blank" href="http://fotorisorse.altervista.org/">a questo link </a>vostre segnalazioni e recensioni</span></span></strong></span></p>
            </td>
        </tr>
    </tbody>
</table>
</p>
<p style="text-align: left">�</p>
<p style="text-align: left">
<table border="0" cellspacing="1" cellpadding="2" width="460" align="center" height="58" style="width: 460px; height: 58px">
    <tbody>
        <tr>
            <td bgcolor="#ffffff" style="text-align: center">�</td>
            <td bgcolor="#ffffff" style="text-align: center">
            <p><span style="color: #ff0000"><span style="font-family: Verdana"><span style="font-size: smaller"><strong>Dove</strong></span></span></span></p>
            </td>
            <td bgcolor="#ffffff" style="text-align: center">
            <p><span style="color: #ff0000"><span style="font-family: Verdana"><span style="font-size: smaller"><strong>Quando</strong></span></span></span></p>
            </td>
            <td bgcolor="#ffffff" style="text-align: center">
            <p><span style="color: #ff0000"><span style="font-family: Verdana"><span style="font-size: smaller"><strong>Evento</strong></span></span></span></p>
            </td>
            <td bgcolor="#ffffff" style="text-align: center">
            <p><span style="color: #ff0000"><span style="font-family: Verdana"><span style="font-size: smaller"><strong>Info</strong></span></span></span></p>
            </td>
            <td bgcolor="#ffffff" style="text-align: center">
            <p><strong><span style="color: #ff0000"><span style="font-family: Verdana"><span style="font-size: smaller">Recensioni</span></span></span></strong></p>
            </td>
        </tr>
        <tr>
            <td bgcolor="#ffffff" valign="middle" style="text-align: center">�</td>
            <td bgcolor="#ffffff" valign="middle" style="text-align: center">
            <p><span style="font-family: Verdana"><strong><span style="font-size: smaller">Ferrara</span></strong></span></p>
            </td>
            <td bgcolor="#ffffff" valign="middle" style="text-align: center">
            <p><strong><span style="font-size: smaller"><span style="font-family: Verdana">da 17 al 26 settembre</span></span></strong></p>
            </td>
            <td bgcolor="#ffffff">
            <p style="text-align: center"><span style="font-size: smaller"><span style="font-family: Verdana"><strong>Balloon Festival</strong></span></span></p>
            </td>
            <td bgcolor="#ffffff" valign="middle" style="text-align: center"><strong><span style="font-family: Verdana"><span style="font-size: larger"><span style="font-size: smaller"><span style="color: #ff0000"><a target="_blank" href="http://www.ferrarafestival.it/"><span style="color: #0000ff">link</span></a></span></span></span></span></strong></td>
            <td bgcolor="#ffffff" valign="middle" style="text-align: left">
            <p style="text-align: center"><span style="font-family: Verdana"><span style="font-size: smaller"><a target="_blank" href="http://fotorisorse.altervista.org/index.php?option=com_content&amp;view=section&amp;id=14&amp;Itemid=72"><strong>link</strong></a></span></span></p>
            </td>
        </tr>
    </tbody>
</table>
</p>
<p style="text-align: left">�</p>
<p style="text-align: left">�</p>
<p style="text-align: center">�</p>
<p>
<table border="1" cellspacing="1" cellpadding="1" width="398" align="center" height="23">
    <tbody>
        <tr>
            <td bgcolor="#ffcc00" style="text-align: center">&lt;&lt;-&gt;&gt;<strong><a target="_blank" href="http://www.maranimage.altervista.org/new">ISCRIVITI ALLA NEWSLETTER</a></strong>&lt;&lt;-&gt;&gt;</td>
        </tr>
    </tbody>
</table>
</p>


(if i remove manual the symbol � and copy and paste code, appears again)

Αndré

VEGA, please try what happens if you set
FCKConfig.HtmlEncodeOutput = true ;
to
FCKConfig.HtmlEncodeOutput = false ;
in plugins > minicms > fckeditor > fckconfig.js

Clear your browser cache to ensure that the changes will be taken into account.

VEGA

Αndré,
i set FALSE to FCKConfig.HtmlEncodeOutput ,but i don't look any change.

Αndré

Please try to delete the � symbols and save your table again.

VEGA

Quote from: Αndré on December 07, 2010, 06:48:45 PM
Please try to delete the � symbols and save your table again.

I already tried to do this

VEGA

I'm not good with html. Maybe I mistyped the code to the schedules and the provision of content is not correct :-[ :-\