1
voddie
Using javascript
  • 2007/2/19 14:46

  • voddie

  • Just popping in

  • Posts: 71

  • Since: 2003/10/20


Hi

Is it possible to use javascript within a block?

I have been trying to incorporate a javascript cascading menu into a block. The menu would auto open and close on links.

I have managed successfully to incorporate an horizontal js menu into the header part of my template.

Does js not work in a block?

Thanks in advance

Voddie
To ask the hard question is simple



2
voddie
Re: Blogging, rss and all
  • 2006/11/15 12:05

  • voddie

  • Just popping in

  • Posts: 71

  • Since: 2003/10/20


Hi msdana

Thanks for helping.

I havent used Wordpress or the XOOPS version Xpress before.

The rss feed links only appear when Xpress is in Wordpress mode.

As I will only be using this in xoops, I need the link to be on top of the index page of the module and also on the "Wordpress recent posts with content" block which I was going to use on my homepage.

My idea for using the blog and feed is for me to submit a blog on my site and for the feed to be read by bloglines.com.

The link/feed generator in Wordpress mode generates from a link "/modules/wordpress/?feed=rss2" this only works now and again but it does not show if imported to bloglines.

It comes back with and error "No feeds were found. Please verify that the website publishes an RSS feed."

I have also tried to import to Planet (installed XOOPS mod) and that doesnt work either. I did notice that all feeds in Planet end with .xml.

What am I doing wrong?


Customisations required are for the XOOPS part only. Can I safely remove the sidebar on the index page (wp-index.html) without effecting the sidebar used as a block in xoops?

Can the bottom links of the sidebar "Operation Menu" be removed?

Sorry for the long posting.

Any help or assistance would be most welcome

Voddie
To ask the hard question is simple



3
voddie
Re: Blogging, rss and all
  • 2006/11/14 21:37

  • voddie

  • Just popping in

  • Posts: 71

  • Since: 2003/10/20


Now I have Xpress working yeah! Does anyone know

a) Where I can find how to show a feed link or RSS image to generate the feed from my blog?

b) Edit the module homepage?

Thanks in advance

voddie
To ask the hard question is simple



4
voddie
Re: Blogging, rss and all
  • 2006/11/14 15:53

  • voddie

  • Just popping in

  • Posts: 71

  • Since: 2003/10/20


Thanks all for the assistance

Will give Xpress a go!
To ask the hard question is simple



5
voddie
Re: Blogging, rss and all
  • 2006/11/14 15:53

  • voddie

  • Just popping in

  • Posts: 71

  • Since: 2003/10/20


Thanks all for the assistance

Will give Xpress a go!
To ask the hard question is simple



6
voddie
Re: Blogging, rss and all
  • 2006/11/14 15:53

  • voddie

  • Just popping in

  • Posts: 71

  • Since: 2003/10/20


Thanks all for the assistance

Will give Xpress a go!
To ask the hard question is simple



7
voddie
Re: Blogging, rss and all
  • 2006/11/14 15:43

  • voddie

  • Just popping in

  • Posts: 71

  • Since: 2003/10/20


Does this module generate a feed?
To ask the hard question is simple



8
voddie
Blogging, rss and all
  • 2006/11/14 15:27

  • voddie

  • Just popping in

  • Posts: 71

  • Since: 2003/10/20


Hi

I running XOOPS 2.0.13 and having great fun, I need to add some more usability to my site and have trolled around the forums to find a starting point for my project but still unsure.

I use Planet module for my rss feeds to my site, but dont think it can do what I require.

I want to add a blog to my site, where i can add content through the admin area (and/or if possible add content by email/sms?)

I also need the blog to generate a rss feed (or xml still finding which is which and what's the difference) so that people can take the rss feed to their own site, or even add the rss link to blogger.com

Can someone point me to the right module that could do this?

Thanks in advance

voddie
To ask the hard question is simple



9
voddie
Re: Centre page popup
  • 2006/8/29 18:54

  • voddie

  • Just popping in

  • Posts: 71

  • Since: 2003/10/20


Hi

Followed the links and this generated code works much better than popups currently using xoops.js.

The problem being that the site name was generated before any code that I entered resulting in a error page

My work around was to add to the xoops.js the following:

var win = null;
function NewWindow(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
win = window.open(mypage,myname,settings)
}

Then I called it from any location, ie template.html or from any block I created using: put a < before the code!!!! and closing a> after

Quote:
a href="http://www.mysite.com/yournewhtml.html" onclick="NewWindow(this.href,'name','400','400','yes');return false">Yournewhtml</a>


Works a treat and much easier than the orgininal.

Thanks for all who posted help and pointed me in the right direction.

Hope this helps others

Thanks again

Voddie
To ask the hard question is simple



10
voddie
Re: Centre page popup
  • 2006/8/29 14:47

  • voddie

  • Just popping in

  • Posts: 71

  • Since: 2003/10/20


Hi zyspec

Thanks for the quick response.

Is there anyway that I can make sure that it always opens in the centre no matter what resolution the visitor is using ie 1024x768, 1080x1024?

I.e something that works out the screen resolution and makes the necessary changes?

voddie
To ask the hard question is simple




TopTop
(1) 2 3 4 ... 8 »



Login

Who's Online

148 user(s) are online (98 user(s) are browsing Support Forums)


Members: 0


Guests: 148


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