Jump to content

Underscore added


tooth-paste
 Share

Recommended Posts

6 minutes ago, Soma said:

$name = str_replace("_", "", $file->name);

 

Do you mean like this? It does not work.

$files = $pages->get("/portal/")->portal_file;
$name = str_replace("_", "", $file->name);
	foreach ($files as $file) {
		echo '<div class="row">
			<div class="col-md-12">
			<a href="'. $file->url .'">'. $name .'</a><br />
			</div>
			</div>';
}

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...