Features:
System Requirements:
|
Submitter: kerkyra
Publisher: Konstantinos Ksilas
Released: 2008/10/24
Version: 1.4
Release Status:
Downloads: 10823
File Size: 951 B
Home Page: Guidemap.gr
Rating:
![]() Reviews: ![]() Mirrors Available: 0 Download Times:
Modem(56k) : 0.15s
ISDN(64k) : 0.13s DSL(768k) : 0.01s LAN(10M) : 0.00s |
||||
Price: Free |
Platform: 2.5 |
License: GNU General Public License (GPL) (v. 2.0) |
Limitations: None
|
|||||
Calendar
(2011/08/23)
|
Author | Thread |
---|
ok, i'll try!!i sent you my translation
I encountered a SQL error in the version I downloaded today. In ct_navigation.php I changed line 22 to
$result = $xoopsDB->query("SELECT child.link, child.storyid, child.blockid, child.title, child.visible, child.parent_id, child.address,CASE parent.parent_id WHEN 0 THEN parent.blockid ELSE child.blockid END 'menu_block', CASE child.parent_id WHEN 0 THEN child.storyid ELSE child.parent_id END 'menu_id', child.newwindow FROM ".$xoopsDB->prefix('content')." child LEFT JOIN ".$xoopsDB->prefix('content')." parent ON child.parent_id = parent.storyid WHERE child.visible='1' ORDER BY menu_block, menu_id, parent_id, blockid");
There is just a comma missing after 'menu_block'. This was preventing the Content Menu block from drawing anything.
i try to change "edit_content.php" but it does not work :(
this time with firebug ( javascript debugger ) i obtain this error while try to edit/copy/remove content by user ( with the four yellow icon ) while i does not happen with the same icon on the admin side.
xoops 2.3.3 php5 mysql5
Permission denyed to obtain the property XULElement.accessibleType
openEditWindow("http://palocco.jalone.net/modules/content/admin/edit_content.php?id=1&return=1&showshort=1")content (riga 282)
onclick(click clientX=352, clientY=210)hHoIZd3S...MHQ%3D%3D (riga 2)
[Break on this error] editwin = window.open(filePath,'editw...bar=0,menubar=0,width=640,height=640');
Hi guys!
I try Content module and found it very usefull
but i have a big trouble. Content pages i've been created does'nt adds to Mainmenu. So i can not access to any content from the site. Help me pls.
xoops 2.3.3 PHP Version 5.1.6 MySQL 5.0.45
you need to enable the menu block which comes with the module. Content doesn't use the original menu that comes with XOOPS mate. If you are indeed using this block, set the content permissions of your content.
i don't know the reason but now it works... and without any changes or cache...
:)
I've have a strange problem with Content 1.3.2 (with XOOPS 2.3.3), I have no problem adding content, but editing fails on a few items with the following problem: Error with updating database!
Strange thing is, when I add more content it's not to say what content will be editable or not. It's random. I looked at the content table in mysql and I don't see strange things there. It was a fresh Content install btw.
I have updated the module mate. I think it should be working now without the 'edit' problem. I have also added the ability to add a page description and keywords for SEO. You will need a fresh installation though for it to work because the database is changed now.
However you could just add those two fileds via phpmyadmin in the content table
`keywords` longtext,
`page_description` longtext
and just overwrite the rest of the files in the old content folder.
Thanks! It works like a charm now
Page permissions don't seem to work. Groups, including anonymous, can access pages by typing in the URL even when they are set to not have access in the page permission view.
Fixed mate! Can you download and check now?
Greetings! I just downloaded this module this morning and installed it into a fresh install of XOOPS that I installed yesterday. The install went fine and adding content works fine. However, I have a problem when I edit content. The page loads fine, but for some reason the "Submit" button is missing at the bottom of the page! I thought this was pretty bizarre! Anyone seen anything like that before?
I tried to turn on debugging, but then when I try to edit a page all I get is a white screen. This module looks great, but I need to be able to edit! If you have any ideas, let me know. Thanks!
Didn't have time to test it yesterday, but hopefully tonight.
If you feel like developing the module a bit more, I think page based edit permissions would be really nice
(as opposed to now where you have to give a user full admin control to the module for them to edit content)
Yes, now it works. Thanks for that fix.
However, a word of WARNING: Do not try to upgrade your existing module. When I did that all content went missing (and couldn't be edited or viewed by admin either) and there were several errors when trying to write to the database with modified or new content.
I already commented on this mate! But its a good thing to be clear with this.
Quote:
I have updated the module mate. I think it should be working now without the 'edit' problem. I have also added the ability to add a page description and keywords for SEO. You will need a fresh installation though for it to work because the database is changed now.
However you could just add those two fileds via phpmyadmin in the content table
`keywords` longtext,
`page_description` longtext
and just overwrite the rest of the files in the old content folder.
My bad. Sry.
Seems the "Content menu" block isn't working. All I'm getting is "Add main menu item", regardless of content already there and permissions set.
For some reasons, links doesn't seem to work. The page just shows the link as text, but doesn't redirect to the page. Am I missing something obvious?
you mean if you add a link (content item) or when you insert a link in your content?? Can we see this in action??
I mean when I add a link as content item (as opposed to content or pagewrap). All I get is a white page with the actual URL displayed as text on the page.
I can upload an image when I get home (but I don't think that will help you much).
OK, I've checked the code of the index.php file and at least to my uninitiated eyes it is truly a mystery how anyone can get the links to work. If you look at line 92, which is the code that is executed, all it does is print the address and exits! No wonder that's exactly what I get.
Shouldn't there be some kind of redirect there and some kind of connection to the module parameter?
actually mate the links are supposed to link somewhere. Their purpose in the module is to have an external link in the dhtml menu, where the user clicks and visits an external or even internal page, if you want to make a redirect or something like that, you need to add a 'content' page not a 'link' page and in the content, view source code and add the javascript redirect code in the source. Save and thats it.
D-oh! Of course, it only works from the menu block and not the page itself. Thanks for setting me straight
(I only intended to use it from the block, but for some reason I decided to test it from the actual page first)
hallo there i have made an update to the module. The new version is 1.32.
There have been a few bug correction in this release
1. breadcrumbs not showing
2. There seemed to be a conflict resulting to a blank screen if you selected plain text editor (or not wysiwyg in version 1.3) which is now corrected.
3. Furthermore instead of selecting if you are gonna use wysiwyg editor or not, i replaced that option with a list of available editors of XOOPS to choose which one you prefer to use.
It has been also tested with XOOPS 2.4.1 and 2.3.3 and seems to be working.
The download link is the same i just replaced the file.
I think someone should update the version number in the module repository and the platform.
Please update your current version with this one and let me know of any problems or not.
I am having trouble when I try to embed windows media,
the code I need to work with both IE and Firefox is
<object id="mediaplayer" classid="clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#version=5,1,52,701" standby="loading microsoft windows media player components..." type="application/x-oleobject" width="320" height="310">
<param name="filename" value="http://www.familylifetv.com/VOD/FLTVLive.asx">
<param name="animationatstart" value="true">
<param name="transparentatstart" value="true">
<param name="autostart" value="true">
<param name="showcontrols" value="true">
<param name="ShowStatusBar" value="true">
<param name="windowlessvideo" value="true">
<embed src="http://www.familylifetv.com/VOD/FLTVLive.asx" autostart="true" showcontrols="true" showstatusbar="1" bgcolor="white" width="320" height="310">
object>
<object classid="clsid:6bf52a52-394a-11d3-b153-00c04f79faa6" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" height="310" id="mediaplayer" width="320">
<param name="filename" value="http://www.familylifetv.com/VOD/FLTVLive.asx" />
<param name="animationatstart" value="true" />
<param name="transparentatstart" value="true" />
<param name="autostart" value="true" />
<param name="showcontrols" value="true" />
<param name="ShowStatusBar" value="true" />
<param name="windowlessvideo" value="true" />
<param name="bgcolor" value="white" />
<param name="url" value="http://www.familylifetv.com/VOD/FLTVLive.asx" />
object>
Good work with the module Kerkyra. I will probably end up using this for a new site
Really like the advanced permissions too.
thanks mate! hope it helps you :)
I know I've seen reference to this problem somewhere on the XOOPS site, but I haven't been able to find it.
When I edit a page, using Content 1.32, it enters additional / characters in front of any " that are present (and there are lots of those around values like image names, etc.). Here is a short snippet of what the source code ends up looking like:
<p style=""> <img alt=""N." height=""235"" src=""http://www.aka.org/UserFiles/Image/nwk_img/fusco_oval.png"" width=""350"" /> Arial,Helvetica,Geneva,Swiss,SunSans-Regular""">NWK is a new affiliate club of the American Killifish Association. Our intent is to represent the interests of killie keepers of the Pacific Northwest region of the United States, and beyond.
Arial,Helvetica,Geneva,Swiss,SunSans-Regular""">Membership is open to all killie people in the region and, ultimately, to anyone who is interested.
I'm struggling with the same problem. Also, when using the XOOPS image manager with TinyMCE, the images disappear when the content is saved
I managed to find the other thread that discusses this problem in the content module on 2.4.x. It is here. The last few posts in this long thread deal with the added slashes issue. I tried modifying the edit_content.php file, as suggested, and it does fix the problem. As I don't usually copy pages, I haven't changed copy_content.php. I would like to know if this raises security or other issues, however.
I am seeing a couple of other problems in Content 1.32. The option in preferences not to show the page title seems not to work for me. Second, the link title is also shown on the content page. I would prefer that not be the case. In my other XOOPS installation, running Content 1.3, the link title doesn't show. I don't understand why they are different in that respect.
Kerkyra, I'd appreciate your comments.
[Edit]I belatedly realized that what I was seeing as the link title was the breadcrumbs function and I turned that off. It still appears that if I mark No for Show Page Title in preferences, it still shows up.[/Edit]
barryc
i will try and see why this happens mate! I know i had the same problem when the addslashes configuration was on in my php. I dont face this problem any more.
I'll check the other two bugs you mention and update the link as soon as i can.
Thanks for your comments mate.
To clarify, the presence of the link title on the page was due to my having the breadcrumbs function turned on. As I had only one page set up at that time (in a new installation), I didn't realize that. I have now turned it off.
However, the page title appears even if I turn it off in prefs. I've temporarily fixed that by commenting out the code in the template file.
I'm not quite sure what you mean by having the addslasshes on in your php. Are you referring to the smartquotes in your php config file? Smartquotes is on on my server.
barryc
HI kerkyra,
How do i add fckeditor in content module 1.32.
Thanks
Mechs, out of curiosity, why would you prefer FCK to CK?
Hi Mazarin,
Only one reason. In FCK there's a universal keyboard where i can add arabic text and together with english / malay translation.
If someone can add this feature in CK also will be good enough.
Hi kayrkira you forgot stripslashes in edit-content.php and index.php.
in admin/edit_content.php in line 173 find
$editor_configs['value'] = $message;
$editor_configs['value'] = stripslashes($message);
$xoopsTpl->assign('content', $text);
$xoopsTpl->assign('content', stripslashes($text));
Hi mates,
@barryc : yes i was talking about magic_quotes values in php.ini configuration file. If it is on then php escapes quotes by default.
I added the stripslashes as ladyHacker suggested and should work now, haven't tested that myself yet.
I also fixed the show title issue, it shouldn't be showing now if is set to off in the preferences.
@Mechs : if you want fckeditor mate you'll have to add it in the /class/xoopseditor folder of your XOOPS installation and then update the module from the modules config. This should do the trick and add fck or any other editor in there.
I have updated the file with the fixed one so please be kind enough check if this one is working for you.
Thanks for your comments, hope this one works for everybody. If not we are still here to patch it up :)
I made these changes to /index.php and /admin/edit_content.php and it worked. I still have the problem on the Page Title showing on the page even if I disable that in prefs.
Thanks Ladyhacker
barryc
hi barry. download the module and replace index.php with the one in the archive. I have fixed this problem, and just tested it.
Quote:
@Mechs : if you want fckeditor mate you'll have to add it in the /class/xoopseditor folder of your XOOPS installation and then update the module from the modules config. This should do the trick and add fck or any other editor in there.
Kerkyra,
thanks. I just updated my site by uploading all files and doing an update. The addslashes problem is fixed, as is the ability to show/not show page title.
Getting close to perfect now.
barryc
Great work kerkyra! Fixed the slashes as well as my problems with disappearing slashes and small editing window in TinyMCE.
Thanks a lot!
@Mechs: you mean fckeditor is under /class/xoopseditor/ folder mate?
Try clearing the cache folder, update the module again and then go to module options and check if it is there to select...
kerkyra,
I just noticed one more problem on my installation. I didn't notice it before because I am usually logged on as admin. I am rebuilding a site that was badly out of date, now using XOOPS 2.4.4, php5, mySQL5. If I access it without logging on, I see the icon for editing the page. Clicking on it generates a message that I am not allowed access, but that icon should not appear if not logged on as admin.
You can see this by accessing http://www.aka.org/nwk1/
I'd appreciate you taking a look.
barryc
@kerkyra,
1. I took fckeditor from content v0.5 & placed it in class/xoopseditor/
2. clear all the caches in /xoops_data/caches/smarty_compile/
3. Updated the content module
4. Still doesn't show up
Since i don't have much time to check further, i use back the content v0.5 and make some changes to make it compatible with PHP 5.0
If anyone still want to use their content v0.5, feel free to download here.
No changes to the sql.
@Mechs: i think you should take the originall fckeditor from an older package of XOOPS mate. Not the one included in the older version of the module.
@kerkyra,
Thanks kerkyra, now it work & it shows in the selection, i thought both editor are the same for having the same name, never check the files inside.
I even downloaded from sf.
Unfortunately it has no universal keybord.
@barryc: i'll fix this later today and update the link mate. Sorry for the delay.
hi barry, was looking at the bug you mentioned earlier. In my pages i dont see the edit icon if not logged in? Can you check your permissions and let me know if thats it?
@barryc
Try clear all your caches first in:
/xoops_data/caches/smarty_compile/
delete all files inside the folder except for index.html
@kerkyra,
you were right, it was a permissions error on my part, due to a misinterpretation of what each category of permissions in advanced did. I fixed that.
Now, I have one more observation/small problem. I have been updating a small site for a local aquarium club and I'm using the default theme. It has a blue header bar at the top. When I access Content pages on the site, that bar is surrounded by a white margin, which is not correct. If I access a different module, that white margin is not there. You can see this by accessing http://www.aka.org/nwk. The home pages and the first three pages in the Main Menu are Content pages. Click on Forums and you will see the difference in the header.
[Edit] Looking more closely, what is actually happening is that the whole page has a white margin around it so the banner code is presumably the wrong place to look. I'll take another look at the source.
I have looked at the source for the Content pages vs that for other modules and the only differences I can see are in the customized header contents. I cannot see a difference in the code for the header itself. You can see this difference by viewing the source of these pages. I think this might be a problem relating to css but I'm not sure.
Anyway, I'd appreciate it if you could take a look at this to see if you can identify the problem. That header is incorrect only in the Content pages, while all other modules render it correctly.
Thanks for the effort you put into this module. I think it's the best one for presenting static html.
barryc
@barryc: Hey mate. I've been looking at the aquarium site but i'm not sure i got what you mean. Could you please post an image so i'd where to look exactly.
One thing i noticed is that when i visited the content pages, the logo was shown on the header whereas when i clicked on the forum link and on the news the logo is not there only the alt text is showing.
In those two pages the logo is searched in this folder
http://www.aka.org/nwk/img/header-logo_big.png
this should be in
http://www.aka.org/nwk/themes/zetagenesis/img/header-logo_big.png
not sure why this is happenning (if you manage to find out why i'm curious to know) otherwise just copy the logo in both folders.
@kerkyra,
You happened to look when I was trying the zetagenesis theme to see if the problem is theme specific. It seems to be because I don't see a problem with the zetagenesis theme. I haven't finally settled on a theme for that little site yet anyway.
I noticed the same bug in the zetagensis theme with respect to the header image. I did what you suggest, which is to have the header image in both places. I assume there is a coding error in the theme somewhere.
Now, I finally have to ask - you use the term "mate" a lot. I'm quite comfortable with that, as I grew up in Australia. I'm just wondering where you picked it up.
barryc
@barryc: I spent some time (4 years actually) in Brighton - UK during my studies so i guess i picked it up from there. I know its not american-english :)
Anyway if you switch the theme let me know so i can have a look. :)
kerkyra,
I sent you a PM.
barryc
I'll have a look on Tuesday mate and let you know.
I have spent several hours researching content modules and this one did exactly what I needed it to do!
Thanks!
glad it helped you out mate :)
I am new to Xoops and anxious to use it. I am using the content module but having problems with the menu. Are there any examples or help files?
I have entered three item, item1 connected to main menu and Item2 and Item3 both connected to Item1. All have permissions be everyone. Should I see Item2 and Item3 form the menu as sub-menu items? (I do not). Item2 and Item3 are set to new window; I have tried both for Item1 without luck and cannot see or get to Item2 and 3.
I am using 2.4.4 and Content 1.32
Thanks in advance for any guidance!
hi'
For a customized main menu, you should use iMenu module, developed by freeformsolutions.ca
you should activate the dhtml vertical menu block of the content module, not the main menu block from the system.
Thanks - I am not sure where to "activate the dhtml vertical menu block"...
The first content item (item1) has a "position" of Main Menu when looking at the Content summary page.
The next two items show the "position" as Item1.
I tried removing the pointer to Main Menu, but that generated error messages. Can you point me to the correct form?
Thanks in advance.
I tend to agree with Burning. If it's static content you're after I can wholeheartedly recommend this module, but if it's the menu features you're after I recommend a menu module.
You can try MultiMenu.
Thanks - I will check out both menu modules.
try activating it through the system->blocks admin area
kerkyra,
Many thanks! That was the piece I was missing! All working now.
glad i helped mate :)
Hi all, i updated the package, i did some minor fixes in this release. the only major thing is the upgrade.php code.
the new version is 1.33 so if someone could update it here.
Changelog
1.fixed upgrade code, so if you see the message in the admin area to upgrade the module, the link works now.
2.fixed some http_get in parts of the code.
3.added the version in the language file modinfo.php
4.deleted some junk files
thats it for now... hope it helps someone :)
I have Xoops 2.4.4
And i have some things not working. But Content seems to be exactly what i need.
Problem is items do not apear in main menu, as they should. What could be the problem?
Here are the problems while submitting new content:
Notice: Use of undefined constant imageupload - assumed 'imageupload' in file /modules/content/admin/add_content.php line 35
Notice: Use of undefined constant imageupload - assumed 'imageupload' in file /modules/content/admin/add_content.php line 37
Notice: Use of undefined constant tmp_name - assumed 'tmp_name' in file /modules/content/admin/add_content.php line 37
Notice: Use of undefined constant imageupload - assumed 'imageupload' in file /modules/content/admin/add_content.php line 38
Notice: Use of undefined constant name - assumed 'name' in file /modules/content/admin/add_content.php line 38
Notice: Undefined variable: nohtml in file /modules/content/admin/add_content.php line 54
Notice: Undefined variable: nosmiley in file /modules/content/admin/add_content.php line 54
Notice: Undefined variable: nobreaks in file /modules/content/admin/add_content.php line 54
Notice: Undefined variable: nocomments in file /modules/content/admin/add_content.php line 54
Notice: Undefined variable: submenu in file /modules/content/admin/add_content.php line 54
Notice: Undefined variable: newwindow in file /modules/content/admin/add_content.php line 54
While editing:
Notice: Undefined variable: epage in file /modules/content/admin/manage_content.php line 19
Notice: Undefined variable: nocomments in file /modules/content/admin/manage_content.php line 22
Undefined variable: submenu in file /modules/content/admin/manage_content.php line 22
Notice: Undefined variable: epage in file /modules/content/admin/manage_content.php line 19
Notice: Undefined variable: nocomments in file /modules/content/admin/manage_content.php line 22
Notice: Undefined variable: submenu in file /modules/content/admin/manage_content.php line 22
these are just notices mate.
1st check permisions for your content pages.
2nd the menu items appear in the dhtml block menu of the content module, not the main menu of the system module. Enable it through system->blocks admin
Drop us a download link please.. Sourceforge still gives 1.32 and Xoops not even..
hey mate,
this is the link to the 1.33 version, the update script is also fixed to work so that you wont have to uninstall any old version of the module to make it work, or make changes to the db manually.
hope it helps. Let me know if there is something wrong.
http://www.guidemap.gr/uploads/modules/Xoops 2_3_1_module_Content.rar
This link downloads a file labeled 2_3_1. Is it the correct one? Shouldn't it be labeled 2_3_3?
barryC
it's just the minimum xoops version with which this module is tested and works.
Ahh! OK, thanks. I do think it would be useful though to have the version number in the file name. One ends up with multiple copies downloaded and it would be nice to be able to easily tell them apart.
barryC
Seems there is a problem with advanced permissions (or maybe me ). If I had write access to a group four only a specific page, the users of that group will see the edit icon, but when the edit window opens it says they don't have access to the page.
Could it be that the edit page is actually on the admin side of the module and that they need to be global admins to be able to edit?
Fixed now. I Updated the download file mate. Please have a look and confirm tha everything is OK.
Works great now. Thanks a lot kerkyra!
nice :) i'm glad its ok now
I have just loaded this Content module into a site that I have recently upgraded to 2.5.9 under php5.5
I am getting a lot of "Only variables should be assigned by reference " errors which I don't know how to fix. Can anybody give me some guidance, please.
When I go to the module and go to Manage Content" I get (in the debug window):
Errors:
Notice: Only variables should be assigned by reference in file modules/content/admin/admin_header.php line 27
Notice: Only variables should be assigned by reference in file modules/content/admin/admin_header.php line 28
Unknown: Non-static method Database::getInstance() should not be called statically in file modules/content/admin/manage_content.php line 10
Notice: Only variables should be assigned by reference in file modules/content/admin/manage_content.php line 10
Notice: Only variables should be assigned by reference in file modules/content/admin/manage_content.php line 127
The code for these lines are:
admin_header.php
27 $groupPermHandler =& xoops_gethandler('groupperm');
28 $moduleHandler =& xoops_gethandler('module');
manage_content.php
10 $xoopsDB =& Database::getInstance();
127 $myts =& MyTextSanitizer::getInstance();
And when I go to the home page I get:
Errors
Notice: Only variables should be assigned by reference in file modules/content/blocks/ct_sitenavigation.php line 14
Notice: Only variables should be assigned by reference in file modules/content/blocks/ct_sitenavigation.php line 18
Notice: Only variables should be assigned by reference in file modules/content/blocks/ct_sitenavigation.php line 19
Notice: Only variables should be assigned by reference in file modules/content/blocks/ct_sitenavigation.php line 48
Notice: Only variables should be assigned by reference in file modules/content/index.php line 14
Notice: Only variables should be assigned by reference in file modules/content/index.php line 20
Notice: Only variables should be assigned by reference in file modules/content/index.php line 119
Best wishe
Adrian
OK got it! it is something about =& and the version on Github doesn't have that. It is still not working, but for some other reason.
Sorry to have bothered you.
Best wishes
Adrian
@ the admin side I get:
Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in W:wwwphpcmsxoops231Hebmodulescontentadminmanage_content.php on line 173
Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in W:wwwphpcmsxoops231Hebmodulescontentadminmanage_content.php on line 175
in my local test site
xoops 2.3.1
and wysiwyg is just partly English.