51
bjbtexas
Re:What file contains $xoopsTpl class?
  • 2004/12/20 18:10

  • bjbtexas

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/7/3 2


If this is where the title is changed in newbb 2.0 for the viewtopic.php page:

if(newbb_isAdmin($forumdata['forum_id'], $forumdata['topic_poster']) && $xoopsModuleConfig['allow_moderator_html'] ) $topic_title newbb_html2text($myts->undoHtmlSpecialChars($forumdata['topic_title']));
else 
$topic_title $myts->htmlSpecialChars($forumdata['topic_title']);
$forum_name newbb_html2text($myts->undoHtmlSpecialChars($forumdata['forum_name']));
$module_name $xoopsModule->getVar('name');
$xoops_pagetitle $module_name' - ' .$forum_name' - ' .$topic_title;


include 
XOOPS_ROOT_PATH."/header.php";
$xoopsTpl->assign('xoops_module_header'$newbb_module_header);
$xoopsTpl->assign('xoops_pagetitle'$xoops_pagetitle);$xoops_pagetitle $module_name' - ' .$myts->displayTarea($forum_name). ' - ' .$topic_title;


Can you offer any advice as to how to change it in xDirectory?

Thanks,



52
bjbtexas
Re: Title Tag Hack
  • 2004/12/19 23:43

  • bjbtexas

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/7/3 2


Thanks, but I am looking for something like what is in AMS module to put in the xDirectory.

$xoopsTpl->assign('xoops_pagetitle'$myts->makeTboxData4Show($xoopsModule->name()) . ' - ' $myts->makeTboxData4Show($article->title()));


I want to append the title tag with an individual page name.



53
bjbtexas
Re: NewBB 2.0 Final release
  • 2004/12/8 1:27

  • bjbtexas

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/7/3 2


Duh! Thanks

So much for cut and paste being full proof!

Any ideas on how to make the width narrower?

Page I want to make narrower:
http://www.advenquest.com/modules/newbb/viewtopic.php?topic_id=9&forum=11



54
bjbtexas
Title Tag Hack
  • 2004/12/8 0:53

  • bjbtexas

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/7/3 2


Is there a title tage hack that is universal to all modules?

Is there a title tag hack for News and xDirectory?



55
bjbtexas
Re: NewBB 2.0 Final release
  • 2004/12/7 23:28

  • bjbtexas

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/7/3 2


<head>
<
meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" />
<
meta http-equiv="content-language" content="<{$xoops_langcode}>" />
<
meta name="robots" content="<{$xoops_meta_robots}>" />
<
meta name="keywords" content="<{$xoops_meta_keywords}>" />
<
meta name="description" content="<{$xoops_meta_description}>" />
<
meta name="rating" content="<{$xoops_meta_rating}>" />
<
meta name="author" content="<{$xoops_meta_author}>" />
<
meta name="copyright" content="<{$xoops_meta_copyright}>" />
<
meta name="generator" content="XOOPS" />
<
title><{$xoops_sitename}>-<{$xoops_pagetitle}></title>
<
link href="<{$xoops_url}>/favicon.ico" rel="SHORTCUT ICON" />
<
link rel="stylesheet" type="text/css" media="all" href="<{$xoops_url}>/xoops.css" />
<
link rel="stylesheet" type="text/css" media="all" href="<{$xoops_themecss}>" />
<!-- 
RMVadded module header -->
<{
xoops_module_header}>
<
style type="text/css">
<!--
.
style7dana {
    
font-size6pt;
    
color#384A76;
    
font-familyArialHelveticasans-serif;
}
-->
</
style>
<{
$xoops_module_header}>
<
script type="text/javascript">
<!--
<{
$xoops_js}>
//-->
</script>
<
script type="text/javascript" src="http://www.lodging.com/java/datebox.js"></script>
<
script type="text/javascript" src="http://www.lodging.com/java/calendar.js"></script>

</
head>

It is???



56
bjbtexas
NewBB 2.0 Final release
  • 2004/12/7 23:11

  • bjbtexas

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/7/3 2


From the readme file -
Quote:
Must dos step 5:
5. To make the Popup Menu work, make sure that the <{$xoops_module_header}> is included in your theme.html



When I add <{$xoops_module_header}> to my theme html page my site doesn't build any pages - all urls are blank except for the background color. However, the drop down menus seem to work on IE 6.0.29 without the <{$xoops_module_header}> on the theme html.

What do I need to do?

Also is there an easy way to control the width of the viewtipic page? It is wider than I would like for my format.
Page I want to make narrower:
http://www.advenquest.com/modules/newbb/viewtopic.php?topic_id=9&forum=11

Thanks,



57
bjbtexas
Re: Real Estate Module
  • 2004/12/3 22:57

  • bjbtexas

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/7/3 2


I have posted the module called "guide" on my site. When you log in you can see it under "Resort Guide". Or Download it under Xoops. At this point it is xDirectory with a different name. I am working on modifying it further.



58
bjbtexas
Re: Yellow Pages module out now..
  • 2004/11/28 17:07

  • bjbtexas

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/7/3 2


I can’t keep waiting, so I thought I would give this a try.

So far, I've just hacked xDirectory to allow you to include more than one instance of the directory. The second directory is called guide and I am working on further more specific variations for my site, but I have made the hack available on my site for those who are interested.

You can see the work in Progress at www.advenquest.com – under the Resort Guides menu item. You need to register to download the module.

The coupon part doesn't look too hard, that will be next.

Thanks,

BJ Baker



59
bjbtexas
Re: Real Estate Module
  • 2004/11/28 16:54

  • bjbtexas

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/7/3 2


The Real Estate module on Folsomliving.com appears to be an xDirectory variation. I've tried to contact builderb about getting the module variations, coupons etc. with no luck - so far. It seems like I saw a post a while back where he was going to sell the module adds-ins at some point, but I can’t keep waiting, so I thought I would give it a try.

So far, I've just hacked xDirectory to allow you to include more than one instance of the directory. The second directory is called guide and I am working on further more specific variations for my site, but I have made the hack available on my site for those who are interested.

You can see the work in Progress at www.advenquest.com – under the Resort Guides menu item. You need to register to download the module.

Thanks,

BJ Baker



60
bjbtexas
Re: Xdirectory Modules and or Hacks
  • 2004/10/22 21:04

  • bjbtexas

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/7/3 2


I second that!




TopTop
« 1 ... 3 4 5 (6) 7 8 9 »



Login

Who's Online

140 user(s) are online (92 user(s) are browsing Support Forums)


Members: 0


Guests: 140


more...

Donat-O-Meter

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

Latest GitHub Commits