2012-02-29, 17:04:15
alienee2 Wrote:I'm using 3.1, and SP 0.8.1; but still no images in special wysiwyg; should i enable sitewide cookies even if i'm using 3.1?
I've no idea, unless your website base url in your settings is different then the URL you log in with (e.g. missing www.
alienee2 Wrote:the tags function is working to display the tags, but is there a way to not display the _special_news tag?
and is there a way to make the tags be links to the results of a search on that tag?
You can check and display anything with PHP ;-), approximately like that:
Code:
<?php
$tags = return_special_field('tags');
foreach ($tags as $tag) {
if (substr($tag,0,1) != '_') {
$link = find_url('your-search-page').'?tags='.urlencode($tag); // you might want to add the _special_xxx tag
echo '<a href="'.htmlspecialchars($link).'">'.htmlspecialchars($tag).'</a> ';
}
}
?>
alienee2 Wrote:one more thing - i want to display a list of recent news articles (special pages) in a sidebar, but i need to use a different layout to the one that is specified in the search display for the special page; so the news page shows a specific layout (title, meta, teaser image, teaser text, read more button etc..) but the sidebar list should only show the title and the date..
use the component parameter of I18N Search, see here.
alienee2 Wrote:thanks again for your help....this news template for special pages is going to be good when it's done, so i'll share that on the special pages templates topic..i'm also almost done with a discography template...
Great!