Two Custom Templates on same page...
PermalinkI need to use separate templates for both, but when it do, the two page lists keep overriding CSS styles from each other. How can I have it so both page lists are completely separate? Also, I have edited the View.php files to be slightly different, but they are also overriding.
Is there are way to rename the view.css file for each template?

Is there a way to rename the view.css file in each template?
the easiest way, would be to wrap each view.php in a div with a specific id - for example, in your first view.php you could have <div id="newslist1"> and in your second, <div id="newslist2">. And then, just using the one view.css, you can define rules for each, by referencing the id's - eg. #newsitem1 p { color: black; } and #newsitem2 p { color: blue; }.
Make sense?
Oh, and when I say "each view.php" obviously you only have one file called view.php, but in your templates/ folder, you can add files called newslist1.php and newslist2.php and then apply the relevant one by selecting the template on your block.
Jon
.newsflashcontain is now .newsflashcontain1 etc. I have also changed the class names in the view.php file as well. This works to prevent CSS overriding.
However, the view.php files are still overriding. I have added an AddThis section to the end of one news list. I don't want on the other news list. Not sure how I can make the view.php files independent of each other. I have tried wrapping them with different div id's (below) but it doesn't seem to work. When I wrap them in a different id, do I need to change the name of the file from view.php to someting else to make it work?
$bt->render('myTemplate');
Jon
If not, can you just list exactly what files you have inside /blocks/news_list/templates/ please??
Jon
I am having same issues..