PDA

View Full Version : content_blog_category parameters disappeared


henmue
October 8th, 2004, 06:37
hi there!
in the step from 4.5.1 to 4.5.1a menu-components´ content_blog_category and content_blog_category_multi have been merged. two parameters of content_blog_category disappeared with this change: "description" and "description_image". this results in a image error in the blog html, because content.php sets "true" per default to description_image, even if there is no image selected.

to circumvent this error i inserted


<param name="description" type="radio" default="0" label="Description" description="Show/Hide the Category Description">
<option value="0">Hide</option>
<option value="1">Show</option>
</param>
<param name="description_image" type="radio" default="0" label="Description Image" description="Show/Hide the Category Description">
<option value="0">Hide</option>
<option value="1">Show</option>
</param>


from 4.5.1 into content_blog_category.xml of 4.5.1a. is that legal? it seems to produce no misbehaviour.

greetz

stingrey
October 8th, 2004, 06:53
You are correct - I accidentally killed those two parameters in the xml file in amalgamating multiple categoer/section support into the blogs :(


Your fix is correct and will work fine :D
Thats exactly how its been fixed in 4.5.2 CVS

henmue
October 8th, 2004, 07:09
@stingrey

ok! my brain is still working. ;)

csm
October 9th, 2004, 21:00
I looked at the file and it's not obvious to me where to place the corrected text. Clues?

noobnuggets
October 12th, 2004, 13:00
this fix also needs to be done to content_blog_section.xml, since section links have the same image issue.

@csm, I would suggest putting the lines in around line 69 of the file, which will put options just under the category name, and category name linkable options.

Happy hacking!

stingrey
October 13th, 2004, 03:17
If your not sure about where exactly to put it, simply unzip the attached file and ftp onto your site and overwrite the existing:

The files go into

/administrator/components/com_menus/content_blog_category/content_blog_category.xml
&
/administrator/components/com_menus/content_blog_section/content_blog_section.xml



EDIT:
The file is now available here:
http://mamboforge.net/frs/?group_id=5

solsikkehaven
October 13th, 2004, 04:24
stingrey:

You should consider putting the patches also on mamboforge

I have spotted at least 3 patches now, only one is on mamboforge.net ?

stingrey
October 13th, 2004, 05:53
You should consider putting the patches also on mamboforge

I have spotted at least 3 patches now, only one is on mamboforge.net ?
Done.


Announcement:
http://forum.mamboserver.com/showthread.php?p=96956#post96956

Download:
http://mamboforge.net/frs/?group_id=5

donaghy
November 5th, 2004, 08:44
hmmm.. what I doing wrong here.. downloaded this... and still getting the broken image on the category and section blogs.

http://new.cj-8.com

under project jeeps..

noobnuggets
November 5th, 2004, 13:03
you have a diiferent problem. You are missing an image for your template. This is the path it is looking for the image under: templates/akogreenportal/images/indent1.png Just make a little image for your submenu, and put it in that dir.

Zoool
November 25th, 2004, 12:52
the patch fixes the bug, but opens a new bug:

The Show/Hide pdf icon button got lost.

there's missing the following code in both .xml files. The xml files are taken from this release: Mambo_4.5.1a_Blog_Param_Bug_Patch.zip


<param name="pdf" type="list" default="" label="PDF Icon" description="Show/Hide the item pdf button - only affects this page">
<option value="">Use Global</option>
<option value="0">Hide</option>
<option value="1">Show</option>
</param>

eric_brissette
November 29th, 2004, 10:05
Am I the only one who still has the problem after applying the patch (Mambo doesn't seem to want to obey the new settings)

http://forum.mamboserver.com/showthread.php?p=117761&posted=1#post117761

efrog
January 7th, 2005, 03:04
Though I am not experiencing this issue, I would also like to know. Thanks!
:D
~Kimberly

digidydave1
January 16th, 2005, 00:33
Hi everyone. I uploaded the patch, but am also still experiencing the broken image on blog pages in IE.

Are other changes required besides uploading these files? Much thanks!

dg

digidydave1
January 16th, 2005, 00:39
Just an FYI, in addition to uploading the patch, this patch requires going to the blog category or blog section menu item and resaving the menu item.

Adios.

dg

theconsul
January 28th, 2005, 10:14
after applying the patch the problem still remains...with me...

theconsul
January 28th, 2005, 10:32
i deleted all links to the blog categories and made me some new ones

the image disappeared so that is good.

but

before i had the content from the categorie that was displayed and now i only get the articles..did i do something wrong or what happened?

tc

brochhau
March 3rd, 2005, 17:39
i deleted all links to the blog categories and made me some new ones

the image disappeared so that is good.

but

before i had the content from the categorie that was displayed and now i only get the articles..did i do something wrong or what happened?

tc

I have the same problem. Resaved all menu items, broken image is gone, but category description left as well.

Scott
Internet-Bargains.com (http://www.internet-bargains.com)

brochhau
March 4th, 2005, 08:28
Ahh, fixed. Edit Menu Item / Parameters / Description / Show.

Scott

TrendyMagic
August 11th, 2005, 05:07
you have a diiferent problem. You are missing an image for your template. This is the path it is looking for the image under:

templates/akogreenportal/images/indent1.png

Just make a little image for your submenu, and put it in that dir.


Thankfully mine was just this simple. I uploaded the images, indent1,2,3,etc. and everything worked fine.

You can find the reference to the images in the file: modules / mod_mainmenu.php