1
turnerrw
Re: Front Page - Hide Block Decorations
  • 2012/10/18 17:26

  • turnerrw

  • Just popping in

  • Posts: 68

  • Since: 2003/12/1


I will try that method...thanks.

Since my code is basically an iframe reference, it occurs to me that I could put an if then loop in my theme.html file that only displays the iframe reference on the front page.

Is there an obvious way to determine when a user is viewing the front page only?



2
turnerrw
Front Page - Hide Block Decorations
  • 2012/10/18 16:29

  • turnerrw

  • Just popping in

  • Posts: 68

  • Since: 2003/12/1


I've just put a JQuery Slider on the front page of my website in a center column block.

This is an acceptable solution for the moment, but I'd like to find a way to display the slider at the top of the center column of only the front page WITHOUT the block decorations.

Any ideas on the best way to do this?

Thanks much.



3
turnerrw
Re: PHP Directory Script Integration
  • 2010/7/12 17:06

  • turnerrw

  • Just popping in

  • Posts: 68

  • Since: 2003/12/1


You know what this script needs is a way to check that the user has logged into XOOPS before downloading a file.

This works for directories, but not for files.

Anyone have ideas on how to make this modification?



4
turnerrw
Re: PHP Directory Script Integration
  • 2010/7/12 16:47

  • turnerrw

  • Just popping in

  • Posts: 68

  • Since: 2003/12/1


You have to add the columns you want displayed. I assumed that there were some defaults. Nice script.



5
turnerrw
Re: PHP Directory Script Integration
  • 2010/7/12 16:15

  • turnerrw

  • Just popping in

  • Posts: 68

  • Since: 2003/12/1


THe module installed with no issues, but it doesn't display the content. I put a folder with lots of content there and I see nothing. It does seem to be using its own style sheet though.



6
turnerrw
PHP Directory Script Integration
  • 2010/7/12 15:26

  • turnerrw

  • Just popping in

  • Posts: 68

  • Since: 2003/12/1


there is a directory script that I would like to include in my XOOPS site

http://www.evoluted.net/community/code/directorylisting.php

This site is a corporate Intranet and so I don't want to expose the full URL to the index.php that provides the directory listing.

Is there a way / module to do this? TinyContent works with HTML but not with this PHP.



7
turnerrw
Re: News RSS Feed "full"
  • 2010/4/30 0:13

  • turnerrw

  • Just popping in

  • Posts: 68

  • Since: 2003/12/1


Ghia - Thanks for your help.

Your last suggestion was exactly what was needed to create a "full" rss feed.

To add a linkback at the end of each story I added some code inside a CDATA callout in the system_rss.html template.

I should have thought of this sooner. Unfortunately, I'm not a professional coder and even after working with XOOPS for 6 years I'm still not completely up to speed on the architecture and which files you need to edit to get certain results.

Many thanks to the XOOPS Team/Project for creating a great platform! This site gets several million unique visitors per year, has 8,000 members and has over 12,000 articles in the stories table...and it runs flawlessly!

Cheers,
-Robert



8
turnerrw
Re: News RSS Feed "full"
  • 2010/4/29 16:51

  • turnerrw

  • Just popping in

  • Posts: 68

  • Since: 2003/12/1


You know, you're right and I pushed back on them re: the full RSS feed.

Now what I'd like to do is to add content to the bottom of the feed that includes two hyperlinks:

1) Read more ... that links to the article; and

2) Another link to the article that displays the full URL.

--

Now for the newbie question... "how do I do this?"

I've analyzed the backend.php script and my first guess is that I add code to this section:

foreach ($sarray as $story) {
            
$tpl->append('items', array('title' => xoops_utf8_encode(htmlspecialchars($story->title(), ENT_QUOTES)), 'link' => XOOPS_URL.'/modules/news/article.php?storyid='.$story->storyid(), 'guid' => XOOPS_URL.'/modules/news/article.php?storyid='.$story->storyid(), 'pubdate' => formatTimestamp($story->published(), 'rss'), 'description' => xoops_utf8_encode(htmlspecialchars($story->hometext(), ENT_QUOTES))));
        }


Am I correct. Is there another place I need to edit? I tried adding a reference to bodytext in this section with no luck.




9
turnerrw
News RSS Feed "full"
  • 2010/4/29 2:35

  • turnerrw

  • Just popping in

  • Posts: 68

  • Since: 2003/12/1


I have a syndication partner asking for a "full" RSS feed from my site. We publish news using the News module.

Is there an edit/hack or easy way to extend backend.php to include the bodytext field in addition to the hometext field in the RSS feed?

Cheers,
-Robert



10
turnerrw
Re: Admin Pages, Cache not working
  • 2009/6/30 1:50

  • turnerrw

  • Just popping in

  • Posts: 68

  • Since: 2003/12/1


BTW ... how did you know the server is using PHP4?




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



Login

Who's Online

164 user(s) are online (125 user(s) are browsing Support Forums)


Members: 0


Guests: 164


more...

Donat-O-Meter

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

Latest GitHub Commits