191
tcnet
Re: Editing welcome email message
  • 2006/6/8 3:05

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


The email sent upon user activated registration uses an email template located at root/language/english/mail_template/register.tpl



192
tcnet
Re: Importing custom JavaScript
  • 2006/6/1 4:09

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


As Biteronboard has suggested, an alternative to inserting the form directly into your theme.html would be to place the form in a custom html block. But you will have to use a full url in the link because you can not use Smarty variables in a custom html block.



193
tcnet
Re: Importing custom JavaScript
  • 2006/6/1 0:46

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


Unless you have a need for this to be a module...

You can do this in theme.html just like on a static html page. With this method the link will display on all pages and all themes in use will need to be modified.

1)Publish code1.js to your xoops/root directory. Publish your image to root/images directory.;

2)declare the script in theme.html head:
<head>
<
script type="text/javascript">
<{
$xoops_url}>/code1.js
</script>
</
head>


3)Insert the form anywhere in your theme.html body
<body>

<
p>Input date:</p>
<
form name="tstest">
<
input type="Text" name="timestamp" value="">
<
a href="javascript:show_calendar('document.tstest.timestamp', document.tstest.timestamp.value);">
<
img src="<{$xoops_url}>/images/img1.gif" width="16" height="16" border="0" alt"Click here!"> </a>
</
form>

</
body>


I do not think you can use scripts or Smarty variables in a custom html block.

If you need the form code on a seperate page or want to make a simple module, take a look at this FAQ: Can I include my own HTML pages in xoops?

Good luck,
TCNet



194
tcnet
Re: Where can I find the file for the Preferences/General Settings
  • 2006/5/31 23:52

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


Try modules/system/admin/preferences/main.php



195
tcnet
Re: .png images not displaying?
  • 2006/5/28 11:35

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


Hi Horseygirl,
Did you upload using ftp? Sometimes this happens when the files are uploaded as ascii instead of binary files. You might try uploading your images with the ftp set to binary or auto.

Good luck,
TCNet



196
tcnet
Re: Background image within one block
  • 2006/5/25 14:28

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


Hi,

Quote:
dont the dimensions affect everything thats within that block?


Yes, you are correct.

Sorry to have confused the issue, you do not have to specify the div's width and height.

Its the image's size that is preventing it from appearing, try resizing the image(approx 360px) to fit within the block's minimum dimensions.

Also, to prevent the image from repeating (tiling) you can add background-repeat: no-repeat;

<td colspan="8" bgcolor="#efefef" >
<
div class="blockContent">

[
color=0033FF]<div style="background-image: url(http://www.ichipromotions.com/misc/images/Ichi-Promotions-Logo.gif); background-repeat: no-repeat;">[/color]

<
span style="font-weight: bold; text-decoration: underline; font-family: Arial,Helvetica,sans-serif;">
SUNDAY – Anything Goes!</span><br style="font-family: Arial,Helvetica,sans-serif;"><span style="font-weight: bold; font-family: Arial,Helvetica,sans-serif;">
13:00 – 15:00:</span>

<!--
//** snip **//-->

<b><a href="http://www.rewind-dnb.co.uk/image/ICHI_SCHEDULE.jpg">Click HERE for the full schedule</a></b>
</
center>
[
color=0033FF]</div>[/color]
</
div>
</
td>


Hope this helps,
TCNet



197
tcnet
Re: About custom blocks?Where is it saved and what is it called?
  • 2006/5/24 19:48

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


Custom blocks are not saved as a page. You can only select to display them on existing module or system pages. It sounds like you may need a to use a content module that allows you create pages, display main menu links and provide module blocks for your content pages.

You might try modules such as edito, content, TinyD for creating a page thru the browser. You might look for a module such as CJay Content or TinyContent that can also wrap XOOPS around any existing html or php page.

This FAQ explains how to get your existing html or php pages into XOOPS.

Look for content modules in the module repository.

Good luck,
TCNet



198
tcnet
Re: Background image within one block
  • 2006/5/24 19:01

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


It took me a long while but I think I have this figured out.

The background-image will not display if its dimensions are larger than the block it is in.

Try resizing your image to fit your block size and it should appear.

You can set the block width and height in the div. For a 400px image you could use:
<div style="width: 400px; height: 400px; background-image: url(http://www.technicalcrew.com/images/Ichi-Promotions-Logo.gif);">

YOUR HTML HERE

</div>


Good Luck,
TCNet



199
tcnet
Re: Background image within one block
  • 2006/5/24 12:53

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


If it is a custom block you could enclose your HTML code in a div with an inline style.

Like this:
<div style="background-image: url(http://www.yourdomain.com/images/yourbackground.gif);">

Your HTML Here

</div>

Set the "Content Type" to HTML and submit the change.

Hope this helps,
tcnet



200
tcnet
Re: Installing XK Editor
  • 2006/5/23 20:47

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


Hi,
Welcome to Xoops!

Extract xk_editor(formerly koivi) and view the index.html in the docs folder. It has alot of useful information on editing a module for koivi use.

Install the editor by publishing the wysiwyg folder to your XOOPS root/class directory and system_imagemanger.html to modules/system/templates (overwrite existing).

Many of the more advanced modules (News Module 1.44 by hervet, Article 0.90 by phppp, CBB 3.02 by phppp) allow you to select an editor in their module preferences.

For instance, if you are using News Module 1.44, navigate to control panel/module/preferences/news and look for "Form Option" and set it to koivi. Submit the update and you will have Koivi in your news module.

Getting other modules or all editors in the script to use Koivi is a little more complicated. Here are some links that helped me:

How to quickly replace all the textarea with kiovi in Xoops


How to use wysiwyg editor in module

Good luck!




TopTop
« 1 ... 17 18 19 (20) 21 »



Login

Who's Online

218 user(s) are online (157 user(s) are browsing Support Forums)


Members: 0


Guests: 218


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