Page 1 of 1

styling last_modified_pages tag

Posted: Tue Aug 29, 2006 9:19 pm
by jmcgin51
How can I style this tag?  The default styling doesn't work well with my site...

Also, is there any way to exclude non-active pages.  For example, if I have a few pages that are in draft form, but I haven't added them to the "public" site yet, I don't want the last_modified_pages tag to see those pages.  Can I hide them from the tag somehow?

Thanks
torn

Re: styling last_modified_pages tag

Posted: Tue Aug 29, 2006 9:50 pm
by jmcgin51
never mind on the styling issue - that one was easier than I thought...

how about ignoring inactive pages??  FWIW, I see that the function.last_modified_pages.php file includes the following code:

$query = "SELECT * FROM ".cms_db_prefix()."content WHERE active=1 ORDER BY modified_date DESC LIMIT 1,".$number;

and I'm assuming that the "WHERE active=1" statement is  intended to do exactly what I want.  BUT, I have an inactive page in my site that shows up when I use the last_modified_pages tag...

Re: styling last_modified_pages tag

Posted: Wed Aug 30, 2006 8:23 pm
by jmcgin51
Never mind - I'm a moron...  I DIDN'T have the page set to Inactive.  *@$$#*Q*@(!*!!!

Sorry for wasting everyone's time who read this and maybe devoted some thought to it...