tcervo
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Categories in a PHP includeZahra,
I’m not sure I understand what you’re trying to do…Is this page going to exist somewhere outside your normal blog? Perhaps using a different template?
You could put the following at the top of the page:
just under $blog = 1;
$cat = 2; // add this line
Not sure if that’s what you’re looking for, though…
-TonyForum: Plugins
In reply to: Amazon Books, Music and DVD display WP Hack/ModuleThat, too, sounds promising. I guess I’ll have to try both yours and David’s when they’re ready ??
Question: how does one enter the associate id? Would it be a global setting, or would it be entered each time along with the ASIN/ISBN?
Thanks,
TonyForum: Requests and Feedback
In reply to: Amazon APIDavid,
Ok, thanks. I think adding the product name/title as alt text would be helpful…for accessibility reasons. The title attribute is great for visual browsers, but alt is good for others.
I’d love to get a copy of this…
-TonyForum: Requests and Feedback
In reply to: Amazon APIDavid,
That looks pretty nice, but I have a few ?’s:
1) Is there an easy option for including alt text for the images? I noticed all your amazon images have alt=”
2) Not sure why you’re coding your images as <img src=…></img> instead of <img src=… /> Just wondering…probably an easy fix.
3) I think I know the answer to this, but just want to confirm: can you pass the ASIN(s) as a parameter, or is it hard coded into the function?
This looks like something I would be interested for my upcoming Movies section. I’ve experimented with simply plugging the ASIN into the dynamic link code from Amazon’s “build a link” section. It works ok, but there’s no caching or anything. It fetches the info on every page view. Basically I just created a snippet of sorts and change the ASIN as needed for each product:
<iframe marginwidth=”0″ marginheight=”0″ width=”120″ height=”240″ scrolling=”no” frameborder=”0″ src=”https://rcm.amazon.com/e/cm?o=1&l=as1&f=ifr&t=tcervocom-20&p=8&asins=B00005JKQZ&IS2=1<1=_blank”></iframe>
Not as slick as yours, but it works ??
-Tony
I insertForum: Everything else WordPress
In reply to: IE SpellI’m having the same issue. I installed the first plugin you linked, shut down, restarted, then installed the second…shut down/restarted again. I just get the hourglass…I’ll try re-installing over the top of the existing plugins to see what happens.
Forum: Themes and Templates
In reply to: interesting question about CSSYes, the scrollbars work in Moz/Firefox. Check out “gemination” at CSSzengarden:
https://www.csszengarden.com/?cssfile=062%2F062%2Ecss
In fact, browsing through *all* the examples in csszengarden, and looking at how they built their css files, is a great way to learn. I know that several of the designs have scrollbars, but the only one that immediately comes to mind in gemination (note: it only has the scrollbars in non-IE browsers – it’s a great example of using clever css to have one file serve up 2 *very* different sites. Check it out in IE, then again in Mozilla/Firefox, Opera, Safari, etc.)Forum: Plugins
In reply to: WordPress WapMozilla and Firebird have a WML plugin (only 13k) at https://wmlbrowser.mozdev.org/
Forum: Everything else WordPress
In reply to: YAWPS – My second official WordPress site! – contiLL,
Ok, I’ll play around with that and see if I can get something looking good for the category descriptions. I have nice-titles up and running on my other site, just haven’t got around to adding in on the new one yet.
As for an ethnic section: I have tons of other categories, just haven’t put any recipes in yet. I’ve got a whole box full, so there’ll be more every week. I’m planning to add an email link for submitting new recipes. The caveat is I have to try them first ?? In the meantime, you can send suggestions to: recipes at cantboilwater dot com.
-TonyForum: Fixing WordPress
In reply to: CGI error when trying to search for a non-existentWell, that’s coming, but since I’ve hacked so many of the core files on this particular installation, it’s not as easy as it sounds…I have to make sure I don’t break anything.
However, I haven’t made any functionality changes to this site in a while…just been adding posts. So, it’s bizarre that the search function would all of a sudden break. I’m hoping someone could tell me which files the search function uses, so I can look in there and see if something is amiss.
-TonyForum: Everything else WordPress
In reply to: YAWPS – My second official WordPress site!Oooops, that was me. Forgot to log in.
Forum: Everything else WordPress
In reply to: YAWPS – My second official WordPress site!NM and TG, Thanks for the kudos. I’m interested to hear what people think of how it’s organized…
I struggled for a while trying to figure out how to get categories not to show up as links (just the sub-cats), but I’ve worn that topic out here on the forums ??
So, I just used link categories instead. Did you notice? I’m not even calling any of the cat functions at all…I’ve also re-written the rest of index.php, and incorporated a very abbreviated version of the nicer archives hack, so that when you click a link (sort of a fake sub-cat link), you get the post name and excerpt as an unordered list. If nothing is called as a URL parameter (no p=, cat=, m=, or s=), then you get the “Welcome” message, which is basically the end of an if-then-else. It’s pretty easy, and works well.
For this type of application, I think this works great. It would be nice to be able to pass a parameter to one of the cat functions, instead of having to double up and use link cats, but that’s ok…small price to pay.
-TonyForum: Everything else WordPress
In reply to: YAWPS – My second official WordPress site!I’m starting with recipes I use on a regular basis myself. I’ve got a recipe box full of ’em…I’m always adding new ones, so if you have a good one send it my way: if I like it I’ll add it to the site along with a reference!
-TonyForum: Everything else WordPress
In reply to: justa hello and thank you:)Welcome…have fun!
Forum: Installing WordPress
In reply to: 02-07 Nightly Build – clean installpezastic,
After running upgrade.php and getting error…have you checked to see if it actually worked anyway? I got a bunch of errors also (don’t remember what they were), but they didn’t seem to have any affect…The site is working with 1.1-beta…Forum: Fixing WordPress
In reply to: Probs with comments_popup_link in 1.1-beta?Podz,
Ok, thanks…I’ll try a newer nightly and see if that solves the problem.
-Tony