This forum is for assistance with theme development.

Views, Randomize and Pager

For a custom gallery, I use a custom view to retrieve all images. To give every image the same chance to be viewed, i use 'randomize' as the sorting function (actiually to unsort them).

The view uses the pager to distribute all images over several pages.

When I click on the 'next page'-link from the pager, the view is recreated and there are pictures that have already been show.

Is there a way to have some kind of 'persistent' randomize function? Like: randomize once and then you can click through all pages ....

how i can change the views themes

i face problem i change views themes >>>actually i read the doucumentation but some point stell ambegutey

plz help me

help wih tabbed primary/secondary links

I know this is merely aesthetic, but it's really bugging me now, and I know it SHOULD be possible. First off, thanks in advance for any advice. I've gotten some great help here getting this theme this far, and for that I am truly thankful. Now this one last piece. I cannot get the active primary link to stay highlighted when the secondary link is clicked. Example: www.lifeonilife.com. Under iMovie and iPhoto links are some secondary links which are showing and highlighted just as I want. What I want the primary link to do is stay highlighted also (in this case stay blue). Here is my page.tpl.php code:

<div id="navcontainer">
<ul>
					  <?php if (isset($primary_links)) { ?>
						<?php foreach ($primary_links as $link): ?>
						<li><?php print $link?></li>
						<?php endforeach; ?>
					  <?php } ?>
		<ul>		  
					  <?php if (isset($secondary_links)) { ?>
						<?php foreach ($secondary_links as $link): ?>
						<li><?php print $link?></li>
						<?php endforeach; ?>
					  <?php } ?>
		</ul>	
</ul>
</div>

Here is my css code:

/* Toolbar Styles */

#navcontainer {
margin-right: auto;
margin-left: auto;
width: 680px;
position: relative;
height: 10px;
font-size: 0.9em;
}
#navcontainer #active {
background: no-repeat url(images/button_over.png);
text-shadow: none;
}
#navcontainer .active {
background: no-repeat url(images/button_over.png);

How do I theme a custom CCK node view?

In CCK I've created a new content type called Artists, which allows me to enter details of artists we currently work with, or have worked with in the past. So far, it's defined as such:

How can I display node content based on today's date?

I've just realised that I posted this in the wrong Forum. I'd delete it if I could.

What I'm trying to do is display specific nodes (of which there are 31) on a page, based on the date. So far, I've got a date-specific link to the relevant node showing, by using this code (and changing the input type to php):

Conditional display of image based on taxonomy term

Hello kind folks,

I am trying to figure out how to display a different image in my content based on the taxonomy term for that node.

For example,

I have a node of type "product". This product can have one of several terms applied to it, such as "Small, Medium or Large". In addition, it can have a "color" term, like "red, yellow, or blue"

I want to display a "Small" graphic on the page if the term is "small", a "Medium" graphic on the page if the term is "medium" etc...

Additionally, I want to display a "red" graphic if the term is "red", etc....

Pages

Subscribe with RSS Subscribe to RSS - Theme development