1
Barthez
Re: Different templates for different pages....
  • 2006/11/7 12:23

  • Barthez

  • Just popping in

  • Posts: 11

  • Since: 2006/7/26


I think you can do it yourself easy.
You must developp such a module by adding a "template" collum in a DB table.

For example starting frow the "news" module you can
- contruct différentes templates based on the news_article.html template.
- add a "template" collum in the table stories.
- add in the \class\xoopsstory.php the "template" attribut
- add the html code to manage your template in news\include\storyform.inc.php
- in the modules\news\article.php file change
$xoopsOption['template_main'] = 'news_article.html';
by a
$xoopsOption['template_main'] = $article->getTemplate();

Hope that helps



2
Barthez
Re: Some probleme with svn.sourceforge.net
  • 2006/9/22 15:31

  • Barthez

  • Just popping in

  • Posts: 11

  • Since: 2006/7/26


I have several problems :

- The 2.13 don't have a "Frameworks" directory but a "class" directory --> i have created a "Frameworks" directory to put the fpdf files
- The fpdf.php file is not include in the init.php --> i included.
- I have this error :
Call to undefined function: _put() in g:\easyphp\www\htdocs\Frameworks\fpdf\fpdf.php on line 1282
I have debug it but now the generated content in not interpreted as pdf content.


Can you help me ?
I'll used this frameworks but it is not better to used directly the native fdpf.php file ?

NB : i use php 4.3



3
Barthez
Some probleme with svn.sourceforge.net
  • 2006/9/19 7:21

  • Barthez

  • Just popping in

  • Posts: 11

  • Since: 2006/7/26


Great

That the first time i used svn. I used tortoise svn. With the "http://svn.sourceforge.net/viewvc/xoopschina/Frameworks/fpdf/" url, i haved a "400 bad request".

Can you help me ?
Is there not a zip file to dowload easy via http ?

NB : I haved downloaded properly with tortoise svn a part of "https://svn.sourceforge.net/svnroot/xoops" with no probleme



4
Barthez
Api for pdf generation in a module.
  • 2006/9/18 12:17

  • Barthez

  • Just popping in

  • Posts: 11

  • Since: 2006/7/26


I want to integrate a pdf generation in my module.

Where can i found XOOPS PDF creation framework ?
How can i integrate this framework in a 2.15 version without have problems for the future 2.2 or 2.3 migration ?


Best regards
I didn't found any thing about pdf in the 2.15 version nether in the 2.2.



5
Barthez
possibility to add alternative css file with the theme class
  • 2006/8/12 19:04

  • Barthez

  • Just popping in

  • Posts: 11

  • Since: 2006/7/26


Toiday it is not possible ..



6
Barthez
Re: Smarty error: unable to read resource
  • 2006/8/12 18:58

  • Barthez

  • Just popping in

  • Posts: 11

  • Since: 2006/7/26


> unable to read read resource: "db:system_block_dummy.html"
The template are store in database (table tpl...) , perhaps the row is not alrready present. If it is true, you must reinstall your module..

You can also delete the data table (after backup your database) and reinstall the install module.

Perhaps it's a problem of the $tpl class whith is not well define in file common.php...

Hope that help !



7
Barthez
Re: where sessions defines?
  • 2006/8/12 18:47

  • Barthez

  • Just popping in

  • Posts: 11

  • Since: 2006/7/26


in the /include/common.php file
this file is include by the header.php file



8
Barthez
Re: Track Members & Guests IP Addresses
  • 2006/8/12 18:34

  • Barthez

  • Just popping in

  • Posts: 11

  • Since: 2006/7/26


You have a module call "uservisit"
https://xoops.org/modules/repository/singlefile.php?cid=78&lid=1246

which collect this information



9
Barthez
Re: Errors since move from cPanel to HSphere
  • 2006/8/12 18:21

  • Barthez

  • Just popping in

  • Posts: 11

  • Since: 2006/7/26


For me uit's just notice not error
as it is a notice information it donnt matter, don't be worry about it


I think this notice is du to the XOOPS PHP5 conformity.



10
Barthez
Re: waw can xoops be like that?
  • 2006/8/12 18:14

  • Barthez

  • Just popping in

  • Posts: 11

  • Since: 2006/7/26


It's a question of Theme not of content (the main goal of xoops).
Someone have develope some theme which are near this web site... A XOOPS Cube teams seems to have develop sume as theme.
Note that XOOPS Cube is a "japaneese XOOPS scission". I don't no why.




TopTop



Login

Who's Online

256 user(s) are online (178 user(s) are browsing Support Forums)


Members: 0


Guests: 256


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