smoo
Forum Replies Created
-
Forum: Plugins
In reply to: [DukaPress] [Plugin: DukaPress] products page images:o)
And obviously we need to remember to backup the Dukapress stylesheet before upgrading..
Forum: Plugins
In reply to: [DukaPress] [Plugin: DukaPress] products page imagesI think this fix only applies to the dukapress stylesheet, in
/wp-content/plugins/dukapress/css/dpsc-basic.css
if you add that style to the main theme stylesheet it will probably be overwritten.Forum: Plugins
In reply to: [DukaPress] [Plugin: DukaPress] products page imagesJust realised that too, thanks so much.
I have another q about multiple prices, but will post that with an appropriate subject line!
Thanks again
-samForum: Plugins
In reply to: [DukaPress] [Plugin: DukaPress] products page imagesWoohoo!
Thanks for getting back :o)
So, that makes some sense, although I’ve set the Product Page Image Effect to ‘no effect’, so thought it would just show the large version;
here’s a page where it’s looking weird:
https://www.goldenfleecetrading.co.uk/products/skud-2/Is it something i could change using just CSS do you think?
-samForum: Plugins
In reply to: [DukaPress] [Plugin: DukaPress] products page imagesSorry, to clarify, it’s the individual product page where I’m experiencing this problem.
Forum: Plugins
In reply to: how to identify more than one page in using conditionalsBrilliant, thank you MichaelH!
Forum: Fixing WordPress
In reply to: Image/media uploader not working properlyHi esmi,
I’ve tried several, also deleted them via the media library and tried again. Also deleted the month folders via ftp and tried again. It created the same two month folders and put the images in the wrong one. Very odd.
Just tried again today and it’s putting the images in the /10 folder, but still the same thing is happening, -it’s not showing the formatting options.
I’ll try a complete re-install today. Maybe there was a glitch in the matrix or something when I installed the first time :o)
Forum: Fixing WordPress
In reply to: Media Library not working when uploading in WordPress 2.8.4Hi,
I’m also having a problem with this, and am pretty familiar with WordPress, having installed many versions on many different sites in the past.-I’m using WP 2.4.8,
-My wp-content folder has permissions set to 777,
-My uploads folder is set to ‘wp-content/uploads’ in the Miscellaneous settings section,
-‘Organize my uploads into month – and year- based folders’ is checked.Normally when I upload an image, it says ‘crunching’ for a moment, then the image thumbnail is displayed, with all the alignment/title/caption/insert into post options.
In this case, it just shows the image filename, no thumbnail, and a ‘show’ link that doesn’t work.
In the ‘Gallery’ or ‘Media Library’ tabs at the top, it’s the same thing: no tiny thumbnail on the left, and a ‘show’ link that doesn’t work.However, coming out of there completely and looking in the ‘media’ tab on the main WordPress leftnav, there’s my image. I can click on it and see a medium sized version, click on that and get the full sized one.
Going back to my page to try and insert that image from the page gallery or the media library still doesn’t work.
Here’s a possible clue though:
I have only uploaded an image into this install of WP today (Oct 1st) for the first time.Looking via ftp into wpcontent/uploads/2009/
there are 2 folders: /09 and /10The /09 folder contains my uploaded image (plus the scaled versions of 150×150 and 300×102 that wordpress creates when uploading).
The /10 folder contains nothing.I checked my timezone settings and they are set to UTC+1 (Correct for London UK, no?)
Not sure what else to check..
Can anyone offer any further suggestions?Thanks in advance
I’m having the same problem. After upgrading to WP 2.8.4 after dire warning messages about a security problem, now clicking on a thumbnail just brings up a never-ending progress bar.
Any help greatly appreciated
-smooForum: Fixing WordPress
In reply to: how to highlight current post?Wow, thanks so much!
Have just had to let it go with previous sites, but I’ll give that a go for the next one..Where are you at with your installation?
If it’s uploaded onto your webserver correctly, you should be able to go to:
https://www.yourdomain/wp-admin/install.php and follow the instructions there.(obviously, if you’ve installed it in a directory below the root, add that directory to the address..)
Forum: Fixing WordPress
In reply to: OHow to only list grandchildren when on their direct parent pageOk, I seem to have done it!
I’m sure there are more elegant ways of going about it, but as I’m not a fully fledged php coder, the following is the best I can do right now.So, to write out 3 separate levels of navigation as described above, you will need a different page template for each level.
(See here to create a custom page template if you’re not sure how to do this.)The first navigation list (here in a div called ‘mainnav’) is common to every page, and so I have included it at the bottom of header.php.
Pages at this first level will use the default page template ‘page.php’. (Note it’s asking to only show pages to a depth of 1):
<div id="mainnav"> <ul> <?php wp_list_pages('sort_column=menu_order&title_li=&depth=1'); ?> </ul> </div>
Next, any page that is a direct child of one of the ‘mainnav’ pages will use a new ‘page’ template, let’s call it page-2nd-nav.php.
This page will still call the header at the top, but will also have a second navigation list, here in a new div called ‘subnav’:
<?php if($post->post_parent) $children = wp_list_pages("title_li=&child_of=".$post->post_parent."&echo=0&depth=1"); else $children = wp_list_pages("title_li=&child_of=".$post->ID."&echo=0"); if ($children) { ?> <div id="subnav"> <ul> <?php echo $children; ?> </ul> </div> <?php } ?>
Then finally, for any page that is a child of a subnav page (or a grandchild of a mainnav page) use a third page template: page-3rd-nav.php
This page again calls header.php to write out the mainnav list, and includes the following code first to write out the subnav list, (note that it’s different code from the previous subnav list because we’re now another layer down):
<?php if($post->ancestors) { $ancestors = end($post->ancestors); $children = wp_list_pages("title_li=&child_of=".$ancestors."&echo=0&depth=1"); } if ($children) { ?> <div id="subnav"> <ul> <?php echo $children; ?> </ul> </div> <?php } ?>
Finally use the following code to write out the third navigation list:
if($post->post_parent) $children = wp_list_pages("title_li=&child_of=".$post->post_parent."&echo=0&depth=1"); else $children = wp_list_pages("title_li=&child_of=".$post->ID."&echo=0"); if ($children) { ?> <div id="tertiarynav"> <ul> <?php echo $children; ?> </ul> </div> <?php } ?>
As I said, probably not the most elegant solution, I’m sure someone could write something better, but it seems to be working for me.
Enjoy!
-smooForum: Fixing WordPress
In reply to: OHow to only list grandchildren when on their direct parent pageOk, have found the ‘offset’ parameter in
https://codex.www.ads-software.com/Template_Tags/wp_list_pages#List_subpages_even_if_on_a_subpage
but am unsure how to use wp_list_pages again to include it..
Can anyone help please?Thanks very much
Hi,
I have been looking for something very similar, or to tweak wordpress a bit to make it do that, and it’s been driving me mad for a couple of days…I don’t need the upload date etc, but wanted to display an icon, the caption & the description,
and I just found this:https://www.emmanuelgeorjon.com/en/eg-attachments-plugin-for-wordpress-1233/
It seems to do pretty much what I need, hope it works for you!
Forum: Fixing WordPress
In reply to: How to display description of uploaded mediaThank you both for your help,
I have just spent all day trying to make ‘get_children’ show the description and/or caption of a doc; I had a variety of interesting results and feel like I was tantalisingly close to something, but couldn’t quite get it to do what I wanted. Alas, my php skills are not quote up to it yet. Still, I learned a bit more, which is always useful.I tried wp-downloadmanager, but found it incredibly confusing and not very well documented. I finally figured out that it puts an icon in the ‘visual’ tab of TinyMCE (which I never use!) but even then, it created a link to a 404 rather than the doc I chose. Must be missing something, but lacking any further instruction on how to use it I gave up.
However, have just found this plugin:
https://www.emmanuelgeorjon.com/en/eg-attachments-plugin-for-wordpress-1233/
which seems to do exactly what I need!Will have a look at the functions and see if I was anywhere close with my efforts..
Thanks again for your time and help.