1
hello,
we developed a modulhack for modules (first just for xyp4all ,but it should also work for other modules) where you can generate unique-configured and seo-friendly urls and all meta-tags per url, with your own rules.
you can use, titles, categories, hardcoded keywords... for the generated url nad the meta-tags. you just have to make the rules for the module, topic...
the hack generates the url with the chossen keywords and string, for example (where "xoops-hacks" is my topic, and "xoops-seo-hack" is the name of the news-article):
../modules/news/xoops-hacks/xoops-seo-hack.php
instead of
../modules/news/article.php?storyid=1
the /xoops-hacks/ and the file are generated when the file is posted the first time, or when you edit an older file whcich was posted before installing the hack. if you don´t use the new filename, the old one will be used.
the code of the new file has just an include
for example:
include 'http://www.domain.xy/modules/news/article.php?storyid=1';
?>
now my problem:
allthough the whole (old) file is included, XOOPS generates no template (template_c), no session and does not realize that i´m logged in (login instead of usermenu)
where do i have to modify/fix this, so that XOOPS uses the users-session and so on.
should i use the smarty includes instead of php include?
thx a lot,
elogix
plz excuse my english