I honestly think this base_path thing is a disaster... I am seriously thinking about sticking with beta 4 until a solution is found, because it freaks beginner-coders like me out :-( Does anyone have a specific fix that works already? Including sites in sub folders? With existing static content? Written in a way that even *I* can understand? Please? :-( regards, Kobus
I believe Ber's suggestion was to manually re-add the base tag to your theme and just put in whatever value it should have. Poof, legacy links work again while new base_path() links ignore it. On Tuesday 07 March 2006 08:43, Kobus Myburgh wrote:
I honestly think this base_path thing is a disaster... I am seriously thinking about sticking with beta 4 until a solution is found, because it freaks beginner-coders like me out :-(
Does anyone have a specific fix that works already? Including sites in sub folders? With existing static content? Written in a way that even *I* can understand? Please? :-(
regards,
Kobus
-- Larry Garfield AIM: LOLG42 larry@garfieldtech.com ICQ: 6817012 "If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he keeps it to himself; but the moment it is divulged, it forces itself into the possession of every one, and the receiver cannot dispossess himself of it." -- Thomas Jefferson
Op woensdag 8 maart 2006 08:24, schreef Larry Garfield:
I believe Ber's suggestion was to manually re-add the base tag to your theme and just put in whatever value it should have. Poof, legacy links work again while new base_path() links ignore it.
Yes, that is my idea. I do that too, mostly because of legacy content, where internal links went boo-boo. But it so happened that suddenly my themes were all "fixed" too :) Think about url() calls in CSS (they broke), or statically called images/logos in a theme. etc. Bèr -- | Bèr Kessels | webschuur.com | website development | | Jabber & Google Talk: ber@jabber.webschuur.com | http://bler.webschuur.com | http://www.webschuur.com | Sympal draait nu voor het grootste deel al op 4.7: http://help.sympal.nl/sympal_draait_nu_voor_het_grootste_deel_al_op_4_7
2006. március 07, kedd 15.43 dátummal Kobus Myburgh ezt írta:
I honestly think this base_path thing is a disaster... I am seriously thinking about sticking with beta 4 until a solution is found, because it freaks beginner-coders like me out :-(
What's your problem exactly? In beta5 there's no base element in the <head>. Is that annoying you? If it is, just insert the old tag in your theme with drupal_set_head() . -- Aries
I honestly think this base_path thing is a disaster... I am seriously thinking about sticking with beta 4 until a solution is found, because it freaks beginner-coders like me out :-(
Sounds like you shouldn't be using the betas then.
The problem that I have is that when I add it as Ber suggested, all my static links don't work when my site is in a subfolder such as www.mydomain.com/mysite instead of at the root level, www.mydomain.com.
I fail to see how that is an issue - your base_url would change both times to the correct value. If your site is in www.mydomain.com, then your $base_url would be "http://www.mydomain.com". If your site was in a subdirectory, presumably you'd change the value of your settings.php file, and that'd turn your base_url into http://www.mydomain.com/sub. Where's the actual problem? What links, exactly, aren't working for you? Where is there an online demo so we can see what you're talking about? -- Morbus Iff ( i am the sexy alpha geek ) Technical: http://www.oreillynet.com/pub/au/779 Culture: http://www.disobey.com/ and http://www.gamegrene.com/ icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus
participants (5)
-
Bèr Kessels -
Fehér János -
Kobus Myburgh -
Larry Garfield -
Morbus Iff