1
council
Here's a neat tool, but...
  • 2005/1/21 0:35

  • council

  • Not too shy to talk

  • Posts: 184

  • Since: 2004/12/18


Heres's a neat syndication tool. when the user clicks on your rss icon, it generates a drop down box that contains all the available newsreaders thus permitting the user to select the one he wants your feed to match up with.

Only thing, I can't seem to get it working off my default theme html. Anyone suspect why? Here's the link for the tool.
It's called "quicksub."

I'm getting the link, alright, and it's genrating the correct feed, but it's not invoking the drop down screen with the choices. I'm thinking XOOPS is throwing it off somehow.

http://www.methodize.org/quicksub/#Docs

r.

2
Bassman
Re: Here's a neat tool, but...
  • 2005/1/21 0:46

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


make sure the files it's calling are in your theme folder and are called by the url <{$xoops_imageurl}>quicksub.css etc.

3
council
Re: Here's a neat tool, but...
  • 2005/1/21 2:06

  • council

  • Not too shy to talk

  • Posts: 184

  • Since: 2004/12/18


Quote:

Bassman wrote:
make sure the files it's calling are in your theme folder and are called by the url <{$xoops_imageurl}>quicksub.css etc.


Thanks, pal, I had a feeling it was something like that.

Here's the href. How do I fix it.

RSS feed

4
Bassman
Re: Here's a neat tool, but...
  • 2005/1/21 2:19

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


Not quite, you have to fix the source in your theme:
Quote:




Note the <{$xoops_imageurl}> in the code.

You'll have to do the same in the head part of your theme for the CSS call.

5
council
Re: Here's a neat tool, but...
  • 2005/1/21 7:41

  • council

  • Not too shy to talk

  • Posts: 184

  • Since: 2004/12/18


Quote:

Bassman wrote:
Not quite, you have to fix the source in your theme:
Quote:




Note the <{$xoops_imageurl}> in the code.

You'll have to do the same in the head part of your theme for the CSS call.


You've lost me. Here are the steps from the quickSub site. How would you do the edits if you were using the XOOPS default theme?

Thanks --

How to use quickSub:

1. Paste the following CSS import in the head of your HTML page:



2. Paste the following two lines at the top of your HTML page's body:




3. In the link to your feed, include a call to quickSub(this, url) in the onmouseover, and timeqs() in the onmouseout:

e.g.
My feed

4. Upload your updated HTML page, along with quicksub.css and quicksub.js - and, voila - easy subscribing for your readers!

6
Bassman
Re: Here's a neat tool, but...
  • 2005/1/21 8:42

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


OK, i tried it in a default theme and it works. This is a copy of theme.html for XOOPS 2.0.5.2, but it worked on my 2.0.7.3 site:

Quote:













<{$xoops_sitename}> - <{$xoops_pagetitle}>





<{$xoops_module_header}>












My feed








<{if $xoops_showrblock == 1}>



<{/if}>




<{foreach item=block from=$xoops_lblocks}>
<{include file="default/theme_blockleft.html"}>
<{/foreach}>





<{if $xoops_showcblock == 1}>











<{foreach item=block from=$xoops_ccblocks}>
<{include file="default/theme_blockcenter_c.html"}>
<{/foreach}>





<{foreach item=block from=$xoops_clblocks}>
<{include file="default/theme_blockcenter_l.html"}>
<{/foreach}>





<{foreach item=block from=$xoops_crblocks}>
<{include file="default/theme_blockcenter_r.html"}>
<{/foreach}>




<{/if}>



<{$xoops_contents}>



<{foreach item=block from=$xoops_rblocks}>
<{include file="default/theme_blockright.html"}>
<{/foreach}>












As I said, this works OK. It puts the link just below the logo in the default theme, but you've already got that part working. Note the CSS link in the head, and the Javascript link in the body (just below the tag)

Hope this makes sense!

*edit* don't forget to put quicksub.css and quicksub.js in your default theme folder.

7
council
Re: Here's a neat tool, but...
  • 2005/1/21 15:54

  • council

  • Not too shy to talk

  • Posts: 184

  • Since: 2004/12/18


Hey, finally got it working -- thanks!

Pretty neat, huh?

R.

8
council
Re: Here's a neat tool, but...
  • 2005/1/21 16:29

  • council

  • Not too shy to talk

  • Posts: 184

  • Since: 2004/12/18


By the way, what exactly does this mean:


I suppose I should learn some php. Is there a XOOPS tutorial on this stuff or should I be looking at generic php tutorials?

R.

9
Bassman
Re: Here's a neat tool, but...
  • 2005/1/22 4:34

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


You got it working - cool.

<{$xoops_imageurl}> is a smarty tag, it just means you can put it in any theme (or module) and it will give you the direct path to the theme you're currently using. The idea is, you can make up a theme etc and it will work in any XOOPS installation.

I'm sure there's better ways of explaining it, have a look at the FAQ.

Login

Who's Online

192 user(s) are online (52 user(s) are browsing Support Forums)


Members: 0


Guests: 192


more...

Donat-O-Meter

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

Latest GitHub Commits