|
#31
|
||||
|
||||
|
Thanks for the time you spent for me
, now don't use your addons, but i subscribe to this TD when somthing go on i will be back.bye |
|
#32
|
|||
|
|||
|
Hi
Just wondering I am getting Post Slug Patch: NOT INSTALLED Post Slug Database: OK The primary addon install went ok. I can create slug title names. I manually patched my index.php. But I can not use the <addon tag>. From reading the post, it seems like i need to create a .htaccess file. Does anyone have an example. The ones I found on the web, I am not sure they are correct. Thanks for any all help, Yvonne
__________________
www.auntyvonne.com |
|
#33
|
||||
|
||||
|
Quote:
http://members.atlantic.net/~john195...beta_PATCH.zip (Make a backup of your current index.php file, and then upload my modified one to take its place.) If the patch was installed properly, you should then be able to access you photos via this url: index.php?photoslug=[your_photoslug_name] Quote:
Creating a .htaccess file is not necessary for the addon to work. Let me know if you have any other questions. :-)
__________________
Jay Williams | A Different View |
|
#34
|
|||
|
|||
|
Hi Jay,
The pre-made index.php worked!! Thank you. Just a quick question. If I wanted to create a permalink for the current page how would that be done? Thanks, Yvonne
__________________
www.auntyvonne.com |
|
#35
|
||||
|
||||
|
Quote:
By using .htaccess you can make permalinks just about anything you want. If you have a specific way you would like to do the permalinks, just post it and I'll see if I can help you.
__________________
Jay Williams | A Different View |
|
#36
|
|||
|
|||
|
Hi Jay,
When looking at your website the slug titles show up at load. This is not happening on my site. on opening it shows (I tried looking at your source code to see what you are doing that I am doing, but it did not jump out at me. http://auntyvonne.com/ Permalink Clicked. It shows: http://auntyvonne.com/index.php?showimage=79 Permalink Code: <a href="index.php?showimage=<IMAGE_ID>">Permalink</a> created this line because current image does not show up pervious http://auntyvonne.com/index.php?photoslug=yellow-beak permalink clicked it shows: http://auntyvonne.com/index.php?showimage=78 Next works the same way Current If the future I will be adding a current link. I am thinking of using this <a href="index.php" title="Current">Current</a> Is there a better way of doing this using slug? Side Note: I just installed the google-site map addon. It creates a site map with just the id. Do you think I could blend it with id and slug? Here is the code from that addon $query = mysql_query("SELECT id,datetime FROM ".$pixelpost_db_prefix."pixelpost WHERE (datetime<='$cdate') ORDER BY datetime desc "); while(list($id,$datetime) = mysql_fetch_row($query)) { $datetime = strtotime($datetime); $datetime =date("Y-m-d",$datetime); $output .= " <url> <loc>".$cfgrow['siteurl']."index.php?showimage=$id</loc> <---- this is where I am thinking I could add the slug? What do you think. Thanks You, Yvonne
__________________
www.auntyvonne.com |
|
#37
|
||||
|
||||
|
Quote:
Creating a .htaccess file in your pixelpost directory with this code should do the trick. Code:
RewriteEngine On # Post Slug Addon RewriteRule ^([a-z0-9-]+)$ index.php?photoslug=$1 HTML Code:
<span class="image-previous"><a href='<IMAGE_PREVIOUS_SLUG>'>Previous</a></span> <span class="image-next"><a href='<IMAGE_NEXT_SLUG>'>Next</a></span> If you want to do a post slug permalink, use code similar to this: HTML Code:
Permalink Code: <a href="index.php?photoslug=<IMAGE_SLUG>">Permalink</a> HTML Code:
[html]Permalink Code: <a href="<IMAGE_SLUG>">Permalink</a> Quote:
HTML Code:
<a href="/" title="Current">Current</a> I'm not currently using the Google maps addon, but this should work... PHP Code:
Hopefully that answers you questions. Feel free to post again if you need more assistance.
__________________
Jay Williams | A Different View |
|
#38
|
|||
|
|||
|
Hi Jay,
Thanks I will give a whirl. Y
__________________
www.auntyvonne.com |
|
#39
|
|||
|
|||
|
Hi Jay,
Sorry for the dumb basic questions which will follow. I am new to all this an well, making beginners mistakes. I created the .htaccess file and loaded but still seeing the index.php insted of the slug. What I learned so far from the web and have done... a) use notepad note wordpad b) confirmed chmod is 644 c) used ascii to upload d) placed in my root directory same spot as index.php Thinks not sure of... a) web said it will work only on apache. I am on a linux hosting. b) to i have to enable it or turn it on? Thanks for any and all help, Y
__________________
www.auntyvonne.com |
|
#40
|
||||
|
||||
|
Quote:
b) no, when the Apache finds the .htaccess code it will use it. Hope this helps.
__________________
My photoblog, powered by PixelPost 1.9 dev SVN | My Pixelpost Addons | My Cool Photoblog profile
|
| Post Reply |
| Thread Tools | |
|
|