11
maxima
Re: Is there a TOP PAGE smarty identifier?
  • 2007/2/6 2:01

  • maxima

  • Not too shy to talk

  • Posts: 152

  • Since: 2006/3/4 4


I am thinking that the core system recognizes the home page by a smarty tag just like the module directories. Can a core member please give a suggestion???



12
maxima
Re: Is there a TOP PAGE smarty identifier?
  • 2007/2/3 22:58

  • maxima

  • Not too shy to talk

  • Posts: 152

  • Since: 2006/3/4 4


Thanks for the suggestion but that didn't work.



13
maxima
Is there a TOP PAGE smarty identifier?
  • 2007/2/3 15:18

  • maxima

  • Not too shy to talk

  • Posts: 152

  • Since: 2006/3/4 4


I just spent an hour searching and now out time. I want to add a smarty (if) switch to my theme to execute an action when the home page is displayed. I tried
<{if xoops_page == "top"}>Do this<{/if}>

but that did nothing.

I have been successfully using
<{if $xoops_pagetitle == "home"}>Do this<{/if}>

but now I want to put a slogan in the title and want to change it periodically but don't want to have to modify the theme file each time.

So does anyone know what can be used to identify the home page?



14
maxima
Re: Error when Main Menu block is turned off.
  • 2007/2/3 14:35

  • maxima

  • Not too shy to talk

  • Posts: 152

  • Since: 2006/3/4 4


So does anyone have a fix for this?



15
maxima
Re: Tiny Editor is a pain sometimes - Need support
  • 2007/1/30 5:53

  • maxima

  • Not too shy to talk

  • Posts: 152

  • Since: 2006/3/4 4


Ofcourse this FCKeditor couldn't go trouble free. It won't allow file uploads and I've tried all the config instructions with no solution.

The upload works fine on my localhost which has PHP5 but on the live server which runs PHP4x it won't upload files. Does this xoopseditor 1.01 require php5?



16
maxima
Re: Tiny Editor is a pain sometimes - Need support
  • 2007/1/30 3:57

  • maxima

  • Not too shy to talk

  • Posts: 152

  • Since: 2006/3/4 4


Well nothing I tried works and after much search I finally got FCKeditor to work as the blocksadmin editor. It adds every script without error which now allow for more creativity.

The negative though is that I can't set group permissions so it shows up as the primary editor in the forum and the blog. The blog is not such a big deal as only authorized users post but the forum is a problem because now I have to enable HTML so the tags don't show in the messages. I need to figure how to use only the DHTML editor for the forum. Does anyone know how?



17
maxima
Re: Error when Main Menu block is turned off.
  • 2007/1/29 6:26

  • maxima

  • Not too shy to talk

  • Posts: 152

  • Since: 2006/3/4 4


Debug:
Quote:
Fatal error: Undefined class name 'xoopsmodule' in /home/site/html/header.php on line 119


Apparently it has to do with the modification in header.php required by rw_banner module to recognize custom smarty tags. Everything including rw_banner works fine as long as I don't disable the mainmenu.

These lines added just before the closing php tag.
$mod XoopsModule::getByDirname("rw_banner");
if (
$mod){
  include_once (
XOOPS_ROOT_PATH.'/modules/rw_banner/include/maketags.php');
}


If anyone else uses rw_banner with 2.0.16, try turning off the mainmenu and see if the blank home page error occurs. Likewise if someone found a solution please tell.



18
maxima
Error when Main Menu block is turned off.
  • 2007/1/28 16:48

  • maxima

  • Not too shy to talk

  • Posts: 152

  • Since: 2006/3/4 4


When I turn off mainmenu I get a blank page when return to home page. This is only happening since I upgraded to 2.0.16.

Does anyone else have this problem? If so is there a solution?

Software server Apache/1.3.37 (Unix)
PHP version 4.4.4
MySql version 4.0.27-log



19
maxima
Re: Tiny Editor is a pain sometimes - Need support
  • 2007/1/26 15:52

  • maxima

  • Not too shy to talk

  • Posts: 152

  • Since: 2006/3/4 4


Well I added the elements but it still strips the codes and display a blank space.
Quote:
onmousemove|onmouseout|onmouseover|onmouseup|style|title], script[*], object[*], embed[*]



20
maxima
Re: Tiny Editor is a pain sometimes - Need support
  • 2007/1/26 15:34

  • maxima

  • Not too shy to talk

  • Posts: 152

  • Since: 2006/3/4 4


Thanks Frankblack. Not to demote your work, but the statement of browser WYSIWYG editors not working well with scripts does not apply to FCK Editor. I used it in Joomla and ZenCart and it adds any script without error and without special plugins.




TopTop
« 1 (2) 3 4 5 ... 14 »



Login

Who's Online

240 user(s) are online (147 user(s) are browsing Support Forums)


Members: 0


Guests: 240


more...

Donat-O-Meter

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

Latest GitHub Commits