Giter Club home page Giter Club logo

content's People

Contributors

ansch avatar ccandreva avatar cmfcmf avatar craigh avatar csware avatar dependabot[bot] avatar dependencies-bot avatar espaan avatar github-actions[bot] avatar guite avatar hvorragend avatar matheo avatar rallek avatar robbrandt avatar tfotis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

content's Issues

List/evaluation by category irregular

When listing Content pages by category within a Content page using the Module display function a pager will appear with the number of items not identical with the actual number (like six items instead of four) and also offering a second page when there are no items on it.
Probably in relation to this another weird appearance: I created a special page template only active for Content pages belonging to a certain category. After the sixth page of that category, further pages show in the regular template, although category settings are identical. Preview shows the page in the correct template, but the real view shows it in the default template. This problem can be seen here:
http://dl7und.net/sd/txwz/index.php?module=Content&func=view&pid=3
The first six items work correctly, following items (from the list at the bottom) suddenly use the default template. I think this correlates to the first problem because the number of items shown on the first page (before I removed the pager from the template) was six, like the number of items working correctly.

-- orig 82 by dl7und

Add free text fields

It would be incredibly helpful if one had three or five text fields without any meaning or logic. In many projects Content can not be used because you need an additional field (e.g. a number, a file path or something else) to store some semantics.

-- orig 134 by guite

•Add a few additional text fields to the page table
•Separate the edit fields for them in an own template
•Include that template in the "options" tab when editing a page
Another approach would be to use attributes instead of introducing new fields.

Change History
comment:1 Changed 13 months ago by espaan
Interesting. Do you need separate text fields or is a serialized array with some additional fields also ok. A serialized array has the advantage that it is a little more dynamic. But then the max length is limited by the db field / nroftextfields.

Attributes could also be used of course, and enabled/diabled like in News. But they are a little harder to work with in the templates then basic fields. Also if one would want to do something with them you have to work harder to get the right param :-)

And indeed with an enable/disable in the settings they can be visible in the options tab yes, that is clear.

Could you comment a bit, it is very nice to have the db field in now.

comment:2 Changed 9 months ago by Guite
Just stumbled on this requirement again: in my new use case I just need an additional (second) title - for displaying it at another position.

A serialized array would also be okay, of course. But database fields would bring some convenience like easy filtering.

Part of WebDir-Path causes error when creating new page

-- orig 101 by jeb

Hello developer Team :)
Backgroundinfo:
Zikula 1.2.1, fresh install, latest content|bb-code|scribite
Debian Lenny with all updates, PHP5, with functional Joomla's
Modules downloaded and integrated, before uploading and install
activated all Modules at install.php
Installed in "/web4Data/var/www/schwester/html/itbb"
When i try to create a new page, using http://meine.schwesterundich.de/itbb/index.php?module=inhalt&type=edit&func=newpage, I get a general server-error, and not site at all.
Error:
[Mon Feb 08 10:24:00 2010] [warn] mod_fcgid: stderr: PHP Fatal error: pnFormRender::require_once() [function.require]: Failed opening required '/web4Datasystem/pnForm/plugins/function.pnformerrormessage.php' (include_path='.:/usr/share/php:/usr/share/pear') in /web4Data/var/www/schwester/html/itbb/includes/pnForm.php on line 614
The interresting part is:
.. Failed opening required '/web4Datasystem/pnForm/plugins/function.pnformerrormessage.php' ...
Why is the start of my absolute path (and the start only) in this error?
If you need any more info, please ask (although I am building up a kitchen this afternoon/evening, so no extreme hurry is necessary)
Attachments

Change History
comment:1 Changed 18 months ago by espaan

I had similar issues with blank pages and server errors. I swithced the VIrtualDocumentRoot setting in my webhost account to DocumentRoot? and that solved my problems? Maybe you have something similar?

Filter by sub-page-of

Make it possible to filter the various lists by all the pages that are below a certain page.

-- orig 63 by Jorn wildt

Unknown column 'page_nohooks' in 'field list' after upgrade from 3.2.1 to actual git version (is shown as 3.2.2)

Unknown column 'page_nohooks' in 'field list'
SELECT DISTINCT page_id AS "id",page_ppid AS "parentPageId",page_title AS "title",page_urlname AS "urlname",page_nohooks AS "nohooks",page_layout AS "layout",page_categoryid AS "categoryId",page_views AS "views",page_active AS "active",page_activefrom AS "activeFrom",page_activeto AS "activeTo",page_inmenu AS "inMenu",page_pos AS "position",page_level AS "level",page_setleft AS "setLeft",page_setright AS "setRight",page_language AS "language",page_obj_status AS "obj_status",page_cr_date AS "cr_date",page_cr_uid AS "cr_uid",page_lu_date AS "lu_date",page_lu_uid AS "lu_uid", transp_title, pn_uname FROM zk_content_page LEFT JOIN zk_content_translatedpage t ON t.transp_pid = page_id AND t.transp_lang = 'de' LEFT JOIN zk_users usr ON usr.pn_uid = page_lu_uid WHERE page_active = 1 AND (page_activefrom <= NOW() OR page_activefrom IS NULL) AND (page_activeto > NOW() OR page_activeto IS NULL) AND page_setleft >= 3 AND page_setright <= 38 ORDER BY setLeft ASC

I have updated on my testsite from another github version (named 3.2.1) to current github version (named 3.2.2) to get the new layouts for testing. After updating I got several sql errors like above.

Add Autosave functionality

--orig 198 by hilope

It would be nice if Content module would save every 1 or 2 minutes the entered data into a temporary database table to prevent session timeouts.

Additional hint for Xinha:
http://www.xinha.org/punbb/viewtopic.php?id=3221

Attachments

Change History
comment:1 Changed 8 months ago by Hilope
■Cc Hilope added
comment:2 Changed 8 months ago by espaan
■Milestone unassigned deleted
Hi,

good idea. For News I have already looked at it before. Alongside the draft functionality that is in News. I have been looking AJAX periodic functions to do an autosave to draft for News.
For Content this could be done kind of similar. Difficult is that in Content only the HTML contentitems are easy autosaved and the pages are not static of course. So the autosave table has to be dynamic as well. Beasides that there is no workflow like draft as in News yet.

comment:3 Changed 8 months ago by espaan
See also this topic on more info on doing this kind of stuff: http://webdesign.torn.be/tutorials/javascript/prototype/live-update-visitors/

comment:4 Changed 5 months ago by craigh
■Milestone set to unassigned
comment:5 Changed 3 months ago by espaan
■Milestone changed from unassigned to 4.1.0
■Status set to pending-review

Use same dropdown menus as admin panel

The dropdown menus that are in the new admin panel would be a welcome change to the menus in Content.

-- orig 142by halbrooktech

Attachments
■menuexample.jpg (20.4 KB) - added by halbrooktech 13 months ago.
This is the menu I'm talking about. Looks cleaner/better IMHO
■menuproblem13.jpg (97.7 KB) - added by halbrooktech 13 months ago.
Menu Problem in current 1.3 SVN with Current Content SVN
Change History
comment:1 Changed 13 months ago by espaan
What are those btw :-) You mean the admin panel in zk1.3 ? and then what dropdowns?
Could you elaborate a little more on what is in there and what functionality you would like
in Content for that part?

Extending usability and look&feel is important with this kind of "should be easy to use" module.

Last edited 13 months ago by espaan (previous) (diff)
Changed 13 months ago by halbrooktech
■attachment menuexample.jpg added
This is the menu I'm talking about. Looks cleaner/better IMHO

comment:2 Changed 13 months ago by halbrooktech

Is how it's termed in the code best I can tell. The existing menu is also displaying out of place when clicking on the arrow, even in Seabreeze.

Changed 13 months ago by halbrooktech
■attachment menuproblem13.jpg added
Menu Problem in current 1.3 SVN with Current Content SVN

comment:3 Changed 13 months ago by espaan
Thanks for adding the screenshots. I will try it in seabreeze as well and see what happens. And the current is a bit flat indeed :-)

comment:4 Changed 8 months ago by espaan
■Milestone changed from unassigned to 4.1.0
There is ticket with patch in the core about the contextmenu positioning ( http://code.zikula.org/core/ticket/2544). If that is solved then this positioning is also solved. Since the contextmenu is just a Core feature.

About the layouts of the contextmenu, have to check. Maybe Carsten can take a look

Add showorder dropdown field to the pageList

phenomenon¶
when you open the page list the pages are ordered from old to new, this can be very inconvient at times. It would be nicer to have the option to choose the ordering

-- orig 149 by espaan

reason¶
Usability of the PageList?

recommendation¶
Add a dropdown field for the ordering in the PageList?:

•descending ID
•ascending ID
•(alphabetic on Title)
•(Revision count)
•(not translated)
•?
Attachments

Change History
comment:1 Changed 12 months ago by espaan
■Priority changed from major to minor
comment:2 Changed 10 months ago by espaan
This is difficult, since oredering is done by setLeft and last updated or whatever is not easily mixed in between.

comment:3 Changed 8 months ago by espaan
■Milestone changed from 4.0.0 to 4.1.0

Quick switch for making content elements active or inactive

--orig 241

Reported by: Guite Owned by:
Priority: minor Milestone: 4.1.0
Version: GIT 4.x Keywords:
Cc: Status: pending-review

Description ¶
Content has a very useful active checkbox for single content elements. For example you can edit an HTML text element and switch it to inactive.
A nice addition would be to offer a quick switch functionality in the context menu of the content elements (the one which also offers things like edit and insert content element above). So for inactive block elements one can activate them again in one click, and the same for letting active ones become inactive.

Attachments

Change History
comment:1 Changed 4 months ago by espaan
Is a very good idea. I had thought of that before, but didnt log a ticket yet, so thanks.

comment:2 Changed 3 months ago by espaan
■Milestone changed from unassigned to 4.1.0

XSL plugin

Could there be a plugin to insert an xslt processed xml file in the same way it is possible to display an xslt bloc ?

original ticket 4 by guitch

Update the googlemaps api stuff to PHP class php-google-map-api

--orig 155 by espaan

phenomenon¶
There is a PHP class for handlgin with the Googlemaps api. This might be more convenient than using the JS api directly.

reason¶
Simpler usage of the googlemaps JS api

recommendation¶
Check out the PHP class and see if it helps for the map code.
http://code.google.com/p/php-google-map-api/

Attachments

Change History
comment:1 Changed 8 months ago by espaan
■Milestone changed from 4.0.0 to 4.1.0

Add Smugmug plugin

--orig 179 by espaan

phenomenon¶
Missing Smugmug plugin

reason¶
Smugmug is being used in the field as well, one of the better photo storages

recommendation¶
Just like phpFlickr make a smugmug plugin. the Api looks very similar, since phpSmug ( http://phpsmug.com/) is based upon phpFlickr when it started.

new Block - last updated

--orig 238

Reported by: dmm Owned by:
Priority: major Milestone: 4.1.0
Version: 3.1.0 Keywords:
Cc: Status: pending-review

Description ¶
a block which displays the last x updated items would be very useful.
Thank you

Attachments

Change History
comment:1 Changed 4 months ago by espaan
Why did you create 2 tickets? Is it for the zk12x version and the zk13 version? We decided that new functionality will (in principle) only be implemented in the new Content 400 version for zk1.3

comment:2 Changed 3 months ago by espaan
■Milestone changed from unassigned to 4.1.0

Update how Categories are utilized

-- orig 233 by craig

Reported by: craigh Owned by:
Priority: major Milestone: 4.1.0
Version: GIT 4.x Keywords:
Cc: halbrooktech Status: approved

Description ¶
Categories are currently not utilized in the manner that is consistent with Zikula 1.x. It is more akin to the old Postnuke Topics.

Currently, admin must type the property name (e.g. 'primary') to establish the relationship. Additionally, categories are stored in the content_page table by the cat_id from categories_category table instead. In the correct manner, no category data is stored within a module's own table, but rather as a related object in the categories_mapobj table.

Content then further complicates this by using a second table for multiple categorization.

All this should be removed and zikula 1.x standard categories should be used.

Make category option in admin setting dynamic with JS

--orig 202 by espaan

phenomenon¶
In the admin settings the category usage can be set to 2 categories, 1 category or none.
It would be nice if none is chosen, then also the property for the categogories are both hidden. Same for 1 category, then only the first category registry option should be shown.

reason¶
Simpler admin settings. Only show what is needed.

recommendation¶
Add JS to hide/show the category properties

Attachments

Change History
comment:1 Changed 5 months ago by craigh
■Milestone changed from 4.0.0 to 4.1.0
■Status set to pending-review
Because categories are not properly implemented in Content. I will move this to a later milestone. this may become moot when and if categories are properly implemented.

ref ticket #233

comment:2 Changed 5 months ago by espaan
It is BTW only really minor :-)

Problem with secure host and creating new content

if i have
System->Settings->Security Settings -> "Secure host name"
set at all then when i go to add content (by selecting the type of content from the list (IE: HTML Text, Youtube video, etc), and i always get redirected to
http://index.php/?module=Content&type=edit&func=newcontent&pid=2&cai=0&position=0 or similar. cant add stuff

-- orig 64 by Kylegio

Changed 20 months ago by herr.vorragend

Milestone set to unassigned
comment:2 Changed 4 months ago by craigh

Status set to pending-review
I think this is a core issue. I thought I remembered Drak mentioning something to me about this issue wrt the core. can you confirm the behavior still exists in the newest versions of Content and Core (GIT)
comment:3 Changed 4 months ago by drak

The issue I am referring to is http://code.zikula.org/core/ticket/2975 I am not sure it's the same.

Permissions in Content Menu Block

I am using the Content Menu Block as a hierarchical menu for my site. I would like to be able to set permissions so that I can use the permissions to determine which groups can or cannot see specific menu selections. As an example, I would like members of our organization to be able to see the minutes of past meetings but would like to make sure that non-members to do not see the minutes.
Website: www.tebrotherhood.org
In advance, thank you,
Stephen

--orig 70 by cheshire

Changed 20 months ago by herr.vorragend

Milestone set to unassigned
comment:2 Changed 19 months ago by rallek

Cc rallek added
I have a workaround: Use menutree and call the content node you want. Documentation inside the content.php of menutree
With menutree you can control the menu permissions.
This is only an optical workaround, because the useres can call the id of every content page. The permissions of content need a renew at all...
comment:3 Changed 8 months ago by espaan

Milestone changed from unassigned to 4.1.0
comment:4 Changed 8 months ago by espaan

The latest Menutree does have a plugin option to supply data from modules. Not sure if Content is already in there. Otherwise that might be the way to go, since the menutree menus are much more powerful then the menu in Content.

make secondary categorie with ajax unvisible

on pages with a lot of categories it would be nicer to make the secondary categories unvisible by ajax like stuff in other modules.

--orig 104 by rallek

Change History
comment:1 Changed 18 months ago by rallek
■Priority changed from major to minor
comment:2 Changed 13 months ago by espaan
See also #16 on making the categories more configurable.

comment:3 Changed 12 months ago by espaan
■Milestone changed from 4.0.0 to 3.2.0
This can be done rather straigt forward with some javascript and minor template adjustement.

comment:4 Changed 12 months ago by espaan
Secondary caregory can be switched of now if not needed. The template contains a parameter repeatColumns in content_edit_editpage.html. Search for repeatColumns='0'. When needed this can be adjusted to a higher value and then the checkboxed will be listed in colums.

comment:5 Changed 12 months ago by espaan
■Milestone changed from 3.2.0 to 3.2.1
The ajax part is for the next release

comment:6 Changed 8 months ago by espaan
■Milestone changed from 3.2.1 to 4.1.0

Versioning: show differences

-- orig 243

Reported by: pnFilip Owned by:
Priority: major Milestone: 4.1.0
Version: GIT 4.x Keywords: versions
Cc: Status: pending-review

Description ¶
It would be great to have the option to show the differences between 2 versions of a page, like in the Cozi tracker, additions in green and deletions in red.

Reason¶
It is painful to read all available versions of a page in order to point their differences.

Small patch¶
in the file "templates/admin/history.tpl" line 30, please correct the date format modifier like: {$version.date|dateformat:'datetimebrief'}

Make functionality or a plugin with a partial display and readmore (like News)

--orig 242

Reported by: espaan Owned by:
Priority: minor Milestone: 4.1.0
Version: GIT 4.x Keywords:
Cc: Status: pending-review

Description ¶
phenomenon¶
See also http://support.zikula.de/index.php?module=CMS_Support_Forum&func=viewtopic&topic=30721 in german that is.
The request is to use Content, but sort of similar to News with a partial display of the Page or ContentItem? and a "read more" link for the full article. This would give website users the chance to use only Content and still use a News kind of display on the Start page.

reason¶
Content could be the only module used on a website and replace News for simple article usage.

recommendation¶
FInd a way to implement the above

Add ajax enabled flags for (in)active & visibility on content items

--orig 206 by espaan

phenomenon¶
The content items can become active/inactive and a commit is being merged where the contentitems can be set to visible for everybody/members/non-members. It would be great is this can be changed on the edit page screen and in the "page edit mode" with some ajax stuff

reason¶
Easier modification of these settings for content items.

recommendation¶
Add ajax enabled flags for these settings.

Attachments

Change History
comment:1 Changed 8 months ago by espaan
■Milestone changed from unassigned to 4.1.0

replace Admin page list with native tree (like categories)

--orig 232 by craigh

Reported by: craigh Owned by:
Priority: major Milestone: unassigned
Version: 3.1.0 Keywords:
Cc: Guite, halbrooktech, mrtux, espaan, herr.vorragend, rallek, jusuff Status: pending-review

Description ¶
phenomenon¶
The newest implementation of the Category tree (in the category) module is quite nice and I think it might be a good idea to move the Content admin page view to this model. All the current functionality could be easily maintained I believe, although the look would be different. There would be no columnar display as there is now, just a tree view. The upside would be that the page wouldn't have to reload every time you change something and it would be using zikula-native tech.

I would like some feedback on this. I also probably would need help with implementation from Jusuff (who is pretty darned busy). So this may have to wait until the next version...

Attachments

Change History
comment:1 Changed 5 months ago by espaan
Interesting. Although I think the column structure with info and active/menu iconbuttons is highly appreciated by users. Of course a non-reloading would be nice, but that
also means that all pages are loaded in the page list. For some projects this could be a lot. So for me I would vote for keeping the current tree.

comment:2 Changed 5 months ago by mrtux
I don't know the Zikula 1.3 category stuff, but in the content module it's not just the tree. The meta information and toggles are also very important.

comment:3 Changed 5 months ago by craigh
all pages are not loaded now? what happens?

please look at the new (1.3) category module interface. and then comment.

as I said, all the current functionality would need to be maintained.

comment:4 Changed 5 months ago by jusuff
I think that tree view in main content view is good idea.
Content has tree-like structure so it would be quite natural to implement there tree view. All other is the matter of interface.
If loading all pages each time would be some problem - zikula javascript tree class could be extended and customised to load items on expanding via ajax. This would require more work - but it's possible to be done.

comment:5 Changed 5 months ago by espaan
As long as we can keep the current functionality with displaying the information than I would agree with a new tree implementation as well.
I don't know if loading in all pageinfo would (since you display dynamically) slow down things. It might be very doable with the new zk ui tree implementation.

Last edited 5 months ago by espaan (previous) (diff)

Missing layout type images

... modules\Content\images\layouttype

not equal with contents in \modules\Content\lib\Content\LayoutType

Content 4.0 -> small error when switch to 'Module Settings'

After a test Migration from zik 1.2.6 to zik 1.3 i open the content admin page.
All look fine, only in the Settings i have a small error.

"
WARN (4): E_WARNING: Invalid argument supplied for foreach() in Settings.php Zeile 26
Aktuelle Position: Administration » Content » Inhaltsverwaltung » Module settings
"

Cozi is down. I hope errors in this issue is o.k.

Great job, thx

Menu block with flyout / collapsable tree capabilities would be great

A menu block with fyout or a nicer collapsable tree of pages would be great.
Menutree also has capabilities of displaying items from other modules, so maybe it is redundant. But nevertheless, Content has little extras to offer in blocks etc at the moment.

--orig 143 by espaan

Change History
comment:1 Changed 8 months ago by espaan
■Milestone changed from unassigned to 4.1.0

Advanced workflow integration

--orig 178 by pnfilip

It seems that Content needs the implementation of the Zikula workflow system.

reason¶
In order to delegate the page creation and also provide a good quality of content, several persons are involved in the process of creating/updating a page. That's why for an easier document management (avoid e-mailing word documents, record changes, ...) states of creation could be associated to each pages.

recommendation¶
•3 basic states should be considered at first: created, revised, approved.
•By default, the page is not online and can only be previewed if you have edit rights minimum.
•Each step could have a color associated in order for the revisers or the approvers to clearly identify the documents in the list.
Attachments

Change History
comment:1 Changed 10 months ago by espaan
■Milestone changed from unassigned to 3.2.1
comment:2 Changed 8 months ago by espaan
■Milestone changed from 3.2.1 to 4.1.0

Make a mailz plugin

--orig 246

Reported by: espaan Owned by:
Priority: minor Milestone: 3.2.2
Version: GIT 3.x Keywords:
Cc: Status: pending-review

Description ¶
phenomenon¶
The mailz newsletter uses a plugin system to include new content/articles in the newslettern. Content could also provide somehting like that based on the last created pages.

reason¶
Newsletter functionality for Content

recommendation¶
Check out the mailz api plugin in News and implement somthing similar in Content

Attachments

Change History
comment:1 Changed 3 months ago by espaan
See also: https://github.com/zikula-modules/News/blob/master/src/modules/News/lib/News/Api/Mailz.php

of the code of the News26x version for zkcore12x

comment:2 Changed 3 months ago by craigh
is Mailz even 1.3 compatible?

comment:3 Changed 3 months ago by espaan
Not sure to be honest. It might very well be compatible. So that is why I listed it for 3.2.x release at first.

comment:4 Changed 3 months ago by craigh
I thought dev on the 3.2.x branch would end at 3.2.1 ;-)

sth saved when clicking cancel

if you click add module display for example and then you click cancel and nothing was entered - the content element is created.
i think if you do not enter anything in the new content type and click cancel afterwards the element should be deleted.

-- orig 14 by quan

Changed 20 months ago by herr.vorragend

Milestone set to unassigned
comment:2 Changed 19 months ago by rallek

Cc rallek added
comment:3 Changed 13 months ago by espaan

Milestone changed from unassigned to 3.2.0
So very true. Cancel should not create anyting in my opinion as well.
comment:4 Changed 13 months ago by espaan

It is difficult to implement, since the "create" function is actually just the edit function. Clicking on cancel is then the same as not changing an already existing content item. So could be proven hard to get right.
comment:5 Changed 12 months ago by espaan

Milestone changed from 3.2.0 to 3.2.1
I think this will be too hard to get in now. It really requires some rewrite, so I shift it to 3.2.1 to look at later.
comment:6 Changed 8 months ago by espaan

Milestone changed from 3.2.1 to 4.1.0
Since it requires a workflow change relayed to 410

translate everything

Hello,
I don't known if it's possible but it could be good to have the possibility to translate everything.
For example, i display a video from youtube into a page but i've this video in different languages, actually we can't "translate" this video so if i want to display the video into every language i must add on the same page the video for every language.

-- orig 25 by yokav

Scribite editor plugins for selecting links to Content pages

Like CoType: a popup where you select a page and then it pastes a link into the HTML code (maybe even using a special syntaxt that allows for post-processing where the current page title is inserted in the link).

-- orig 12 by Jorn Wildt

Changed 2 years ago by hilope

Cc hilope added
comment:2 Changed 20 months ago by herr.vorragend

Milestone set to unassigned
comment:3 Changed 19 months ago by rallek

Cc rallek added
If the logic of needles by multihook is used but a linkd is included (instead the needle syntax) it will do the trick.
comment:4 Changed 13 months ago by espaan

Or a plugin like the one for pagesetter could be used. Shouldn't be that hard I hope.
comment:5 follow-up: ↓ 6 Changed 9 months ago by espaan

Milestone changed from unassigned to 4.0.0
in the current code there is a way provided, see also #137, you can use the following in teh code, there is however no scribite plugin for that.
[[link-CONTENT_ID|some link title]] or [[link-CONTENT_ID]]
comment:6 in reply to: ↑ 5 Changed 9 months ago by rallek

Replying to espaan:
there is however no scribite plugin for that.
But exactly that is the feature request ;-)
comment:7 Changed 8 months ago by espaan

Milestone changed from 4.0.0 to 4.1.0
Indeed :-D Will put it to 410, since 400 is intended to be a fully functional Content in the zk1.3 codebase. Enhancements come after that.

Make a "current page highlighting" in the TOC plugin

--orig 249

Reported by: espaan Owned by:
Priority: minor Milestone: 3.2.2
Version: GIT 3.x Keywords:
Cc: Status: pending-review

Description ¶
phenomenon¶
See also: http://community.zikula.org/module-Forum-viewtopic-topic-58526-start-0.htm. The table of contents plugin can be enhnaced with a current page highlighting option.

reason¶
More clarity in the toc list

recommendation¶
Add some identification for the current page, Bold, extra arrow infront, etc.
Add this in the 32x branch and the 4x branch

Add "make inactive" action in the inline page edit mode

--orig 207 by espaan

phenomenon¶
For easier access to the inactive state of a page it can be added to the inline page edit mode. So a page can be made inactive on the fly, you dont have to go to the pageList.

reason¶
Easier de-activating of a page

recommendation¶
Add an action to the page edit mode

Attachments

Change History
comment:1 Changed 8 months ago by espaan
■Milestone changed from unassigned to 4.1.0

Update vimeo plugin to support new embed code with html5

--orig 152 by espaan

phenomenon¶
Vimeo has released new embed code to support html5, which helps out for iPhone users
Example:

<iframe src="http://player.vimeo.com/video/10875951" width="400" height="225" frameborder="0"></iframe>

At the Top of the Tallest Mountain in the World from Matt Reynolds on Vimeo.

reason¶ recommendation¶ Update the Vimeo plugin with the new embed code

Attachments

Change History
comment:1 Changed 8 months ago by espaan
■Milestone changed from 4.0.0 to 4.1.0

category tree for pages

I use a category tree as "main content module" and Content to fill the leaves.
Here are my functions (API, plugins) for that. Feel free to add to the distribution or change at will.
usage in a template:

(BTW pnpageapi has really confusing function names!)

Changed 3 years ago by Hraban

attachment function.category_info.php added
plugin: get information for one category
Changed 3 years ago by Hraban

attachment function.getcategoriesforpage.php added
plugin: get secondary categories of a Content page
Changed 3 years ago by Hraban

attachment pncategoriesapi.php added
API functions (implemented missing option)
Changed 3 years ago by Hraban

attachment function.pagetreeforcategory.php added
plugin: get nested list of categories with pages (fixed hardcoded language code)
comment:1 Changed 20 months ago by herr.vorragend

Milestone set to 3.1.0
comment:2 Changed 20 months ago by herr.vorragend

Milestone changed from 3.1.0 to unassigned
comment:3 Changed 9 months ago by espaan

Milestone changed from unassigned to 4.0.0
Nice feature I think. Have to see to get this into 400
comment:4 Changed 5 months ago by craigh

Status set to pending-review
Hraban,
I'm looking at including this (finally :P )
I'm wondering if you are still using Zikula and Content. Have you made any modifications to this patch in the last 2 years? are you even subscribed to this ticket?
comment:5 Changed 4 months ago by craigh

Milestone changed from 4.0.0 to 4.1.0
I managed to contact Hraban via email. He has moved on from Zikula (to Django) and is not interested in this any longer. I wonder if the feature request should be closed entirely or if this is a worthwhile endeavor. The supplied code is too old to directly add to the module at this point, so if the feature is desired, new code would be required as well.
input requested.
comment:6 Changed 4 months ago by espaan

It might be worthwhile to leave it for 4.1 or 4.2 indeed. It is still a nice idea to have different ways of applying Content.
But maybe wait for other users.

Plugin "Page navigation" is sometimes not shown

-- orig 245

Reported by: rallek Owned by:
Priority: major Milestone: 3.2.2
Version: 3.2.0 Keywords:
Cc: Status: pending-review

Description ¶
phenomenon¶
13 pages with not continous ID should get the plugin. In some cases it is working fine. "zurück", "Übersicht" and "vor" are shown. All three are working fine.

In some cases the "Übersicht" don't get the pid and the link is broken. Deleting and reimplementing the plugin for that page do have the same effect.

In other cases The plugin is implemented but nothing is shown on the page.

In the admin frontend in all cases the plugin is active. Most times it is only "active" and "visible for" available, sometimes (one case) there is additional selectable if there should be "beides" or "left" or "right" be active. This case is not the first or last page of the list.

And again, If I delete it and reinclude I have the same behavior

reason¶
no idea

recommendation¶
no idea

Attachments

Change History
comment:1 Changed 3 months ago by espaan
■Milestone changed from 3.2.1 to 3.2.2

Implment addresschooser with autocomplete from maptimize

--orig 157 by espaan

phenomenon¶
A nice addresschooser can be found here (MIT licensed) http://addresschooser.maptimize.com/example/with_prototype.html

reason¶
Easier choice of the location you want to show. For hte Geocoding part as an extra option besides clicking on the map

recommendation¶
Check this feature out and see if it is easy to implement.

Attachments

Change History
comment:1 Changed 8 months ago by espaan
■Milestone changed from 4.0.0 to 4.1.0

Permissions on a item by item basis

Allow fine grained permissions control so that permissions can be granted to edit say, all html text items, but not other items.
Attachments

  • - orig 99 by halbrooktech

Change History
comment:1 Changed 13 months ago by espaan

Isn't this possible already with the
'content:plugins:content' => 'Content type name::'
? I haven't tried, so not sure about it. It seems in the code that his permission is not taken into acount with newcontent and editcontent
comment:2 Changed 13 months ago by halbrooktech

If it is, then I'm not sure how to do it, and it's not well documented that I can see. I'd love to allow the staff to edit HTML & YouTube? entries, but not sure how to do that right.
comment:3 Changed 9 months ago by espaan

Hi, I think this should be possible. The code below is from the contentapi.php. The filename of the plugin, so html for the HTML text content item and youtube for the YoutTube? plugin should work as far as i can see.
if (preg_match('/^([-a-zA-Z0-9_]+).php$/', $filename, $matches)) {
$contentTypeName = $matches[1];
// check permissions for this contentType plugin
if (SecurityUtil::checkPermission('content:plugins:content', $contentTypeName . '::', ACCESS_READ)) {
$plugins[] = pnModAPIFunc($module['name'], 'contenttypes', $contentTypeName, null);
}
}
}

Wiki like features?

I've asked that quite some time ago and want to renew that request: Content is awesome and very comfortable as editor for all kinds of media and text including formating - but unfortunately it does not allow to define inside a text box a new page and when clicking on it creates a new page with that title. That would be a great feature to make zikula able to replace all the wiki's out there ...!
Attachments

Change History
comment:1 Changed 20 months ago by herr.vorragend

Milestone set to unassigned
comment:2 Changed 13 months ago by espaan

Interesting feature.
comment:3 Changed 8 months ago by espaan

Milestone changed from unassigned to 4.1.0

Add a field to the googlemaps plugin for choosing a custom marker icon

--orig 156 by espaan

phenomenon¶
The current googlemaps plugin uses the standard marker for display of the chosen location. It would be more usable to have a field to optionally choose your own image for the marker icon

reason¶
Get your own marker into the map instead of the default one.

recommendation¶
Check out the googlemaps api JS v3 on how to get a personal maker inthere.
http://code.google.com/apis/maps/documentation/javascript/overlays.html#Icons

var image = 'beachflag.png';
var myLatLng = new google.maps.LatLng(-33.890542, 151.274856);
var beachMarker = new google.maps.Marker({
position: myLatLng,
map: map,
icon: image
});

Attachments

Change History
comment:1 Changed 8 months ago by espaan
■Milestone changed from 3.2.1 to 4.1.0

inherit category of top page for subpages

if subpages are created the category of the subpage should be automatically inherited from the page one level above as standard configuration

-- orig 116 by quan

Change History
comment:1 Changed 13 months ago by espaan
Seems logical indeed

comment:2 Changed 13 months ago by espaan
On the new sub-page the categories of the parent page should be obtained through getpage and then probably with serialize transfered to the new subpage and inserted in there as base values.

enabling edit mode gives a page 404 error

--orig 258

Reported by: espaan Owned by:
Priority: major Milestone: 4.1.0
Version: GIT 4.x Keywords:
Cc: Status: pending-review

Description ¶
phenomenon¶
I'm using the current content 400 code and have shorturls activated. In that case pressing the "edit mode on" contextmenu item on a page display gives an page not found 404 error

reason¶
recommendation¶
Check this and find where the error comes from, shorturls? soemthing else? IE7 specific?

Attachments

Change History
comment:1 Changed 4 weeks ago by craigh
I cannot duplicate this. It works as expected for me. I am using FF 3.x

comment:2 Changed 38 hours ago by espaan
■Milestone changed from 4.0.0 to 4.1.0
This is indeed IE related. In FF, safari etc I dont have it. Only in IE

feature request: Show the categories of a news

I want to show the categories of the news in the content plugin. No idea how to solve.
I am using news 2.6.2 and content 3.2.2
There ist no cozi anymore and no place to create that ticket for news 2.6.2

Search function & languages

Search function apparantly only works for primary language. Translations for other languages are not included in searches.

Changed 20 months ago by herr.vorragend

Milestone set to unassigned
comment:2 Changed 13 months ago by espaan

mmhh, that is not so nice, maybe an option on the search would be handy or just include other languagesd
comment:3 Changed 9 months ago by espaan

Milestone changed from unassigned to 4.0.0
comment:4 Changed 8 months ago by espaan

Milestone changed from 4.0.0 to 4.1.0

Title tags in menu block links

It would be very useful for SEO activities to take influence on the navigation link details, like the title tag.

-- orig 54 by guite

Changed 20 months ago by herr.vorragend

Milestone set to unassigned
comment:2 Changed 19 months ago by rallek

Cc rallek added
comment:3 Changed 13 months ago by espaan

Milestone changed from unassigned to 3.2.0
What would be best in there? The page title ?
comment:4 Changed 13 months ago by rallek

have to test, may be it is already in
comment:5 Changed 12 months ago by espaan

Priority changed from major to minor
Status changed from new to closed
Resolution set to fixed
This is already in. The title is rendered in the link title tag in the Content menu
For example an menu item.

  • Content introduction page If more is needed for SEO re-open or make a new ticket. comment:6 Changed 12 months ago by Guite

    Status changed from closed to reopened
    Resolution fixed deleted
    Sorry, with "take influence" I meant something like an optional field like "navigation title" for having a title different than the link text.
    comment:7 Changed 12 months ago by espaan

    Ah ok, that makes sense, so an extra field when you add/edit pages.
    comment:8 Changed 12 months ago by espaan

    Milestone changed from 3.2.0 to 3.2.1
    I think it is better to shift it to 3.2.1 and finish of 320
    comment:9 Changed 8 months ago by espaan

    Milestone changed from 3.2.1 to 4.1.0
    comment:10 Changed 2 months ago by espaan

    Status set to pending-review
    Would it be an idea to use the new Meta tags that are now avbailabe for a page.
    So use the "description" meta tag as the title field in the menu? Or is a seperate field still usefull. That might be overkill.
    comment:11 Changed 2 months ago by Guite

    Yes, interesting idea :-)
    +1

  • customer template service

    --orig 257

    Reported by: rallek Owned by:
    Priority: blocker Milestone: 4.1.0
    Version: GIT 4.x Keywords:
    Cc: guite Status: pending-review

    Description ¶
    phenomenon¶
    today it is not possible to add a custom template. After updating content it has gone

    reason¶
    Util.php (and others?) are overwritten after updating

    recommendation¶
    images (preview) and other files are not found in the template folder of the theme or in /config. Look for a solution which do not overwrite files after updateing and place the files all at a place where they will be found by the template folder of the theme.

    Please do this before official publishing content for 1.3.x core!

    Attachments

    Change History
    comment:1 Changed 6 weeks ago by craigh
    perhaps it is a language translation problem here, but I don't understand what you are trying to say.

    As I understood it, it never was possible to add custom templates directly as it was possible with ContentTypes? - e.g. adding them to a module, etc.

    it has always been required that custom templates be added to the Content module directly. this is still the case. But because the loading mechanism has changed, there is no auto-recognition of templates (or of ContentType? for that matter). You must register them in the event listener.

    comment:2 follow-up: ↓ 3 Changed 6 weeks ago by espaan
    I think Craig is right here. Templates need to be placed inside Content. What indeed has changed is that the recognition of layouttemplates (and contenttypes) is not done with a directory scan any more, but with the new event system. New templates therefore have to be added to the list that Content supplies.
    If you add a new template inside Content you can add them to the list in
    https://github.com/zikula-modules/Content/blob/master/src/modules/Content/lib/Content/Util.php

    But indeed with an upgrade you lose the newly added template again. I do realize that this is different than before and we have to think of a way to circumvent this in some way.

    comment:3 in reply to: ↑ 2 Changed 6 weeks ago by rallek
    Replying to espaan:

    But indeed with an upgrade you lose the newly added template again. I do realize that this is different than before and we have to think of a way to circumvent this in some way.

    This exactly my concern. In the past it was possible to add my own templates. They are still working after an upgrade. I have placed several customized and own templates in my current site. My proposal is now to have an official way how to add own templates.

    An idea as a compromize is to add a service for an additional optional file e.g. Util-site.php, which is not in the package. In the package you can deliver Util-site-example.php. That shows how the Util-site.php should look like.

    But I would prefer to add the whole package of files outside of content e.g. at /config/content/... Than a clean way for an upgrade is possible (deleting old /modules/Content and add the upgrade package).

    comment:4 Changed 6 weeks ago by craigh
    ■Milestone changed from 4.0.0 to 4.1.0
    The old method is no longer available. we'll need to come up with something else. I don't see that happening before release of this version. I can tell you that when I was working on this area, I worked very hard to implement something like you are requesting and it was quite difficult. I think there are some ideas in my head that I hadn't considered then that might work, but again - not in 4.0.0. I would like to get this out ASAP. One thing that does need to be done is documenting how it can be accomplished currently.

    comment:5 Changed 6 weeks ago by espaan
    I agree, when 1.3 is out a 400 Content version should follow closely. For basic usage (so no personal templates) it all works ok. For 410 we have to think of a way to have the old behavior again.
    I was also thinking of a Util-personal.php kind of way. To check if that file is there. But I agree that it would be nice to place personal or personalized templates outside Content as an addition or override.
    But as Craig said this is quite hard in the layout/templating system in Content. It is by far not a simple template override.

    The major difference with the past is that with directory scanning you just add a template and it works out of the box, with the new Util.php method for Events at least one extra step is needed. Maybe an inline help message could be made somewhere in the admin settings on personal templates. Or a path where personal templates can be found??

    Add GeoCoding to the googlemap plugin location specification

    --orig 151 by espaan

    phenomenon¶
    Making a googlemap content item requires clicking on the exact location where you want the map to show. A more convenient way would be to allow entering an address and translate that into the lat and long values.
    See http://code.google.com/apis/maps/documentation/javascript/services.html#Geocoding

    reason¶
    usability of the googlemap plugin

    recommendation¶
    Add an option of some sort in the edit section of the googlemap plugin to choose between lat/long coordinates or an address.

    Attachments

    Change History
    comment:1 Changed 8 months ago by espaan
    ■Milestone changed from 4.0.0 to 4.1.0

    Google Map module showing wrong content

    -- orig 255

    Reported by: Mr.Montesa Owned by:
    Priority: major Milestone: unassigned
    Version: 3.1.0 Keywords:
    Cc: Status: pending-review

    Description ¶
    phenomenon¶
    Google Maps showing wrong content if two Maps are configured on the same page.

    reason¶
    I think there are some settings applied to the second map, that are meant for the first.
    Grabing global config instead of local-

    reproduce¶
    •Create a new content page.
    •Add two Google maps views. In my test I used two places within the same city
    •Save and view Both are showing the same location but different places are configured.
    Reproducable on zk: 1.2.7 / content 3.2.0 and zk 1.3.dev / content 4.0.0

    Can be seen on my testpage:
    1.3: http://www.eis-flamme.de/index.php?module=content&type=admin&func=editContent&cid=8&back=1

    And 1.2.7: http://www.amc-idstein.de/index.php?module=Content&func=view&pid=8

    If you need anything, let me know.
    BR

    Attachments

    Change History
    comment:1 Changed 2 months ago by espaan
    Hi,

    that sound not good of course. I have tested the google maps, but not with 2 maps afaik. Have to test and
    see what is wrong here..

    Every plugin should have its own variables and settings, but maybe the Javascripts part of getting the coordinates is not going ok and need some additional contentitemid in there to prevent accessing the wrong fields. Just thinking out loud now.

    remove use of Portal.js and replace with Zikula native libs

    --orig 253

    Reported by: craigh Owned by:
    Priority: major Milestone: 4.1.0
    Version: GIT 4.x Keywords:
    Cc: jusuff Status: pending-review

    Description ¶
    remove use of Portal.js and replace with Zikula native libs

    I'm hoping jusuff can do this for us for the next version :-D

    Attachments

    Change History
    comment:1 Changed 2 months ago by espaan
    Would be great yes ! The portal is an older JS files and difficult to maintain and extend.

    comment:2 Changed 2 months ago by jusuff
    I would be pleased to take care of this, but right now I can not say when I will be able do this. For sure not in next 2-4 weeks.

    comment:3 Changed 2 months ago by craigh
    I was hoping sometime in the next 3-6 months :-)

    comment:4 Changed 2 months ago by jusuff
    Uff - I was afraid that this is something urgent :) Then I can take this ticket.

    Recommend Projects

    • React photo React

      A declarative, efficient, and flexible JavaScript library for building user interfaces.

    • Vue.js photo Vue.js

      🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

    • Typescript photo Typescript

      TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

    • TensorFlow photo TensorFlow

      An Open Source Machine Learning Framework for Everyone

    • Django photo Django

      The Web framework for perfectionists with deadlines.

    • D3 photo D3

      Bring data to life with SVG, Canvas and HTML. 📊📈🎉

    Recommend Topics

    • javascript

      JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

    • web

      Some thing interesting about web. New door for the world.

    • server

      A server is a program made to process requests and deliver data to clients.

    • Machine learning

      Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

    • Game

      Some thing interesting about game, make everyone happy.

    Recommend Org

    • Facebook photo Facebook

      We are working to build community through open source technology. NB: members must have two-factor auth.

    • Microsoft photo Microsoft

      Open source projects and samples from Microsoft.

    • Google photo Google

      Google ❤️ Open Source for everyone.

    • D3 photo D3

      Data-Driven Documents codes.