When calling the as_url method or just using a tag we have like <%URL%> to link together subcategories, the returned URL is always the static version. How can we return the dynamic version if in dynamic mode or the static version if in static mode?
Sep 7, 2003, 11:18 PM
Veteran / Moderator (2199 posts)
Sep 7, 2003, 11:18 PM
Post #2 of 7
Views: 2735
The tag <%URL%> will always be the same, because this is the URL of the link in the database.
All links that are pointing to categories, detailed pages etc in you Links SQL directory are 'dynamic' (e.g. page.cgi?g=....) when you are in dynamic mode and 'static' (e.g. /Category/SubCategory/index.html) when you are in static mode.
You also need to make sure that you have set dynamic_pages to yes in Setup->Build Option if you want to use dynamic pages.
Ivan
-----
Iyengar Yoga Resources / GT Plugins
All links that are pointing to categories, detailed pages etc in you Links SQL directory are 'dynamic' (e.g. page.cgi?g=....) when you are in dynamic mode and 'static' (e.g. /Category/SubCategory/index.html) when you are in static mode.
You also need to make sure that you have set dynamic_pages to yes in Setup->Build Option if you want to use dynamic pages.
Ivan
-----
Iyengar Yoga Resources / GT Plugins
Sep 8, 2003, 7:45 AM
User (150 posts)
Sep 8, 2003, 7:45 AM
Post #3 of 7
Views: 2730
the reason I ask is that for example in subcategory.html you have the info to format a subcategory link. I use <%URL%> and it always appears as static. E.g. /category/index2.html
What would you use so that the subcategory link appears dynamic in dynamic and static in static?
What would you use so that the subcategory link appears dynamic in dynamic and static in static?
Sep 8, 2003, 9:14 AM
Veteran (1921 posts)
Sep 8, 2003, 9:14 AM
Post #6 of 7
Views: 2752
If you put in as the address in your browser
http://yourdomain/.../index2.html&d=1
you should see the subcategories as dynamic links - something like
http://yourdomain/...t/index.html&d=1
http://yourdomain/.../index2.html&d=1
you should see the subcategories as dynamic links - something like
http://yourdomain/...t/index.html&d=1
Sep 8, 2003, 9:34 AM
Veteran / Moderator (18436 posts)
Sep 8, 2003, 9:34 AM
Post #7 of 7
Views: 2721
Please see PM.
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!