11
dnprossi
Re: xNews 1.68 RC1 - Bug report
  • 2010/6/18 8:55

  • dnprossi

  • Not too shy to talk

  • Posts: 107

  • Since: 2006/3/15


Hi par14h,

the errors you mention happens when one enables "Use the tags system" in xnews preferences... Set this option to NO if you dont have tag module active...

Hi oswaldo,

Thanks for your spanish translation...



12
dnprossi
Re: xNews 1.68 RC1 - Bug report
  • 2010/6/17 11:27

  • dnprossi

  • Not too shy to talk

  • Posts: 107

  • Since: 2006/3/15


@Burning

Quote:
I can not administrate Latest News block, I get a blank page


No way can't get the same issue... On new xampp Windows installation, Linux installation with xoops 2.4.4, 2.4.5, 2.5.2 - in htdocs, htdocs/xoops and htdocs/xoops/xoopsagain subdir. Latest news block works fine.

Only thing i can think of is when you activate the block you must do it from "Action/edit" menu and in edit form activate the block after having selected the "Topics to display".

Will make more tests!!!

Thanks for translation will include it in source will also look over your suggestions!!!



13
dnprossi
Re: xNews 1.68 RC1 - Bug report
  • 2010/6/16 9:45

  • dnprossi

  • Not too shy to talk

  • Posts: 107

  • Since: 2006/3/15


@Burning & @voltan:

Quote:
attach an image --> image is correctly uploaded but does not appear ? Or I have missed something ?


The image will appear if one sets "Display Topic Image?" to "yes" as with normal topic image. The topic image will be replaced by article image.

Quote:
Admin index page is very nice, much simpler to use. But if I use Oxygen layout, I can't access to index page : there is no tab for it


Oups!!! Fixing this... :)

Quote:
As JCweb, I can not administrate Latest News block, I get a blank page


I am looking at this issue but have not been able to reproduce it yet. I need to try this on windows server. So i'll make a new install on wamp as your specs.

Tracking it down though and will let you know as soon as possible!!

Thanks....




14
dnprossi
Re: xNews 1.68 RC1 - Bug report
  • 2010/6/16 9:31

  • dnprossi

  • Not too shy to talk

  • Posts: 107

  • Since: 2006/3/15


Hi guys, thanks for bug reporting. :)

@ noo-b:

PDF creation is not yet admin configurable but will be soon.

For now you will have to copy your logo image file in:

"yourxoopsroot/Frameworks/tcpdf/images"

Then you need to change your makepdf.php file in yourxoopsroot/modules/xnews/makepdf.php file where from line 147 you will find:

// set default header data
$pdf->SetHeaderData(PDF_HEADER_LOGOPDF_HEADER_LOGO_WIDTHPDF_HEADER_TITLEPDF_HEADER_STRING); 
//$pdf->SetHeaderData('', '', $firstLine, $secondLine);
//$pdf->SetHeaderData('logo_example.png', '25', $firstLine, $secondLine);


comment out line 148 and add somthing like:

// set default header data
//$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE, PDF_HEADER_STRING);
//$pdf->SetHeaderData('', '', $firstLine, $secondLine);
//$pdf->SetHeaderData('logo_example.png', '25', $firstLine, $secondLine);
$firstLine 'Your Site Name';
$secondLine 'Any thing you feel writing here';
$pdf->SetHeaderData('your_logo_file.png''25'$firstLine$secondLine);


You can leave $firstLine and $secondLine empty if you want logo only to appear... Logo can be png gif...




15
dnprossi
Re: UTF-8 and PDF-generation
  • 2010/2/15 11:18

  • dnprossi

  • Not too shy to talk

  • Posts: 107

  • Since: 2006/3/15


Hi SME Drieben,

Sorry I had not understood problem.

I found an issues in modules/news/pdf/config/tcpdf_config.php
the XOOPS root images directory is missing a slash

is:
define ('K_XOOPS_PATH_IMAGES'XOOPS_ROOT_PATH.'images/');

Shold be:
define ('K_XOOPS_PATH_IMAGES'XOOPS_ROOT_PATH.'/images/');


This should fix '<img>' tag problem so you have images appear again

INFO: XOOPS tags are not recognized by TCPDF eg
[img][/img]


In the zip file mentioned above there is also corrected tcpdf_config.php

Let me know if it helps...

P.S. above topic, thread is not pdf topic...



16
dnprossi
Re: UTF-8 and PDF-generation
  • 2010/2/8 9:39

  • dnprossi

  • Not too shy to talk

  • Posts: 107

  • Since: 2006/3/15


hi SMEDrieben,

here is a link to my configuration files for utf-8 pdf using tcpdf.
included in xoops-news-tcpdf-utf8.zip are the makepdf file and new tcpdf_config with some corrections so that also images work and urls are parsed correctly.
There is also xlanguage support stuff and simple chinese fonts and solution but it should not cause any problems if not using them.

for demo of utf8-pdf working go here
select a language read a news and click pdf icon...

and to download zip go here

hope it helps...



17
dnprossi
Re: smarty_cache directory is deleted instead of deleting contained files
  • 2010/1/23 20:58

  • dnprossi

  • Not too shy to talk

  • Posts: 107

  • Since: 2006/3/15


changed theme doing....
admin - system - preferences - general settings - Default theme combo box - selected zetagenesis - Go...
Changing theme back and fourth smarty_cache is deleted and recreated each time...



18
dnprossi
Re: smarty_cache directory is deleted instead of deleting contained files
  • 2010/1/23 14:52

  • dnprossi

  • Not too shy to talk

  • Posts: 107

  • Since: 2006/3/15


Hi ghia,

Just figured that it happens when you change a theme. eg. default to zetagenesis.
No I am not using xoopscare module.









19
dnprossi
smarty_cache directory is deleted instead of deleting contained files
  • 2010/1/23 12:13

  • dnprossi

  • Not too shy to talk

  • Posts: 107

  • Since: 2006/3/15


I noticed this using svn (subversion) that i am using to keep track of changes i make for the sites i maintain and that results in locked svn and have to update it.

The directory xoops_data/caches/smarty_cache is deleted and recreated instead of deleting the contained html. Index.html contained on install is useless.

Is this wanted or is it a bug????




20
dnprossi
Re: Trying to upgrade 2.3.3 to 2.4.1 Fatal error:licence-upgrade-keygen-2.4.0-to-2.4.1
  • 2009/11/25 14:32

  • dnprossi

  • Not too shy to talk

  • Posts: 107

  • Since: 2006/3/15


Thanks to all...
It was missing files and not a few but many... Somehow they were not copied to correct place but in some hidden temp-folders...
Untarred then copied all went fine...
Thanks again..




TopTop
« 1 (2) 3 4 5 »



Login

Who's Online

128 user(s) are online (73 user(s) are browsing Support Forums)


Members: 0


Guests: 128


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits