sock2me
Forum Replies Created
-
Doh! Thank you!
Oh I’m so happy to hear someone else say that. I think wp e-commerce is HORRIBLE. I’m giving Cart66 a try now…and crossing my fingers….
Same here…would love to know if there is a solution forthcoming…
How did you do that – I too want to send folks to a custom public page…
Forum: Fixing WordPress
In reply to: Loop not pulling any data.Oh! I’m sorry… I didn’t realize. My apologies.
Just in case someone else ever uses Mazine theme with this plugin, here’s how I solved it: (with a lot of help from shauno!)
<li class="'.implode(' ', wp_get_object_terms($item->pid, 'ngg_tag', 'fields=names')).'" data-id="'.$elid.'"> <div class="gallery_series"><a title="'.stripslashes(nggGallery::i18n($item->alttext)).'" rel="group" href="'.nggcf_get_field($item->pid, 'custom link').'"><img src="'.$picture->thumbURL.'" alt="Hello World"/></a></div></li>';
The custom field guy has to go into the href as above (my field name is ‘custom link’). If you simply put that guy in a paragraph tag like shauno’s sample it just shows up below the image. I also had to replace the class that was connected to the javascript file running the effect – I replaced it with ‘gallery_series’ and gave it the styles it needed for my layout.
Hope this helps someone someday. Thanks again Shauno!
Thank you Shauno,
[Code moderated as per the Forum Rules. Please use the pastebin]I’ve also put it here in case this didn’t come through properly. Thanks again!
Shauno – I believe I’ve found the place where I’d need to make the modification – but I’m not sure what exactly I’d need to do. Can you assist? The code is below:
foreach($gal as $item){
$elid++;
picture = nggdb::find_image($item->pid);
$html .= ‘
<li class=”‘.implode(‘ ‘, wp_get_object_terms($item->pid, ‘ngg_tag’, ‘fields=names’)).'” data-id=”‘.$elid.'”><div class=”ic_container”>alttext)).'” rel=”group” href=”‘.$picture->imageURL.'”><img src=”‘.$picture->thumbURL.'” alt=”Hello World” />
<div class=”ic_caption”>
<h3>’.stripslashes(nggGallery::i18n($item->alttext)).'</h3>
<p class=”ic_text”>’.$item->description.'</p>
</div>
</div>’;Thank you
I want to post an FYI for those of you running the Mazine Theme – it’s integrated differently with NGG and the hack that’s been working for folks here, doesn’t work with that theme. Very frustrating. Somone who knows a lot of PHP might be able to get it working but I wasn’t. It turns out that Mazine is not using the gallery.php page, but on inside the admin folder in the theme called tiadmin.php.
Forum: Fixing WordPress
In reply to: Why does worpress add "sample-page" to my url?Ahhhhh!!!
I figured it out! And I feel like an idiot.
The parent page was called sample-page…. that’s where it was coming from.But this is a good lesson in “ALWAYS REMEMBER TO FIRST DEACTIVATE PLUGINS” – not that this would have made a difference but it got me looking at stuff differently.
Thank you so much Esmi!
I’ve got the widget in the sidebar and am having the same issue – did you fix?
Forum: Plugins
In reply to: [CataBlog] Edit item errorI’m getting the same error. It seems to happen when I change an attribute of a item in the Library (like assigning it a new order number or category). Other than that, it doesn’t show up. I hope we can figure this out, makes me a little nervous….
Forum: Fixing WordPress
In reply to: When logged in and viewing site grey admin bar blocks site menuOh Brilliant! Thanks Esmi!