Members: 10,140
Threads: 38,830
Posts: 159,367
Online: 29

Newest Member: Xoote



Go Back   Mambers.com > Development > Mambots

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 01.10.2004, 18:12   #1
manni
Mamber
 
manni's Avatar
 
Join Date: Apr 2004
Location: Germany
Posts: 65
manni is on a distinguished road
Send a message via ICQ to manni Send a message via AIM to manni Send a message via MSN to manni
Question Help needed with MOS thumb bot

I'm trying to improve my MOS Thumb bot for Mambo 4.5.1 and therefore i have to include a Javascript section.
I was looking for some way to plug into the header, but mainframe functions are only designated for Meta Tags.
So i decided to just output the JS together with the replacement of the {mosimage}-tag.
To prevent that it is printed before each image i registered a parameter with $params->set, when it was printed first time. On the second replacement on a page it then would not be printed, because i check if the parameter is set.

Unfortunately it does not work together with the MOS Pagination Mambot, on the second page of a content item the JS is not printed.

Does anybody have an idea how i could do this? How can i plug a Javascript into the template, so that is always available, but without having to tell
users to modify the templates?
manni is offline   Reply With Quote
Sponsored Links
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
MOS no more - Mambo for sure ;) idigital Community Announcements 16 25.07.2004 05:14
Frage zu MOS Component in Mainmenu pfistera Komponenten 0 20.06.2004 23:23
Mos 4.5 100 --> 106 Glimmerman Mambo 4.5 Installation and Upgrades 1 24.04.2004 16:47
Mos Summer 2004 preview feedback needed :-) pixelsoul Template Discussions 5 19.04.2004 08:25


All times are GMT +2. The time now is 15:50.

Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.