styling last_modified_pages tag

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

styling last_modified_pages tag

Post 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
Last edited by jmcgin51 on Tue Aug 29, 2006 9:28 pm, edited 1 time in total.
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: styling last_modified_pages tag

Post 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...
Last edited by jmcgin51 on Tue Aug 29, 2006 11:27 pm, edited 1 time in total.
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: styling last_modified_pages tag

Post 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...
Post Reply

Return to “CMSMS Core”