http://www.xoops.org/
Main Menu
Latest Articles
Popular Articles
   All Posts (venice)




Re: How do I get page titles for each event in AM Events?
Just popping in
Joined:
2005/8/30 9:45
Group:
Registered Users
Posts: 4
Level : 1; EXP : 21
HP : 0 / 5
MP : 1 / 298
Offline
Thank you! It works.
I shall look forward to the next version too.

Posted on: 2005/8/30 14:18
Transfer the post to other applications Transfer


How do I get page titles for each event in AM Events?
Just popping in
Joined:
2005/8/30 9:45
Group:
Registered Users
Posts: 4
Level : 1; EXP : 21
HP : 0 / 5
MP : 1 / 298
Offline
Hi,

In AM events I would like each event to have its own page title. I've read this:

From Xoops Tips
Page Title <{$xoops_pagetitle}>
Page title plays a very important role in searching engine ranking. The stock Xoops distribution
by default assigns the module name as the page title for every pages of a particular module.
This definitely will not help you improve your ranking. Google and other search engines rely
heavily on page titles in page ranking all other factors considered. A page from PR5 site may
rank well ahead of a similar page from a PR7 site due to the simple fact that the page from PR5
has a page title with all relevant ?key words? while the PR7 page does not.
There are several hacks of implementing page titles. It may sound a daunting task in assigning
your own page title. It is really not complicated if you understand the working of Smarty.
You can just simply overwrite the Smarty variable at display-time with your own page title.
For example, if we want to display an individual download name as the page title under
singlefile.php.
We know from reading the file that $dtitle is assigned as the title of an individual download
name. Knowing this, now we can assign it as page title.
Add
$xoopsTpl->assign('xoops_pagetitle', $dtitle);
before
include XOOPS_ROOT_PATH.'/include/comment_view.php';
include XOOPS_ROOT_PATH.'/footer.php';
We now have a unique page title for every download. Very simple? It is and should be.


And I assumed the file to edit was am events index.php but no matter what I change I can't get it to work (it's a bit complex for me ) Does anyone know what I need to change to do this?

Posted on: 2005/8/30 11:10
Transfer the post to other applications Transfer


Re: Pictures - HTML ?
Just popping in
Joined:
2005/8/30 9:45
Group:
Registered Users
Posts: 4
Level : 1; EXP : 21
HP : 0 / 5
MP : 1 / 298
Offline
Figured it out how to add a picture.

Posted on: 2005/8/30 11:02
Transfer the post to other applications Transfer


Pictures - HTML ?
Just popping in
Joined:
2005/8/30 9:45
Group:
Registered Users
Posts: 4
Level : 1; EXP : 21
HP : 0 / 5
MP : 1 / 298
Offline
Hi,
I really like this module but would like to be able to include images in the event listing is there anyway to do this? or to include html?

Posted on: 2005/8/30 9:50
Transfer the post to other applications Transfer



 Top




Login
Username:

Password:

Remember me



Lost Password?

Register now!
Donate!
Please consider donating to help continued development of my XOOPs modules. Read more here.

Search
Advertisements
Copyright © 2001-2009 sirium.net