41
lionhell
Re: Publisher 1.0 Final ready for testing
  • 2014/3/13 10:43

  • lionhell

  • Just popping in

  • Posts: 20

  • Since: 2006/8/13


Disregard ! Sorry guys ... I have been confused because the input form looked like "news" module !

I mean: 1 scoop area and 1 body area ...

But it seems it doesn't work in same way ! The scoop is displayed when on category index page, but in the item page itself the body of article is displayed and not its scoop !

Am I right or is it a bug ?

42
Mamba
Re: Publisher 1.0 Final ready for testing
  • 2014/3/13 22:21

  • Mamba

  • Moderator

  • Posts: 11381

  • Since: 2004/4/23


Quote:
But it seems it doesn't work in same way ! The scoop is displayed when on category index page, but in the item page itself the body of article is displayed and not its scoop !

Am I right or is it a bug ?

It is the correct behavior for Publisher.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

43
Bleekk
Re: Publisher 1.0 Final ready for testing
  • 2014/3/15 20:00

  • Bleekk

  • Theme Designer

  • Posts: 941

  • Since: 2002/12/14


you can set this in preferences to show the scoop and body on the item page.
Please take a look at the preferences, it is somewhere at the bottom

44
AngeloRocha
Re: Publisher 1.0 Final ready for testing

I have a problem with main categories.
The main categories does not display the contents of the subcategories.
Help.

45
Mamba
Re: Publisher 1.0 Final ready for testing
  • 2014/3/25 19:02

  • Mamba

  • Moderator

  • Posts: 11381

  • Since: 2004/4/23


Quote:
I have a problem with main categories.
The main categories does not display the contents of the subcategories.

Can you publish a screenshot of what is wrong, and what do you expect?

If I remember correctly, did you say that it is only in xBootstrap, and it works correctly in other themes, like the Default and Zetagenesis?
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

46
AngeloRocha
Re: Publisher 1.0 Final ready for testing

Michael, this is another problem, a problem in module.
Bleekk solving the problem of theme and empty categories.

I have a category in publisher, and three subcategories inside.
When i create an article at the publisher, i select the subcategory relating to Article, the front end of the module, when i select the parent category, the content inside the categories daughters not appear.

Resized Image

Resized Image

Resized Image

Resized Image

Resized Image

http://www.xoopsfire.com/uploads/publisher1.png
http://www.xoopsfire.com/uploads/publisher2.png
http://www.xoopsfire.com/uploads/publisher3.png
http://www.xoopsfire.com/uploads/publisher4.png
http://www.xoopsfire.com/uploads/publisher5.png

Click to enlarge.

47
Mamba
Re: Publisher 1.0 Final ready for testing
  • 2014/3/26 4:41

  • Mamba

  • Moderator

  • Posts: 11381

  • Since: 2004/4/23


I believe, this works as designed, i.e. you only see articles that are directly in a particular category.

It works like a folder/directory - you see only files that are there.

I understand that you would like to see a "recursive taxonomy", i.e. in the top category you'll see articles from all "children, children of children, etc.", and as you go deeper, then you will see less and less articles, but my understanding is that "hierarchical data" is pretty complex issue and MySQL or other relational databases are not best suited for it. As one of the MySQL expert stated:

Quote:
Most users at one time or another have dealt with hierarchical data in a SQL database and no doubt learned that the management of hierarchical data is not what a relational database is intended for. The tables of a relational database are not hierarchical (like XML), but are simply a flat list. Hierarchical data has a parent-child relationship that is not naturally represented in a relational database table.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

48
Cifug
Re: Publisher 1.0 Final ready for testing
  • 2014/5/14 13:17

  • Cifug

  • Quite a regular

  • Posts: 208

  • Since: 2007/12/13


Hi guys, I can't seem to find where to disable the PDF link and icon that is on every publisher page. Maybe I can't see the trees for the forest. Can anyone point me in the right direction please

I could remove it in the templates but would prefer not to be that drastic.

Best regards,
Marty.

49
Mamba
Re: Publisher 1.0 Final ready for testing
  • 2014/5/15 10:18

  • Mamba

  • Moderator

  • Posts: 11381

  • Since: 2004/4/23


Quote:
Hi guys, I can't seem to find where to disable the PDF link and icon that is on every publisher page.

I am afraid, it is not possible via Preferences, so for the time being you would need to modify the template.

Please submit a "feature request" to SourceForge
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

50
timgno
Re: Publisher 1.0 Final ready for testing
  • 2014/5/15 10:56

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


You can create a simple code in preferences and templates like this:

xoops_version.php file:
$i++;
$modversion['config'][$i]['name'] = 'display_pdf';
$modversion['config'][$i]['title'] = '_MI_PUBLISHER_DISPPDF';
$modversion['config'][$i]['description'] = '_MI_PUBLISHER_DISPPDFDSC';
$modversion['config'][$i]['formtype'] = 'yesno';
$modversion['config'][$i]['valuetype'] = 'int';
$modversion['config'][$i]['default'] = 0;


and set to 0 default check.

On the user side, look for the php files associated with the template and add this line of code:
$display_pdf $publisher->getConfig('display_pdf');
$xoopsTpl->assign('display_pdf'$display_pdf);


Specifically, the template file, create this condition:
<{if $display_pdf}>
Here the specific html code...
<{/if}>


Update module via admin.

Login

Who's Online

181 user(s) are online (56 user(s) are browsing Support Forums)


Members: 0


Guests: 181


more...

Donat-O-Meter

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

Latest GitHub Commits