1
rsalomone
Call Accounting Software
  • 2007/9/20 18:15

  • rsalomone

  • Just popping in

  • Posts: 21

  • Since: 2005/6/21


Thank you to the XOOPS Community for allowing us to put together this call accounting software site in a couple of days.

www.callaccountingsoftware.com

This is a site that offers call accounting, hotel billing and telephone reporting software primarily for Nortel communication platforms. We find XOOPS easy to manage and maintain.

Regards,
rs



2
rsalomone
XBS_Tags Help
  • 2007/7/23 13:01

  • rsalomone

  • Just popping in

  • Posts: 21

  • Since: 2005/6/21


I wonder if anyone has any idea of how to remove the "-" from the front of the "TITLE".

I get the above hack to work but it puts a "-" in front of the title (but not in description or keyword).

The title looks something like this?

- Default Title for other pages

If I add a title in the Preferences section of XOOPS, I then get something preceeding the dash.

AAA - Default Title for other pages.


This would lead me to believe that XOOPS is adding the dash somewhere (in order to concatenate the 2 titles). But if the XOOPS title is blank, it does so anyway.

Can anyone tell me how to fix this. I have tried using Debug with no luck.

Spotless



3
rsalomone
Re: XBS_Tags / Metatags Hack
  • 2007/7/19 16:39

  • rsalomone

  • Just popping in

  • Posts: 21

  • Since: 2005/6/21


Unfortunately, when I turn on Smarty Debug, it does not show the dash (-) in the page title. I assume it is being inserted by Xoops. It is a concatenation since if I don't blank out the title in the Preferences section, the dash serves as a separator.

Does anyone have another idea or better still...an idea of how to fix XBS_TAGS to work with 2.0.16



4
rsalomone
Dynamic Meta Tags, Titles and Descriptions
  • 2007/7/9 3:48

  • rsalomone

  • Just popping in

  • Posts: 21

  • Since: 2005/6/21


I have tried using the excellent XBS_Tags module but it fails to work on 2.0.16 (for me). The developer tried to help me but could not duplicate the problem.

I also required a different way of attacking the problem of dynamic titles, meta tags and descriptions. I prefer to use wiwimod (wiki module) and it has parameters for the same page. XBS_Tags cannot distinguish between 2 URLs with the same page but unique parameters.

I was forced to abandon XBS Tags and use the following hack.

I put into footer.php and it works fairly well but I have to do it manually whenever I add a new page as follows:

where the URL would be something like:
http://www.callaccountingsoftware.com/wiwimod/index.php?page=About

$page = $_GET['page'];
$myts =& MyTextSanitizer::getInstance();
$page = $myts->undoHtmlSpecialChars($page);

switch ($page) {
case 'About':
$page = "About ABC Company Title";
$pagekey = "Key 1, Key 2, Key 3... Key n";
$pagedesc = "Description of ABC Company";
break;

case 'Products':
$page = "Products offered by ABC Company";
$pagekey = "Product 1, Product 2, Product 3...";
$pagedesc = "ABC Company Product Description";
break;

default:
$page = "Default Title for all other pages";
$pagekey = "Key 1, Key 2, Key 3...Key n";
$pagedesc = "General Description";
break;
}

$xoopsTpl->assign('xoops_pagetitle', strip_tags($page));

$xoopsTpl->_tpl_vars['xoTheme']->metas['meta']['description'] = strip_tags($pagedesc);
$xoopsTpl->assign('xoops_meta_description', strip_tags($pagedesc));

$xoopsTpl->_tpl_vars['xoTheme']->metas['meta']['keywords'] = $pagekey;
$xoopsTpl->assign('xoops_meta_keywords', $pagekey);

This all works with one small glitch. I have to remove the contents of the default metatags, description and title in the General Preferences area. Secondly, I get a "-" dash preceeding the title. Does anyone know how to get rid of it?

It works if I insert the above code right above:

$xoTheme->render();

of the footer.php page.



5
rsalomone
XBS_Tags / Metatags Hack
  • 2007/7/4 11:52

  • rsalomone

  • Just popping in

  • Posts: 21

  • Since: 2005/6/21


Hello,

I have been struggling with XBS_Tags on XOOPS 2.0.16 hosted by GoDaddy. The module is a brilliant idea but unfortunately the developer tried to determine the problem but could not. Here is something I came up with that gave me a partial solution to my problem. I have found a hack that will give me dynamic titles, metatags and descriptions by inserting the following in the footer.php. I use wiwimod extensively. Each page is driven by the wiwimod\index.php page with a parameter. I did the following right before the line:

$xoTheme->render();


My code:


$page = $_GET['page'];
$myts =& MyTextSanitizer::getInstance();
$page = $myts->undoHtmlSpecialChars($page);

switch ($page) {
case 'parameter1':
$page = "Page Title For Parameter 1 Goes Here";
$pagekey = "Keyword1, Keyword2, Keyword 3";
$pagedesc = "This is unique description of Parameter1 page";
break;

case 'About':
$page = "About Page of My Company";
$pagekey = "About XYZ Company, Name, XYZ";
$pagedesc = "My company specializes in billing software";
break;

default:
$page = "Title for all other pages";
$pagekey = "Keyword1, Keyword2, Keyword3";
$pagedesc = "General Description";
break;
}

$xoopsTpl->assign('xoops_pagetitle', strip_tags($page));

$xoopsTpl->_tpl_vars['xoTheme']->metas['meta']['description'] = strip_tags($pagedesc);
$xoopsTpl->assign('xoops_meta_description', strip_tags($pagedesc));

$xoopsTpl->_tpl_vars['xoTheme']->metas['meta']['keywords'] = $pagekey;
$xoopsTpl->assign('xoops_meta_keywords', $pagekey);


MY PROBLEM:

I cannot seem to get my title to work properly. It gets duplicated with a "-" dash. That is, "Title of all other pages - Title of all other pages". If I remove the title in the General Meta Tags & Footer settings, I get a "-" leading my title. This is ok but not great.

Is there a way to eliminate the existing title entirely without concatenating my hack title?

Regards,
rsalomone

www.callaccountingsoftware.com



6
rsalomone
Re: XBS MetaTags and 2.0.16
  • 2007/6/20 19:56

  • rsalomone

  • Just popping in

  • Posts: 21

  • Since: 2005/6/21


I have the same issue. Did you ever get this to work?



7
rsalomone
Working with Custom Blocks
  • 2007/6/15 13:51

  • rsalomone

  • Just popping in

  • Posts: 21

  • Since: 2005/6/21


Is there a way to make a Custom Block's text based on Logged in user level?

For example:

THIS IS MY CUSTOM BLOCK

{if anonymous user}
Welcome to our site, please login
{elseif admin user}
Hi Dude
{else}
Welcome username
{end if}



8
rsalomone
WiWimod
  • 2007/6/4 13:56

  • rsalomone

  • Just popping in

  • Posts: 21

  • Since: 2005/6/21


Try wiwimod - every page can have a related page (side content) and there is a side content block.

This module appears to install but I cannot modify the content. What am I doing wrong. I cannot get an editable page or add a page?

RS



9
rsalomone
Re: Right Block Content based on the Middle Content
  • 2007/6/4 12:42

  • rsalomone

  • Just popping in

  • Posts: 21

  • Since: 2005/6/21


I try to display the $block.id and it is blank in the right template.



10
rsalomone
Re: Right Block Content based on the Middle Content
  • 2007/6/4 12:29

  • rsalomone

  • Just popping in

  • Posts: 21

  • Since: 2005/6/21


From multiMenu I use the following syntax:

Topic: Cars
Link : /modules/tinycontent/index.php?id=1 (item 1)

Topic: Zoo
Link : /modules/tinycontent/index.php?id=7 (item 2)


if I go into my template right block html file and modify it, how can i reference the middle block?

That is, Cars was clicked on the left block (multiMenu item). It was displayed in the middle block with Id=1. I wish to put some content in the right block that relates to id=1 (Cars). That could be another block or tiny content.

Similarly, if Zoo was clicked on the left block (multiMenu item), I would like to place right block content that relates to Zoo. For example, a picture of an animal in a tinycontent or block.

I am not sure what to change.

Regards
RS




TopTop
(1) 2 »



Login

Who's Online

198 user(s) are online (125 user(s) are browsing Support Forums)


Members: 0


Guests: 198


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