1
tito2014
where and How can i add title to my new pag?
  • 2014/3/25 4:56

  • tito2014

  • Just popping in

  • Posts: 5

  • Since: 2013/12/31


hi
I'm trying to Make a xoops Module but my Problem is how and where can i add a new title to the page

I mean the modulel page not the title of module
this is a

example

<?php 

include("../../mainfile.php"); 
include(
XOOPS_ROOT_PATH."/header.php"); 
OpenTable(); 
echo
"<p align="center"><font size="7">TEST</font></p>" 
  
"<p align="center">test<a href="http://www.test.net/"><font size="7">Disipal site</font></a></p>"; 
CloseTable(); 
include(
XOOPS_ROOT_PATH."/footer.php"); 

?>




thanx

2
Mamba
Re: where and How can i add title to my new pag?
  • 2014/3/25 5:11

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


I am not sure I understand here. Where would the page title appear? What is the purpose of it? And what is the module doing?

If it is a kind of a content module, you store the title in the DB, and when you read the article from the DB, you also retrieve the title of the document, and then you can place it wherever you need, using a template.

Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

3
tito2014
Re: where and How can i add title to my new pag?
  • 2014/3/25 5:25

  • tito2014

  • Just popping in

  • Posts: 5

  • Since: 2013/12/31


hallo Mamba
es tut mir leid das mein Englisch nicht so verständlich ist


mein Frage ist

wie kann ich einen Titel zu eine neue Seite hinzufügen?(im Browser oben zu sehen ist)

ZB. ich habe 1000 Users ich will das jede User bei besuch seinem Profile sein Name oben steht als Browser titel

ich hoffe das ich mich besser ausgedruckt habe


außerdem möchte ich wissen ob es Bücher gibt über Herstellung von Module
am besten in deutsche Sprache oder


danke

4
Mamba
Re: where and How can i add title to my new pag?
  • 2014/3/25 5:58

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


You can read this thread and this one

This should help you to understand how it is being done. You'll just need to assign the text you want to the Smarty variable.

Regarding books about how to write modules, there some materials on Wiki, but they are mostly outdated

The best is this thread started by Irmtfan with a lot of good insights, so I would highly recommend to follow it.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

5
tito2014
Re: where and How can i add title to my new pag?
  • 2014/3/25 6:00

  • tito2014

  • Just popping in

  • Posts: 5

  • Since: 2013/12/31


ok thanx mamba

Login

Who's Online

238 user(s) are online (163 user(s) are browsing Support Forums)


Members: 0


Guests: 238


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