ArticleTrader.com
  

 Main Menu

  Home
  Member Login
  Forum
  Submit Article
  RSS Feeds
  Contact Us
  About

 Services

  Article Distribution
  Link Building

 Tools

  ArticleMS
  Directory Tracker

 Categories

  Automotive
  Business
  Computers
  Entertainment
  Finance
  Food
  Health
  Home and Family
  Internet
  Legal
  Science
  Self Improvement
  Shopping
  Society
  Sports
  Technology
  Travel
  Writing





























 
Welcome! ( Login | Register )
» ArticleTrader Forums » ArticleMS » Support » Latest (other categories) dis...
Members Search Help

Pages: << prev 1 next >>
Latest (other categories) display..
This member is currently offline bannerman
Newbie


Member Level

Group: Members
Posts: 5
Joined: Today

Go to the bottom of the page Go to the top of the page

Hello there.

I have the Latest Articles display on my homepage which shows the last 5 from all categories, however i'd also like to display latest articles from certain categories below or on another part of my home page.

ie: Latest Articles All Categories

Article One
Article Two
Article Three
Article Four
Article Five


Specific Category Latest Articles
Article Two
Article Five

Another Specific Category
Article Three
Article Four

Can anybody help me with this?

Thanks.

Posted Aug 6, 2009, 10:46 am
This member is currently offline articlefinder
Member


Member Level

Group: Members
Posts: 41
Joined: Jun 21, 2007

Go to the bottom of the page Go to the top of the page

..create a new block with the same code as latest article!
in the php code of the new block you have to define the query for the articles
example:
$this->articles = $this->getArticles('article_category_id = (replace thiswith the ID of the category)','article_date DESC',5);

replace the text "(replace thiswith the ID of the category)" with the category you want (without quotes) to show.
In this example it will show 5 articles.

Greetings articlefinder

Last edited Aug 6, 2009, 11:53 am by articlefinder
Posted Aug 6, 2009, 11:52 am
This member is currently offline bannerman
Newbie


Member Level

Group: Members
Posts: 5
Joined: Today

Go to the bottom of the page Go to the top of the page

Excellent. Thank you for the quick response and the help. I understood it.

ANother question while i'm here... i have a search box on my homepage..but i'm not sure what it actually searches. Any ideas? Not keywords, tags, or general words. I cant work it out.

Posted Aug 6, 2009, 12:13 pm
This member is currently offline Anne Kirrin
Pool


Avatar

Member Level

Group: Moderators
Posts: 1,356
Joined: Apr 11, 2006

Go to the bottom of the page Go to the top of the page

articlefinder said:
..create a new block with the same code as latest article!
in the php code of the new block you have to define the query for the articles
example:
$this->articles = $this->getArticles('article_category_id = (replace thiswith the ID of the category)','article_date DESC',5);

replace the text "(replace thiswith the ID of the category)" with the category you want (without quotes) to show.
In this example it will show 5 articles.

Greetings articlefinder


You can find the category_id with PhpMyAdmin in the ams_categories table
.........................
Anne Kirrin is in Nepal for the month of November

ArticleMSSkins.net <<:::: New
Directory of Niche Article Sites <::::: Add your article site for free!!

Posted Aug 6, 2009, 12:16 pm
This member is currently offline Anne Kirrin
Pool


Avatar

Member Level

Group: Moderators
Posts: 1,356
Joined: Apr 11, 2006

Go to the bottom of the page Go to the top of the page

I have actually gotten rid of the default search function on most of my site and replaced it with Google search. ie outdoorsarticles.com

I don`t know how many articles you have in your database, but you need quite a few for the default search to work properly.
.........................
Anne Kirrin is in Nepal for the month of November

ArticleMSSkins.net <<:::: New
Directory of Niche Article Sites <::::: Add your article site for free!!

Posted Aug 6, 2009, 12:25 pm
This member is currently offline bannerman
Newbie


Member Level

Group: Members
Posts: 5
Joined: Today

Go to the bottom of the page Go to the top of the page

Excellent. Thank you.

One final thing. I can create articles, categories..etc that is all set up. However i try to create a few custom static pages and it doesnt work.  Nothing fancy about them.. it just seems that once i've put in what i want and the title..etc then it doesnt actually 'make' the page... any ideas? No error or anything, just nothing created.

Posted Aug 7, 2009, 7:46 am
This member is currently offline Anne Kirrin
Pool


Avatar

Member Level

Group: Moderators
Posts: 1,356
Joined: Apr 11, 2006

Go to the bottom of the page Go to the top of the page

did you click the little "page is active" box on the edit page?
.........................
Anne Kirrin is in Nepal for the month of November

ArticleMSSkins.net <<:::: New
Directory of Niche Article Sites <::::: Add your article site for free!!

Posted Aug 7, 2009, 11:59 am
This member is currently offline bannerman
Newbie


Member Level

Group: Members
Posts: 5
Joined: Today

Go to the bottom of the page Go to the top of the page

Yes.  I tried all combinations, incorporating with cms, custom page name, default page name, submitting, saving then submitting..etc..etc But nothing. It's a strange one.

Looking in mysql i can see that the record is formed..but as i dont use the usual menu i'm relying on (view) in the admin area..

http://www.mydomain.com/?page=about_us

That would be the correct URL?

Last edited Aug 8, 2009, 7:24 am by bannerman
Posted Aug 8, 2009, 7:18 am
This member is currently offline Anne Kirrin
Pool


Avatar

Member Level

Group: Moderators
Posts: 1,356
Joined: Apr 11, 2006

Go to the bottom of the page Go to the top of the page

on the "edit page" section of your admin, you will see an input field for the page URL at the top right. This would be the path to the page....YourSite.com/page.html

From your example though, it looks like you don't have the Mod-Rewrite in Settings set to yes
.........................
Anne Kirrin is in Nepal for the month of November

ArticleMSSkins.net <<:::: New
Directory of Niche Article Sites <::::: Add your article site for free!!

Posted Aug 10, 2009, 1:10 am
This member is currently offline bannerman
Newbie


Member Level

Group: Members
Posts: 5
Joined: Today

Go to the bottom of the page Go to the top of the page

I'm pretty sure my host doesnt allow Mod Rewrite.. however, where would i go about turning it on? I dont see an option under settings.  Why would i be able to create articles..etc but not pages, doesnt it use the same process? or are these generated pages actual hard copy .html pages rather than databased data..

Posted Aug 13, 2009, 6:20 am
This member is currently offline texasbiz
Newbie


Avatar

Member Level

Group: Members
Posts: 24
Joined: Today

Go to the bottom of the page Go to the top of the page

Anne Kirrin said:
I have actually gotten rid of the default search function on most of my site and replaced it with Google search. ie outdoorsarticles.com

I don`t know how many articles you have in your database, but you need quite a few for the default search to work properly.


Hi Anne.

I have taken your advice and replaced the default search with Google. My problem now is nothing is being indexed or found? Used the url to my install and also latest articles url when setting up Google search.

http://articles.mychoicedeals.com/

Do you have any advice that may help me getting the search working? Sure would appreciate it.

Also, looking for a thread/instructions on adding the number of articles in each category.

Thank in advance for your help.

Terry

.........................
------

My ArticleMS Site - Click Here

Need Quality Products That You Can Resell? Visit JettDigitals

Be Sure To Visit My Search Engine Also, Click Here

Posted Aug 13, 2009, 10:01 am
Pages:<< prev 1 next >>

Nov 22, 2009, 5:27 am

  

0.0268s