![]() |
OK, I see what you are talking about:
http://www.usandworldpolitics.com/fo...w.php?pg=test2 The only thing I don't get is that it says from "Forum 2." How can I can I change the Webtemplate code to get it to take data from the forums where people are actually posting and not "Forum 2?" Thank you. :) WEB |
Quote:
Quote:
Then find that query, click on edit, and in there towards the top there is a select query. You should be able to change the forums you want it to call from in there. I haven't got access to my ACP at the moment so that is all from memory. If you read the help guides it will also help you understand how webtemplates and web queries work together :) |
what forums do you want it to show from? or all of them?
|
Quote:
:) |
In my admin panel, I clicked on "WebQueries" and saw under option 3:
3- $WQ_last10threadfromforum2 Gets last 10 threads title/author/date from forum 2 [edit] [remove] I clicked on edit, here's what it says in the "Query" box: Quote:
Thanks WEB |
try this:
SELECT threadid, title, postusername,postuserid,dateline FROM " . TABLE_PREFIX . "thread WHERE sticky=0 AND visible=1 ORDER BY dateline DESC LIMIT 10 |
I think I got it figured out now. Thanks for your help.
One note I would like to make is that I got caught up for a while with one problem. That's basically that you can put in the webquery code (i.e. $WQ_last10thread ) into the webtemplate, however it will do nothing unless you also go into the admin cp and then go into the section "Logician's WebTemplates" then into the "WebTemplates" edit the templates that you want and CHECK OFF the queries that you want to enable in that template. I'll take a picture of it with my photoshop program to fully illustrate my meaning later. This is just something you probably want to tell noobs, like myself, as it did hold me up for a while. Thanks again. WEB |
Glad you got it sorted :)
Yes, you need to check the box for the WQs you want to use with that particular WT ;) |
here is a page i made
http://www.extremebodybuilding.net/f...php?pg=sponsor see how towards the bottom the Page Created at Today - 11:50 PM, Last Modified : Today - 11:56 PM. runs over the gradeint how can i take that part off of the page so it will quit doing that? |
Quote:
PHP Code:
|
All times are GMT. The time now is 06:48 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|