68 Classifieds Forums

A Few questions. Are They Possible?

This is a discussion on A Few questions. Are They Possible? within the v4 Questions & Support forums, part of the Help & Support category; Sorry here's my Classifieds...


Go Back   68 Classifieds Forums > Help & Support > v4 Questions & Support

Reply
 
LinkBack Thread Tools Display Modes
  #11  
Old 07-14-2008, 03:31 PM
outlook's Avatar
Senior Member
 
Join Date: May 2008
Location: California
Posts: 120
Rep Power: 5
outlook is on a distinguished road
Default

Sorry here's my Classifieds
__________________
Ver.4 Designer
Reply With Quote
  #12  
Old 07-14-2008, 03:39 PM
Eric Barnes's Avatar
68 Classifieds Staff
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,305
Rep Power: 99
Eric Barnes is a jewel in the rough
Default

Try to replace your layout.tpl file with this one:
http://www.68classifieds.com/customerhelp/layout.txt

This creates a right column and no left column.
__________________
Eric Barnes
68 Classifieds Developer
Please do not send me a private message asking for support. Instead use these open forums or our ticket system.

Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | Twitter
Reply With Quote
  #13  
Old 07-14-2008, 03:58 PM
outlook's Avatar
Senior Member
 
Join Date: May 2008
Location: California
Posts: 120
Rep Power: 5
outlook is on a distinguished road
Default

Thanks for the swift reply. I'm sorry if there is a misunderstanding, but I want to keep the left column. I want to create an additional column on the right that will include the Member Nav, nav, and the feed info you provided.

Set-up something like:

[Categories|content | member nav]
[sponsor |content | navigation]
[sponsor |content | rss feed]

Thanks
__________________
Ver.4 Designer
Reply With Quote
  #14  
Old 07-14-2008, 04:13 PM
Eric Barnes's Avatar
68 Classifieds Staff
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,305
Rep Power: 99
Eric Barnes is a jewel in the rough
Default

Here is an updated version:
http://www.68classifieds.com/customerhelp/layout.txt

This has three columns like you want. Each one has a comment to specify where it goes.
__________________
Eric Barnes
68 Classifieds Developer
Please do not send me a private message asking for support. Instead use these open forums or our ticket system.

Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | Twitter
Reply With Quote
  #15  
Old 07-14-2008, 04:25 PM
outlook's Avatar
Senior Member
 
Join Date: May 2008
Location: California
Posts: 120
Rep Power: 5
outlook is on a distinguished road
Default

You're the man! I'll give it a go....
__________________
Ver.4 Designer
Reply With Quote
  #16  
Old 07-15-2008, 04:14 AM
outlook's Avatar
Senior Member
 
Join Date: May 2008
Location: California
Posts: 120
Rep Power: 5
outlook is on a distinguished road
Default

Thank you sooo much Suzkaw for the above. It wasn't quite what I wanted, but I was able to use it as a start to get me to what I needed.

Also, can you tell me how to create the below? I would like to add a "Quick Links" heading.

Quote:
Originally Posted by outlook View Post
5. If I add a new navigation heading, would I use the same coding language in the language file (ie. define("LANG_TPL_NAVIGATION", "Navigation"); and simply change "navigation" to whatever I want?

Thanks for any response.
Quote:
Originally Posted by suzkaw View Post
This is really left up to you. I would probably not use the language file for this as it will get overwritten during upgrades.
Thank you for all your help.
__________________
Ver.4 Designer
Reply With Quote
  #17  
Old 11-08-2008, 06:24 AM
bowers01's Avatar
Senior Member
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 579
Rep Power: 14
bowers01 is on a distinguished road
Default

Hi,
I am using the code Eric posted on the previous page.
It works fine but i cant limit how many display, the example you gave was a .php this is .aspx how can i limit it to 3 items?
Cheers,
Nick
__________________
Nick Bowers
68c v4.09 Developer
Reply With Quote
  #18  
Old 11-11-2008, 09:06 AM
Staff
 
Join Date: Mar 2006
Posts: 385
Rep Power: 19
Blair will become famous soon enough
Default

Quote:
Originally Posted by bowers01 View Post
Hi,
I am using the code Eric posted on the previous page.
It works fine but i cant limit how many display, the example you gave was a .php this is .aspx how can i limit it to 3 items?
Cheers,
Nick
Nick-

You can append the following to the 'external' address.
(For example: yoursite.com/external.php?type=new)

1. type
- new
- featured
- top
- dateadded (default)

2. cat
- the cat's slug
- the cat id may work

3. state
4. city
5. country
6. owner
7. searchtext
8. minprice
9. maxprice
10. limit

So, it sounds like you need to use 'limit' instead of 'count'.

Hope this helps.
__________________
Blair
68C Staff

68C Downloads | Report a Bug | Knowledge Base
Reply With Quote
  #19  
Old 11-11-2008, 07:16 PM
bowers01's Avatar
Senior Member
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 579
Rep Power: 14
bowers01 is on a distinguished road
Default

Hi,
Sorry i should have explained myself a bit better. I am not rrying to do it for my feed.
For example Coal Mining
How can i limit one of these?
Cheers

EDIT: in the index.php i have $url = 'http://www.truckworld.com.au/absolutenm/rss.aspx;
but if i have $url = 'http://www.truckworld.com.au/absolutenm/rss.aspx?limit=2'; nothing changes.
__________________
Nick Bowers
68c v4.09 Developer

Last edited by bowers01; 11-11-2008 at 07:23 PM.
Reply With Quote
  #20  
Old 11-12-2008, 12:47 AM
Eric Barnes's Avatar
68 Classifieds Staff
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,305
Rep Power: 99
Eric Barnes is a jewel in the rough
Default

You would limit it inside the foreach loop. For example:
PHP Code:
require_once(FILESYSTEM_PATH .'includes/classes/magpierss/rss_fetch.inc');
$url 'http://www.68classifieds.com/forums/external.php?forumids=2&fulldesc&count=3';
$rss fetch_rss($url);
$output='';
$i='';
$count=0;
foreach (
$rss->items as $item)
{
    if(
$count <= 2)
    {
        
$href $item['link'];
        
$href str_replace('&''&amp;'$href);
        
$data =    $item['pubdate'];
        
$btitle $item['title'];
        
$blog[$i]['link']= $href;
        
$blog[$i]['title'] = $btitle;
        
$output.="<strong><a href='".$href."' target='_blank'>".$btitle."</a></strong>";
        
$output.="<p>".$item['description']."</p>";
    }
    
$count++;
}
$class_tpl->assign('news'$output); 
__________________
Eric Barnes
68 Classifieds Developer
Please do not send me a private message asking for support. Instead use these open forums or our ticket system.

Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | Twitter
Reply With Quote
Reply

Bookmarks

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Some questions cwp v4 Questions & Support 7 02-27-2008 04:20 PM
More Pre Sales Questions Ken Pre Sales Questions 11 01-16-2008 07:50 PM
just a few questions before I buy the hosted version Unregistered Pre Sales Questions 4 07-18-2007 09:38 AM
Some Questions wel-usa v3.1 Questions & Support 15 06-25-2006 02:42 AM


All times are GMT -4. The time now is 01:26 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22