zikula-modules / eternizer Goto Github PK
View Code? Open in Web Editor NEWA guestbook module for Zikula
Home Page: https://ziku.la
A guestbook module for Zikula
Home Page: https://ziku.la
There is a link called "Show all entries" so that I can switch to the paginated view.
Suddenly it does not work anymore.
There is still written "Show all entries"
There is no content after opening the body tag.
I found in some templates the following line
Zikula.UI.Tooltips($$('.eternizerFormTooltips'));
But there are no tooltips set
e.g.
with sitename
direct links
preview
Please use more safehtml or safetext modifier.
Example: admin view template
<td headers="hlocation">
{$entry.location}
</td>
<td headers="htext">
{$entry.text|truncate:100}
</td>
<td headers="hnotes">
{$entry.notes}
</td>
http://abi2010.k62.org/index.php?module=eternizer
the headline is not translated (Guestbook entries (Add a new entry))
All other gettext strings are translated. DE locale is installed.
Change History
comment:1 Changed 15 months ago by philipp
Owner set to herr.vorragend
Description modified (diff)
comment:2 Changed 15 months ago by philipp
Description modified (diff)
Milestone changed from 1.1 to 1.2
comment:3 Changed 12 months ago by Charlie
Lösung:
<h2><!--[gt text='Guestbook entries' domain="module_eternizer"]--> (<em class="z-sub"><a href="#pnFormForm"><!--[gt text='Add a new entry' domain="module_eternizer"]--></a></em>)</h2>
<div id="eternizer-entries">
<!--[foreach from=$entries item=entry]-->
<!--[$entry]-->
<!--foreach-->
</div>
<!--[pager posvar="startnum" rowcount=$count limit=$config.perpage]-->
<!--[$form]-->
Gruß Charlie
What do you think about moving this footer out of the user frontend to the admin backend?
I think that it is okay to show a "Powered by"-link, but I personally prefer to hide it for the users.
We should better put this line into an admin template.
at least one example template for a Block would be nice or a description in the /pndoc/block.txt
I just want to open the URL: /index.php?module=gaestebuch&type=admin&func=main
It was an upgrade from Eternizer 1.1.1 to 1.1.2
Fehler bei Zikula CMS Demo
The 'gaestebuch' module returned an error in 'main'.
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'database.eternizer_entry' doesn't exist
Exception Trace
#0 Ausnahmefehler in /www/htdocs/host/plugins/Doctrine/lib/vendor/Doctrine/DBAL/Connection.php, Zeile 618
#1 /www/htdocs/host/plugins/Doctrine/lib/vendor/Doctrine/ORM/Query/Exec/SingleSelectExecutor.php(46): Doctrine\DBAL\Connection->executeQuery('SELECT count(DI...', Array, Array)
#2 /www/htdocs/host/plugins/Doctrine/lib/vendor/Doctrine/ORM/Query.php(249): Doctrine\ORM\Query\Exec\SingleSelectExecutor->execute(Object(Doctrine\DBAL\Connection), Array, Array)
#3 /www/htdocs/host/plugins/Doctrine/lib/vendor/Doctrine/ORM/AbstractQuery.php(607): Doctrine\ORM\Query->_doExecute()
#4 /www/htdocs/host/plugins/Doctrine/lib/vendor/Doctrine/ORM/AbstractQuery.php(480): Doctrine\ORM\AbstractQuery->execute(Array, 4)
#5 /www/htdocs/host/plugins/Doctrine/lib/vendor/Doctrine/ORM/AbstractQuery.php(506): Doctrine\ORM\AbstractQuery->getSingleResult(4)
#6 /www/htdocs/host/plugins/DoctrineExtensions/lib/vendor/beberlei/DoctrineExtensions/lib/DoctrineExtensions/Paginate/Paginate.php(40): Doctrine\ORM\AbstractQuery->getSingleScalarResult()
#7 /www/htdocs/host/modules/Eternizer/lib/Eternizer/Entity/Repository/Base/Entry.php(218): DoctrineExtensions\Paginate\Paginate::getTotalQueryResults(Object(Doctrine\ORM\Query))
#8 /www/htdocs/host/modules/Eternizer/lib/Eternizer/Api/Base/Selection.php(113): Eternizer_Entity_Repository_Base_Entry->selectWherePaginated('', 'createdDate asc', 1, 10, true)
#9 /www/htdocs/host/modules/Eternizer/lib/Eternizer/Api/Selection.php(60): Eternizer_Api_Base_Selection->getEntitiesPaginated(Array)
#10 [internal function]: Eternizer_Api_Selection->getEntitiesPaginated(Array)
#11 /www/htdocs/host/lib/util/ModUtil.php(1089): call_user_func(Array, Array)
#12 /www/htdocs/host/lib/util/ModUtil.php(1194): ModUtil::exec('Eternizer', 'selection', 'getEntitiesPagi...', Array, true, NULL)
#13 /www/htdocs/host/modules/Eternizer/lib/Eternizer/Controller/Base/Admin.php(131): ModUtil::apiFunc('Eternizer', 'selection', 'getEntitiesPagi...', Array)
#14 [internal function]: Eternizer_Controller_Base_Admin->view(Array)
#15 /www/htdocs/host/lib/util/ModUtil.php(1089): call_user_func(Array, Array)
#16 /www/htdocs/host/lib/util/ModUtil.php(1168): ModUtil::exec('Eternizer', 'admin', 'view', Array, false, NULL)
#17 /www/htdocs/host/lib/viewplugins/function.modfunc.php(67): ModUtil::func('Eternizer', 'admin', 'view', Array)
#18 /www/htdocs/host/ztemp/view_compiled/Eternizer/admin/main--t_SeaBreeze-l_de.php(5): smarty_function_modfunc(Array, Object(Zikula_View))
#19 /www/htdocs/host/lib/Zikula/View.php(2817): include('/www/htdocs/w00...')
#20 /www/htdocs/host/lib/Zikula/View.php(729): Zikula_View->_fetch('admin/main.tpl', '', '', false)
#21 /www/htdocs/host/modules/Eternizer/lib/Eternizer/Controller/Base/Admin.php(48): Zikula_View->fetch('admin/main.tpl')
#22 [internal function]: Eternizer_Controller_Base_Admin->main(Array)
#23 /www/htdocs/host/lib/util/ModUtil.php(1089): call_user_func(Array, Array)
#24 /www/htdocs/host/lib/util/ModUtil.php(1168): ModUtil::exec('Eternizer', 'admin', 'main', Array, false, NULL)
#25 /www/htdocs/host/index.php(78): ModUtil::func('Eternizer', 'admin', 'main', Array)
#26 {main}
Not:
<a href="mailto:{$entry.email}" title="{gt text='Send an email'}">
{icon type='mail' size='extrasmall' __alt='Email'}
</a>
Better:
<a href="mailto:{$entry.email}" title="{gt text='Send an email'}">{icon type='mail' size='extrasmall' __alt='Email'}</a>
Example url: index.php?module=gaestebuch&type=admin&func=edit&ot=entry&id=46
The buttons ...
have a green outline.
Caused by this CSS rule:
input.validation-passed, textarea.validation-passed {
border: 1px solid #00CC00;
color: #000000;
}
Not very beautiful.
@Guite : It looks like a MOST Generator issue :-)
Why do you use width=20em
here?
It is not necessary to set an individual lenght in Zikula forms.
{formintinput id='pagesize' group='config' maxLength=255 width=20em __title='Enter this setting. Only digits are allowed.'}
We have decided to remove the internal management of profile datas.
So I need a way to implement some fields like 'name', 'email' and so on for an entry.
Please give me a feedback which fields we need that shall be saved in the DB???
Error:
The 'eternizer' module returned an error in 'view'
Maybe something with the permissions?
There is a template for a block and I think I have to work with it, because the block shows a link to each entry we list within the block. We only need a link to the guestbook view.
It would be nice if it is possible to choose wether I use the ReCaptcha-Hook or the simplecaptcha plugin (like used in formicula). For some sites I think, the simplecaptcha is easyer to read for users and will be sufficient
There are some issues I don't understand.
You introduced a new modvar 'period', but this one is not used.
These lines are always hidden. There is no javascript function that enables this feature.
<div class="z-formrow eternizer_hidden">
{formlabel for='period' __text='Period' class='eternizerFormTooltips' title=$toolTip}
{formintinput id='period' group='config' maxLength=255 width=20em __title='Enter this setting. Only digits are allowed.'}
</div>
And what is meant with $toolTip
If I want to sort by a column, then the module uses the sort order ASC.
But the module doesn't sort by ASC. It sorts by DESC
So I have changed the issue title.
That is not ideal so we have to make it more clear.
something like "my entries", where user will get his entries with one click.
The text should only appear, if an user did edit an entry, so an admin can set an entry to published without the text.
When "use user profile" checked, use the actual user profile, not the saved
When I want to add a new block I get the error:
"Class Eternizer_Block_List does not exist"
Do we need all these Atom, CSV, JSON, RSS and XML templates?
If not then we should delete the files in the user- and admin directory.
Maybe based on sessions for guests
Enable/disable by admin
Not needed anymore.
AFAIk it was used in I the past to protect the files if Apache directory listing was enabled.
not to support IE6 or less is ok, but IE7 is not ok
The guestbook entries are not shown (only the horizontal rule), but the form itself is working. Same in admin view.
Not import correctly all fields from pnBook
Change History
comment:1 Changed 3 years ago by philipp
Keywords inputrequired added
This are to less information. What fields aren't imported? What means "correctly"?
comment:2 Changed 22 months ago by TkdAndi
Milestone set to 1.1
The email, website and the location field are not correctly imported from all entries. I checked all entries and it looks like that only the guestbook entries with a given location are not correct.
I've tried the installation from Eternizer 1.1.1 under zikula 1.3.1 and get the error:
Could not load the 'eternizer' module at 'step2'.
Form handlers must inherit from pnFormHandler.
Modul is still not installed after tihs in the modulslist
Is not yet implemented
Please do not use tabs for indenting the code.
???
Moderation is not yet implemented.
We have to rule the moderation during the creation of an entry
We have to rule the moderation for the admin after entry is saved
It should be possible to config a time for editing own entries.
block/itemlist.tpl is empty
I cannot switch to the second (or other) site.
... in the admin view.
The system ignores the choosen sort order
We have to handle if an admin has enabled saving of ip or not.
Why do we have an input field for the IP address in both edit templates?
<div class="z-formrow" style='visibility: hidden;'>
{formlabel for='ip' __text='Ip'}
{formtextinput group='entry' id='ip' mandatory=false readOnly=false __title='Input the ip of the entry' textMode='singleline' maxLength=15 cssClass=''}
</div>
I know that it is hidden in the user's frontend, but it is very easy to make it visible.
Get this error:
Fehler! Die gewünschte Aktion war aus einem unbekannten Grund nicht erfolgreich. Möglichweise aufgrund fehlerhafter Eingaben. Bitte überprüfen und erneut versuchen.
This is with BBCode, that is not ready. So maybe there is something wrong in BBCde because EZComments works fine, although it makes no sense in the edit form.
I think, I push it in the future.
I tried an upgrade to you current Git version and all database tables are dropped now.
There is only one table left: eternizer_entry :-)
If we enable editing of entries we can choose a period in hours.
We want to be able to disable and enable the editing of own entries.
There are a few new config vars; we have to set them in the update path.
It seems that in special cases, maybe depend on entered datas, older entries will get edited. So we can read that this old entry was updated.
What do you think about using the default Zikula pager instead of the current one?
{pager rowcount=$pager.numitems limit=$pager.itemsperpage display='page'}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.