141
SMEDrieben
Re: Upgrade 2.4.5 to 2.5.0: where can I access my my cloned template set ?
  • 2010/11/15 19:44

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


Since nobody knows the answer to this question and cloned templates sets are not shown in the demo videos, I think that this is a bug:

- coming from 2.4.5., Xoops 2.5.0 uses your preferred cloned template set as in previous versions
- however, in the admin section you cannot access and edit cloned template sets.

Please your help (explanation or patches) !

SMEDrieben



142
SMEDrieben
Re: Upgrade 2.4.5 to 2.5.0: where is file manager and where is my cloned template set ?
  • 2010/11/13 11:56

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


Thanks for your answer !

I found the file manager (Extras directory) and it works.

I'am curious where the cloned template set is accessible.

Additional info:
I searched the help option. There is a paragraph on templates: "Cloning and downloading templates".

It states that you can "clone" a template set that can be edited using the "clone" link and that you can save a copy of a template set to disk by using the "download" link. I have these links in 2.4.5; however, in 2.5.0 there are no "clone" and "download" links.

In the preferences menu, I can select my cloned template set (from 2.4.5).

Thanks !

SMEDrieben



143
SMEDrieben
Upgrade 2.4.5 to 2.5.0: where is file manager and where is my cloned template set ?
  • 2010/11/12 20:44

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


Thanks for Xoops 2.5.0 !

I experience 2 strange things using the upgrade package 2.4.5 to 2.5.0.

1) The "File manager" icon shown by Mamba in the demo video doesn't appear in the admin menu.

2) In 2.4.5 (and all previous Xoops versions), I used a cloned template set. Stored in the database, not in the theme/module directory. After the upgrade to 2.5.0, Xoops uses this template set as before, but where can I acces and edit this (cloned) template set ? When I click the "template" icon, I see the files of the theme directory, but not this cloned template set.

I can generate new templates in the theme/modules directory, but the are copies of the default templates and not of my cloned template set.

Please help !

SMEDrieben



144
SMEDrieben
News 1.64 - 1.66: page counter index page problem and category restriction problem
  • 2010/11/5 10:15

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


I've discovered two bugs (I think) in News 1.66 (Xuups version) under 2.4.5. I think - retrospectively - these were already present in News 1.64 under Xoops 2.3

1) The page counter on the index page of News is not working correctly. If there are some categories that you don't want to show on the index page (which can be indicated per category, in the topics table), the news items in these categories are taking into account in the page counter. E.g.: 100 news item total, 20 in categories not to be shown on index page: you expect on the index page 8 pages of 10 items. The page counter on the index page indicates 10 pages. When you look at page 9 and 10, they are empty (no news items). I think this is a bug: the page counter shouldn't count items in the "categories not to be displayed" and should indicate 8 pages (of 10 items per page).

2) Xoops search doesn't work correctly if in News the option "restricted categories not on index page" is activated.
If you create some categories with limited access in News (e.g. acces for registered users but not for anonymous users), the Xoops search doesn't find correctly all articles in the public categories. E.g.: if you have 20 articles with "searchword" in public categories, and the "restricted categories not on index page" is off, Xoops finds 20 articles searchin for "searchword"; if the "restricted categories not on index page" is activated, Xoops finds 5 articles searching for "searchword", even if the other 15 are in the public categories.

Do you have any ideas for solutions ?

Thanks !

Drieben



145
SMEDrieben
Re: Multiple problems 2.3.3b to 2.4.4
  • 2010/10/26 20:15

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


It is about nine months later. I have tried to convert my 2.3.3b site to Xoops 2.4.5. I experienced the same problem as above: Cache engine not initiated, oxygen menus moving automatically etc.

And I've solved these issues ! It is a very stupid difference between 2.3 and 2.4.

In the mainfile.php the XOOPS_VAR_PATH is defined. I'm testing on a MS Windows based system. In 2.3 backslashes are accepted in the XOOPS_VAR_PATH; in 2.4 they aren't. The upgrade script of 2.4 doesn't check the mainfile.php for backslashes.

After replacing the backslashes by forward slashes, the warnings disappeared and the oxygen admin menu works correctly.

SME Drieben



146
SMEDrieben
Re: UTF-8 and PDF-generation
  • 2010/2/17 20:20

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


Thanks for the help !

Unfortunately, it doesn't work.

First, in tcpdf_config.php the line you mentioned, doesn't exist (I am on News 1.64 and tcpdf.php 4.1.000)

I have this line:

define ("K_PATH_IMAGES"K_PATH_MAIN."images/");


and changed it to

define ("K_PATH_IMAGES"K_PATH_MAIN."/images/");


This doesn't make any difference: the images disturb the pdf and the lines are printed over each other.

If you have any further suggestions, I'm curious the read them.

Thanks,

SME Drieben



147
SMEDrieben
Re: News 1.63 - PDF Creation: UTF-8 not working and xLanguage Problems
  • 2010/2/10 15:05

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


I solved the problem in News by deleting the images. I used the thread above and added three lines to pdf.php:

$content str_replace('[pagebreak]','<br/>',$content);  //after this line
$pattern[] = "/<img (.*)/>/sU";
$replacements[] = '';
$content preg_replace($pattern$replacements$content);


Now the images are deleted, the text is perfect !!

SME Drieben



148
SMEDrieben
Re: UTF-8 and PDF-generation
  • 2010/2/10 15:02

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


Thanks for your help.

Unfortunately it did not work. Both the special characters were not correct using your makepdf and the image tags remained disturbing the format.

However, I solved the problem in News in another way. I used the thread I mentioned above and added three lines to pdf.php:

$content str_replace('[pagebreak]','<br/>',$content);  //after this line
$pattern[] = "/<img (.*)/>/sU";
$replacements[] = '';
$content preg_replace($pattern$replacements$content);


Now the images are deleted, the text is perfect !!

SME Drieben



149
SMEDrieben
UTF-8 and RSS
  • 2010/2/6 20:26

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


I recently converted my site (Xoops 2.3.3b) to UTF-8. The site works fine, but pdf-generation and RSS have problems.

This thread is on RSS.

I have a solution that works partly. It works in:

- backend.php
- news/backendt.php (1.64)
- extcal/rss.php (2.22)
- wfdowloads/rss.php (3.2)
- smartsection/backend.php (2.13)
- mylinks/rss.php (1.1)

In all these files, I have removed:

xoops_utf8_encode()


In some titles or bodies, there appear special characters such as & # 0 3 9 ; (without spaces). Sometimes they are interpreted correctly by RSS-readers, sometimes not.

Any other suggestions to get RSS working correctly with UTF-8 ?

Thanks !

SME Drieben



150
SMEDrieben
UTF-8 and PDF-generation
  • 2010/2/6 20:10

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


I open this new thread for 2 reasons:

- there is a general recommendation to convert to UTF-8
- UTF-8 doesn't work correctly with pdf-generation and RSS

This thread: pdf-generation:

1) There is a thread on this topic. However, this thread is on pdf.php of the news-module.

2) The news module has 2 ways to generate pdf's: pdf.php and makepdf.php (FPDF 1.53). Smartsection also uses makepdf.php (FPDF 1.52). There are no forum data to adjust makepdf.php to UTF-8 use.

I converted my site to UTF-8. Can anybody help me to adjust makepdf.php for use with UTF-8 ?

Thanks !

SME Drieben





TopTop
« 1 ... 12 13 14 (15) 16 17 »



Login

Who's Online

153 user(s) are online (103 user(s) are browsing Support Forums)


Members: 0


Guests: 153


more...

Donat-O-Meter

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

Latest GitHub Commits